DATA
- The type of the data objects.public static class PromotionFunctions.RandomPromotion<DATA> extends Object implements PromotionFunction<DATA>
Constructor and Description |
---|
PromotionFunctions.RandomPromotion() |
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 © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.