de.lmu.ifi.dbs.elki.distance.distancefunction.subspace
Class HiSCDistanceFunction<V extends NumberVector<V,?>,P extends PreferenceVectorPreprocessor<V>>
java.lang.Object
de.lmu.ifi.dbs.elki.logging.AbstractLoggable
de.lmu.ifi.dbs.elki.distance.AbstractMeasurementFunction<O,D>
de.lmu.ifi.dbs.elki.distance.distancefunction.AbstractDistanceFunction<O,D>
de.lmu.ifi.dbs.elki.distance.distancefunction.AbstractPreprocessorBasedDistanceFunction<V,P,D>
de.lmu.ifi.dbs.elki.distance.distancefunction.correlation.AbstractCorrelationDistanceFunction<V,P,PreferenceVectorBasedCorrelationDistance>
de.lmu.ifi.dbs.elki.distance.distancefunction.subspace.AbstractPreferenceVectorBasedCorrelationDistanceFunction<V,P>
de.lmu.ifi.dbs.elki.distance.distancefunction.subspace.HiSCDistanceFunction<V,P>
- Type Parameters:
V
- the type of NumberVector to compute the distances in betweenP
- the type of Preprocessor used
- All Implemented Interfaces:
- DistanceFunction<V,PreferenceVectorBasedCorrelationDistance>, PreprocessorBasedDistanceFunction<V,P,PreferenceVectorBasedCorrelationDistance>, MeasurementFunction<V,PreferenceVectorBasedCorrelationDistance>, PreprocessorBasedMeasurementFunction<V,P,PreferenceVectorBasedCorrelationDistance>, PreprocessorClient<P,V>, Parameterizable
public class HiSCDistanceFunction<V extends NumberVector<V,?>,P extends PreferenceVectorPreprocessor<V>>
- extends AbstractPreferenceVectorBasedCorrelationDistanceFunction<V,P>
Distance function used in the HiSC algorithm.
- Author:
- Elke Achtert
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HiSCDistanceFunction
public HiSCDistanceFunction(Parameterization config)
- Constructor.
- Parameters:
config
- Configuration
correlationDistance
public PreferenceVectorBasedCorrelationDistance correlationDistance(V v1,
V v2,
BitSet pv1,
BitSet pv2)
- Computes the correlation distance between the two specified vectors
according to the specified preference vectors.
- Specified by:
correlationDistance
in class AbstractPreferenceVectorBasedCorrelationDistanceFunction<V extends NumberVector<V,?>,P extends PreferenceVectorPreprocessor<V>>
- Parameters:
v1
- first vectorv2
- second vectorpv1
- the first preference vectorpv2
- the second preference vector
- Returns:
- the correlation distance between the two specified vectors
getDefaultPreprocessorClass
public Class<?> getDefaultPreprocessorClass()
- Description copied from interface:
PreprocessorClient
- Returns the name of the default preprocessor.
- Returns:
- the name of the default preprocessor, which is
HiSCPreprocessor