
V - the type of NumberVector to compute the distances in betweenpublic class HiSCDistanceFunction<V extends NumberVector<?>> extends AbstractPreferenceVectorBasedCorrelationDistanceFunction<V,HiSCPreferenceVectorIndex<V>>
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
HiSCDistanceFunction.Instance<V extends NumberVector<?>>
The actual instance bound to a particular database. 
 | 
static class  | 
HiSCDistanceFunction.Parameterizer<V extends NumberVector<?>>
Parameterization class. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
private static Logging | 
LOG
Logger for debug. 
 | 
EPSILON_IDindexFactoryINDEX_ID| Constructor and Description | 
|---|
HiSCDistanceFunction(HiSCPreferenceVectorIndex.Factory<V> indexFactory,
                    double epsilon)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
<T extends V>  | 
instantiate(Relation<T> database)
Instantiate with a database to get the actual distance query. 
 | 
equals, getDistanceFactory, getEpsilongetInputTypeRestriction, isMetric, isSymmetricprivate static final Logging LOG
public HiSCDistanceFunction(HiSCPreferenceVectorIndex.Factory<V> indexFactory, double epsilon)
indexFactory - HiSC index factoryepsilon - Epsilon valuepublic <T extends V> HiSCDistanceFunction.Instance<T> instantiate(Relation<T> database)
DistanceFunctiondatabase - The representation to use