de.lmu.ifi.dbs.elki.distance.distancefunction.subspace
Class HiSCDistanceFunction<V extends NumberVector<?,?>>
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<V,HiSCPreferenceVectorIndex<V>>
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.
Field Summary |
(package private) static Logging |
logger
Logger for debug. |
Method Summary |
|
instantiate(Relation<T> database)
Instantiate with a database to get the actual distance query. |
logger
static Logging logger
- Logger for debug.
HiSCDistanceFunction
public HiSCDistanceFunction(HiSCPreferenceVectorIndex.Factory<V> indexFactory,
double epsilon)
- Constructor.
- Parameters:
indexFactory
- epsilon
-
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.