de.lmu.ifi.dbs.elki.distance.distancefunction.subspace
Class DiSHDistanceFunction
java.lang.Object
de.lmu.ifi.dbs.elki.distance.distancefunction.AbstractDatabaseDistanceFunction<O,D>
de.lmu.ifi.dbs.elki.distance.distancefunction.AbstractIndexBasedDistanceFunction<V,P,PreferenceVectorBasedCorrelationDistance>
de.lmu.ifi.dbs.elki.distance.distancefunction.subspace.AbstractPreferenceVectorBasedCorrelationDistanceFunction<NumberVector<?,?>,DiSHPreferenceVectorIndex<NumberVector<?,?>>>
de.lmu.ifi.dbs.elki.distance.distancefunction.subspace.DiSHDistanceFunction
- All Implemented Interfaces:
- DistanceFunction<NumberVector<?,?>,PreferenceVectorBasedCorrelationDistance>, IndexBasedDistanceFunction<NumberVector<?,?>,PreferenceVectorBasedCorrelationDistance>, InspectionUtilFrequentlyScanned, Parameterizable
public class DiSHDistanceFunction
- extends AbstractPreferenceVectorBasedCorrelationDistanceFunction<NumberVector<?,?>,DiSHPreferenceVectorIndex<NumberVector<?,?>>>
Distance function used in the DiSH algorithm.
Field Summary |
(package private) static Logging |
logger
Logger for debug. |
Method Summary |
int |
getMinpts()
Get the minpts value. |
|
instantiate(Relation<T> database)
Instantiate with a database to get the actual distance query. |
logger
static Logging logger
- Logger for debug.
DiSHDistanceFunction
public DiSHDistanceFunction(DiSHPreferenceVectorIndex.Factory<NumberVector<?,?>> indexFactory,
double epsilon)
- Constructor.
- Parameters:
indexFactory
- epsilon
-
instantiate
public <T extends NumberVector<?,?>> DiSHDistanceFunction.Instance<T> instantiate(Relation<T> database)
- Description copied from interface:
DistanceFunction
- Instantiate with a database to get the actual distance query.
- Parameters:
database
- The representation to use
- Returns:
- Actual distance query.
getMinpts
public int getMinpts()
- Get the minpts value.
- Returns:
- the minpts parameter