
public class DiSHDistanceFunction extends AbstractPreferenceVectorBasedCorrelationDistanceFunction<NumberVector<?>,DiSHPreferenceVectorIndex<NumberVector<?>>>
| Modifier and Type | Class and Description | 
|---|---|
| static class  | DiSHDistanceFunction.Instance<V extends NumberVector<?>>The actual instance bound to a particular database. | 
| static class  | DiSHDistanceFunction.ParameterizerParameterization class. | 
| Modifier and Type | Field and Description | 
|---|---|
| private static Logging | LOGLogger for debug. | 
EPSILON_IDindexFactoryINDEX_ID| Constructor and Description | 
|---|
| DiSHDistanceFunction(DiSHPreferenceVectorIndex.Factory<NumberVector<?>> indexFactory,
                    double epsilon)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getMinpts()Get the minpts value. | 
| <T extends NumberVector<?>>  | instantiate(Relation<T> database)Instantiate with a database to get the actual distance query. | 
equals, getDistanceFactory, getEpsilongetInputTypeRestriction, isMetric, isSymmetricprivate static final Logging LOG
public DiSHDistanceFunction(DiSHPreferenceVectorIndex.Factory<NumberVector<?>> indexFactory, double epsilon)
indexFactory - DiSH index factoryepsilon - Epsilon valuepublic <T extends NumberVector<?>> DiSHDistanceFunction.Instance<T> instantiate(Relation<T> database)
DistanceFunctiondatabase - The representation to usepublic int getMinpts()