Class ComposedSplitFunction<DATA>
- java.lang.Object
-
- moa.clusterers.outliers.utils.mtree.ComposedSplitFunction<DATA>
-
- Type Parameters:
DATA
- The type of the data objects.
- All Implemented Interfaces:
SplitFunction<DATA>
public class ComposedSplitFunction<DATA> extends Object implements SplitFunction<DATA>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface moa.clusterers.outliers.utils.mtree.SplitFunction
SplitFunction.SplitResult<DATA>
-
-
Constructor Summary
Constructors Constructor Description ComposedSplitFunction(PromotionFunction<DATA> promotionFunction, PartitionFunction<DATA> partitionFunction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SplitFunction.SplitResult<DATA>
process(Set<DATA> dataSet, DistanceFunction<? super DATA> distanceFunction)
Processes the splitting of a node.
-
-
-
Constructor Detail
-
ComposedSplitFunction
public ComposedSplitFunction(PromotionFunction<DATA> promotionFunction, PartitionFunction<DATA> partitionFunction)
-
-
Method Detail
-
process
public SplitFunction.SplitResult<DATA> process(Set<DATA> dataSet, DistanceFunction<? super DATA> distanceFunction)
Description copied from interface:SplitFunction
Processes the splitting of a node.- Specified by:
process
in interfaceSplitFunction<DATA>
- Parameters:
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.- Returns:
- A
SplitFunction.SplitResult
object with a pair of promoted data objects and a pair of corresponding partitions of the data objects.
-
-