Class ComposedSplitFunction<T>
java.lang.Object
kieker.analysis.generic.clustering.mtree.ComposedSplitFunction<T>
- Type Parameters:
T
- The type of the data objects.
- All Implemented Interfaces:
ISplitFunction<T>
public class ComposedSplitFunction<T> extends java.lang.Object implements ISplitFunction<T>
- Since:
- 2.0.0
- Author:
- Eduardo R. D'Avila
-
Nested Class Summary
Nested classes/interfaces inherited from interface kieker.analysis.generic.clustering.mtree.ISplitFunction
ISplitFunction.SplitResult<R>
-
Constructor Summary
Constructors Constructor Description ComposedSplitFunction(IPromotionFunction<T> promotionFunction, IPartitionFunction<T> partitionFunction)
-
Method Summary
Modifier and Type Method Description ISplitFunction.SplitResult<T>
process(java.util.Set<T> dataSet, IDistanceFunction<? super T> distanceFunction)
Processes the splitting of a node.
-
Constructor Details
-
ComposedSplitFunction
public ComposedSplitFunction(IPromotionFunction<T> promotionFunction, IPartitionFunction<T> partitionFunction)- Parameters:
promotionFunction
- promotion functionpartitionFunction
- partition function
-
-
Method Details
-
process
public ISplitFunction.SplitResult<T> process(java.util.Set<T> dataSet, IDistanceFunction<? super T> distanceFunction)Description copied from interface:ISplitFunction
Processes the splitting of a node.- Specified by:
process
in interfaceISplitFunction<T>
- 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
ISplitFunction.SplitResult
object with a pair of promoted data objects and a pair of corresponding partitions of the data objects.
-