de.lmu.ifi.dbs.elki.distance.distancefunction.subspace
Class DiSHDistanceFunction

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.distance.distancefunction.AbstractDatabaseDistanceFunction<O,D>
      extended by de.lmu.ifi.dbs.elki.distance.distancefunction.AbstractIndexBasedDistanceFunction<V,P,PreferenceVectorBasedCorrelationDistance>
          extended by de.lmu.ifi.dbs.elki.distance.distancefunction.subspace.AbstractPreferenceVectorBasedCorrelationDistanceFunction<NumberVector<?,?>,DiSHPreferenceVectorIndex<NumberVector<?,?>>>
              extended by 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.


Nested Class Summary
static class DiSHDistanceFunction.Instance<V extends NumberVector<?,?>>
          The actual instance bound to a particular database.
static class DiSHDistanceFunction.Parameterizer
          Parameterization class.
 
Field Summary
(package private) static Logging logger
          Logger for debug.
 
Fields inherited from class de.lmu.ifi.dbs.elki.distance.distancefunction.subspace.AbstractPreferenceVectorBasedCorrelationDistanceFunction
EPSILON_ID
 
Fields inherited from class de.lmu.ifi.dbs.elki.distance.distancefunction.AbstractIndexBasedDistanceFunction
indexFactory
 
Fields inherited from interface de.lmu.ifi.dbs.elki.distance.distancefunction.IndexBasedDistanceFunction
INDEX_ID
 
Constructor Summary
DiSHDistanceFunction(DiSHPreferenceVectorIndex.Factory<NumberVector<?,?>> indexFactory, double epsilon)
          Constructor.
 
Method Summary
 int getMinpts()
          Get the minpts value.
<T extends NumberVector<?,?>>
DiSHDistanceFunction.Instance<T>
instantiate(Relation<T> database)
          Instantiate with a database to get the actual distance query.
 
Methods inherited from class de.lmu.ifi.dbs.elki.distance.distancefunction.subspace.AbstractPreferenceVectorBasedCorrelationDistanceFunction
equals, getDistanceFactory, getEpsilon
 
Methods inherited from class de.lmu.ifi.dbs.elki.distance.distancefunction.AbstractIndexBasedDistanceFunction
getInputTypeRestriction, isMetric, isSymmetric
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

static Logging logger
Logger for debug.

Constructor Detail

DiSHDistanceFunction

public DiSHDistanceFunction(DiSHPreferenceVectorIndex.Factory<NumberVector<?,?>> indexFactory,
                            double epsilon)
Constructor.

Parameters:
indexFactory -
epsilon -
Method Detail

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

Release 0.4.0 (2011-09-20_1324)