Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

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

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.logging.AbstractLoggable
      extended by de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable
          extended by de.lmu.ifi.dbs.elki.distance.AbstractMeasurementFunction<O,D>
              extended by de.lmu.ifi.dbs.elki.distance.distancefunction.AbstractDistanceFunction<O,D>
                  extended by de.lmu.ifi.dbs.elki.distance.distancefunction.AbstractPreprocessorBasedDistanceFunction<V,P,D>
                      extended by de.lmu.ifi.dbs.elki.distance.distancefunction.correlation.AbstractCorrelationDistanceFunction<V,P,PreferenceVectorBasedCorrelationDistance>
                          extended by de.lmu.ifi.dbs.elki.distance.distancefunction.correlation.AbstractPreferenceVectorBasedCorrelationDistanceFunction<V,P>
                              extended by de.lmu.ifi.dbs.elki.distance.distancefunction.subspace.HiSCDistanceFunction<V,P>
Type Parameters:
V - the type of RealVector to compute the distances in between
P - the type of Preprocessor used
All Implemented Interfaces:
DistanceFunction<V,PreferenceVectorBasedCorrelationDistance>, MeasurementFunction<V,PreferenceVectorBasedCorrelationDistance>, PreprocessorBasedMeasurementFunction<V,P,PreferenceVectorBasedCorrelationDistance>, PreprocessorClient<P,V>, Parameterizable

public class HiSCDistanceFunction<V extends RealVector<V,?>,P extends PreferenceVectorPreprocessor<V>>
extends AbstractPreferenceVectorBasedCorrelationDistanceFunction<V,P>

Distance function used in the HiSC algorithm.

Author:
Elke Achtert

Field Summary
 
Fields inherited from class de.lmu.ifi.dbs.elki.distance.distancefunction.correlation.AbstractPreferenceVectorBasedCorrelationDistanceFunction
EPSILON_ID
 
Fields inherited from class de.lmu.ifi.dbs.elki.distance.distancefunction.correlation.AbstractCorrelationDistanceFunction
SEPARATOR
 
Fields inherited from class de.lmu.ifi.dbs.elki.distance.AbstractMeasurementFunction
INFINITY_PATTERN
 
Fields inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable
optionHandler
 
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debug, logger
 
Constructor Summary
HiSCDistanceFunction()
           
 
Method Summary
 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.
 String getDefaultPreprocessorClassName()
          Returns the name of the default preprocessor.
 
Methods inherited from class de.lmu.ifi.dbs.elki.distance.distancefunction.correlation.AbstractPreferenceVectorBasedCorrelationDistanceFunction
correlationDistance, getAssociationID, getEpsilon, getPreprocessorDescription, getPreprocessorSuperClass, infiniteDistance, nullDistance, setParameters, undefinedDistance, valueOf, weightedDistance, weightedDistance, weightedPrefereneceVectorDistance, weightedPrefereneceVectorDistance
 
Methods inherited from class de.lmu.ifi.dbs.elki.distance.distancefunction.correlation.AbstractCorrelationDistanceFunction
distance, shortDescription
 
Methods inherited from class de.lmu.ifi.dbs.elki.distance.distancefunction.AbstractPreprocessorBasedDistanceFunction
getPreprocessor, setDatabase
 
Methods inherited from class de.lmu.ifi.dbs.elki.distance.distancefunction.AbstractDistanceFunction
distance, distance, isInfiniteDistance, isNullDistance, isUndefinedDistance
 
Methods inherited from class de.lmu.ifi.dbs.elki.distance.AbstractMeasurementFunction
getDatabase, matches, requiredInputPattern, setRequiredInputPattern
 
Methods inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable
addOption, addParameterizable, addParameterizable, checkGlobalParameterConstraints, collectOptions, getAttributeSettings, getParameters, rememberParametersExcept, removeOption, removeParameterizable
 
Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debugFine, debugFiner, debugFinest, exception, progress, verbose, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.lmu.ifi.dbs.elki.distance.MeasurementFunction
isInfiniteDistance, isNullDistance, isUndefinedDistance, requiredInputPattern
 
Methods inherited from interface de.lmu.ifi.dbs.elki.utilities.optionhandling.Parameterizable
checkGlobalParameterConstraints, collectOptions, getParameters
 

Constructor Detail

HiSCDistanceFunction

public HiSCDistanceFunction()
Method Detail

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 RealVector<V,?>,P extends PreferenceVectorPreprocessor<V>>
Parameters:
v1 - first RealVector
v2 - second RealVector
pv1 - the first preference vector
pv2 - the second preference vector
Returns:
the correlation distance between the two specified vectors

getDefaultPreprocessorClassName

public String getDefaultPreprocessorClassName()
Description copied from interface: PreprocessorClient
Returns the name of the default preprocessor.

Returns:
the name of the default preprocessor, which is HiSCPreprocessor

Release 0.2.1 (2009-07-13_1605)