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 |
---|---|
(package private) static Logging |
logger
Logger for debug.
|
EPSILON_ID
indexFactory
INDEX_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, getEpsilon
getInputTypeRestriction, isMetric, isSymmetric
static Logging logger
public HiSCDistanceFunction(HiSCPreferenceVectorIndex.Factory<V> indexFactory, double epsilon)
indexFactory
- epsilon
- public <T extends V> HiSCDistanceFunction.Instance<T> instantiate(Relation<T> database)
DistanceFunction
database
- The representation to use