DATA
- The type of the data objects.public interface SplitFunction<DATA>
The splitting consists in choosing a pair of "promoted" data objects from the children and then partition the set of children in two partitions corresponding to the two promoted data objects.
Modifier and Type | Interface and Description |
---|---|
static class |
SplitFunction.SplitResult<DATA>
An object used as the result for the
process(Set, DistanceFunction) method. |
Modifier and Type | Method and Description |
---|---|
SplitFunction.SplitResult<DATA> |
process(Set<DATA> dataSet,
DistanceFunction<? super DATA> distanceFunction)
Processes the splitting of a node.
|
SplitFunction.SplitResult<DATA> process(Set<DATA> dataSet, DistanceFunction<? super DATA> distanceFunction)
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.