de.lmu.ifi.dbs.elki.distance.distancefunction.subspace
Class HiSCDistanceFunction<V extends NumberVector<?,?>>

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<V,HiSCPreferenceVectorIndex<V>>
              extended by de.lmu.ifi.dbs.elki.distance.distancefunction.subspace.HiSCDistanceFunction<V>
Type Parameters:
V - the type of NumberVector to compute the distances in between
All Implemented Interfaces:
DistanceFunction<V,PreferenceVectorBasedCorrelationDistance>, IndexBasedDistanceFunction<V,PreferenceVectorBasedCorrelationDistance>, InspectionUtilFrequentlyScanned, Parameterizable

public class HiSCDistanceFunction<V extends NumberVector<?,?>>
extends AbstractPreferenceVectorBasedCorrelationDistanceFunction<V,HiSCPreferenceVectorIndex<V>>

Distance function used in the HiSC algorithm.


Nested Class Summary
static class HiSCDistanceFunction.Instance<V extends NumberVector<?,?>>
          The actual instance bound to a particular database.
static class HiSCDistanceFunction.Parameterizer<V extends NumberVector<?,?>>
          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
HiSCDistanceFunction(HiSCPreferenceVectorIndex.Factory<V> indexFactory, double epsilon)
          Constructor.
 
Method Summary
<T extends V>
HiSCDistanceFunction.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

HiSCDistanceFunction

public HiSCDistanceFunction(HiSCPreferenceVectorIndex.Factory<V> indexFactory,
                            double epsilon)
Constructor.

Parameters:
indexFactory -
epsilon -
Method Detail

instantiate

public <T extends V> HiSCDistanceFunction.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.

Release 0.4.0 (2011-09-20_1324)