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 |
---|---|
private static Logging |
LOG
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
private 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)
DistanceFunction
database
- The representation to usepublic int getMinpts()