| 
 | 
 | |||||||||||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.logging.AbstractLoggable
de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable
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,SubspaceDistance>
de.lmu.ifi.dbs.elki.distance.distancefunction.subspace.SubspaceDistanceFunction<V,P>
V - the type of RealVector to compute the distances in betweenP - the type of Preprocessor usedpublic class SubspaceDistanceFunction<V extends RealVector<V,?>,P extends Preprocessor<V>>
Provides a distance function to determine a kind of correlation distance between two points, which is a pair consisting of the distance between the two subspaces spanned by the strong eigenvectors of the two points and the affine distance between the two subspaces.
| Field Summary | 
|---|
| 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 | |
|---|---|
| SubspaceDistanceFunction()Provides a distance function to determine distances between subspaces of equal dimensionality. | |
| Method Summary | |
|---|---|
|  SubspaceDistance | distance(V o1,
         V o2)Note, that the pca of o1 must have equal ore more strong eigenvectors than the pca of o2. | 
|  SubspaceDistance | distance(V o1,
         V o2,
         PCAFilteredResult pca1,
         PCAFilteredResult pca2)Computes the distance between two given DatabaseObjects according to this distance function. | 
|  AssociationID<?> | getAssociationID()Returns the association ID for the association to be set by the preprocessor. | 
|  String | getDefaultPreprocessorClassName()Returns the name of the default preprocessor. | 
|  String | getPreprocessorDescription()Returns the description for the preprocessor parameter. | 
|  Class<P> | getPreprocessorSuperClass()Returns the super class for the preprocessor parameter. | 
|  SubspaceDistance | infiniteDistance()Provides an infinite distance. | 
|  SubspaceDistance | nullDistance()Provides a null distance. | 
|  String | shortDescription()Returns the required input pattern. | 
|  SubspaceDistance | undefinedDistance()Provides an undefined distance. | 
|  SubspaceDistance | valueOf(String pattern)Provides a measurement suitable to this measurement function based on the given pattern. | 
| Methods inherited from class de.lmu.ifi.dbs.elki.distance.distancefunction.AbstractPreprocessorBasedDistanceFunction | 
|---|
| getPreprocessor, setDatabase, setParameters | 
| 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 | 
|---|
public SubspaceDistanceFunction()
| Method Detail | 
|---|
public String getDefaultPreprocessorClassName()
PreprocessorClient
KnnQueryBasedHiCOPreprocessorpublic final String getPreprocessorDescription()
PreprocessorClient
public Class<P> getPreprocessorSuperClass()
PreprocessorClient
Preprocessorpublic AssociationID<?> getAssociationID()
PreprocessorClient
AssociationID.LOCAL_PCA
public SubspaceDistance valueOf(String pattern)
                         throws IllegalArgumentException
MeasurementFunction
pattern - a pattern defining a similarity suitable to this
                measurement function
IllegalArgumentException - if the given pattern is not compatible with the requirements
                                  of this measurement functionpublic SubspaceDistance infiniteDistance()
MeasurementFunction
public SubspaceDistance nullDistance()
MeasurementFunction
public SubspaceDistance undefinedDistance()
MeasurementFunction
public SubspaceDistance distance(V o1,
                                 V o2)
o1 - first DatabaseObjecto2 - second DatabaseObject
public SubspaceDistance distance(V o1,
                                 V o2,
                                 PCAFilteredResult pca1,
                                 PCAFilteredResult pca2)
o1 - first DatabaseObjecto2 - second DatabaseObjectpca1 - first PCApca2 - second PCA
public String shortDescription()
AbstractMeasurementFunction
shortDescription in interface ParameterizableshortDescription in class AbstractMeasurementFunction<V extends RealVector<V,?>,SubspaceDistance>| 
 | 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||