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.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
(package private) static Logging |
logger
Logger for debug.
|
EPSILON_ID
indexFactory
INDEX_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, getEpsilon
getInputTypeRestriction, isMetric, isSymmetric
static Logging logger
public DiSHDistanceFunction(DiSHPreferenceVectorIndex.Factory<NumberVector<?,?>> indexFactory, double epsilon)
indexFactory
- epsilon
- public <T extends NumberVector<?,?>> DiSHDistanceFunction.Instance<T> instantiate(Relation<T> database)
DistanceFunction
database
- The representation to usepublic int getMinpts()