Interface IPromotionFunction<T>
- Type Parameters:
T
- The type of the data objects.
- All Known Implementing Classes:
RandomPromotionFunction
public interface IPromotionFunction<T>
An object that chooses a pair from a set of data objects.
- Since:
- 2.0.0
- Author:
- Eduardo R. D'Avila
-
Method Details
-
process
Chooses (promotes) a pair of objects according to some criteria that is suitable for the application using the M-Tree.- Parameters:
dataSet
- The set of objects to choose a pair from.distanceFunction
- A function that can be used for choosing the promoted objects.- Returns:
- A pair of chosen objects.
-