DATA - The type of the data objects.public class ComposedSplitFunction<DATA> extends Object implements SplitFunction<DATA>
SplitFunction.SplitResult<DATA>| Constructor and Description |
|---|
ComposedSplitFunction(PromotionFunction<DATA> promotionFunction,
PartitionFunction<DATA> partitionFunction)
|
| Modifier and Type | Method and Description |
|---|---|
SplitFunction.SplitResult<DATA> |
process(Set<DATA> dataSet,
DistanceFunction<? super DATA> distanceFunction)
Processes the splitting of a node.
|
public ComposedSplitFunction(PromotionFunction<DATA> promotionFunction, PartitionFunction<DATA> partitionFunction)
public SplitFunction.SplitResult<DATA> process(Set<DATA> dataSet, DistanceFunction<? super DATA> distanceFunction)
SplitFunctionprocess in interface SplitFunction<DATA>dataSet - A set of data that are keys to the children of the node
to be split.distanceFunction - A distance function
that can be used to help splitting the node.SplitFunction.SplitResult object with a pair of promoted data objects
and a pair of corresponding partitions of the data objects.Copyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.