DATA
- The type of the data objects.public static class PromotionFunctions.RandomPromotion<DATA> extends Object implements PromotionFunction<DATA>
Constructor and Description |
---|
RandomPromotion() |
Modifier and Type | Method and Description |
---|---|
Pair<DATA> |
process(Set<DATA> dataSet,
DistanceFunction<? super DATA> distanceFunction)
Chooses (promotes) a pair of objects according to some criteria that is
suitable for the application using the M-Tree.
|
public Pair<DATA> process(Set<DATA> dataSet, DistanceFunction<? super DATA> distanceFunction)
PromotionFunction
process
in interface PromotionFunction<DATA>
dataSet
- The set of objects to choose a pair from.distanceFunction
- A function that can be used for choosing the
promoted objects.Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.