DATA
- The type of the data objects.PromotionFunction<DATA>
public static class PromotionFunctions.RandomPromotion<DATA> extends java.lang.Object implements PromotionFunction<DATA>
Constructor | Description |
---|---|
RandomPromotion() |
Modifier and Type | Method | Description |
---|---|---|
Pair<DATA> |
process(java.util.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(java.util.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.