de.lmu.ifi.dbs.elki.distance.similarityfunction
Class AbstractDBIDSimilarityFunction<D extends Distance<D>>
java.lang.Object
de.lmu.ifi.dbs.elki.distance.similarityfunction.AbstractPrimitiveSimilarityFunction<DBID,D>
de.lmu.ifi.dbs.elki.distance.similarityfunction.AbstractDBIDSimilarityFunction<D>
- Type Parameters:
D
- distance type
- All Implemented Interfaces:
- DBIDSimilarityFunction<D>, PrimitiveSimilarityFunction<DBID,D>, SimilarityFunction<DBID,D>, InspectionUtilFrequentlyScanned, Parameterizable
public abstract class AbstractDBIDSimilarityFunction<D extends Distance<D>>
- extends AbstractPrimitiveSimilarityFunction<DBID,D>
- implements DBIDSimilarityFunction<D>
Abstract super class for distance functions needing a preprocessor.
Method Summary |
boolean |
isSymmetric()
Is this function symmetric? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
database
protected Relation<? extends DBID> database
- The database we work on
AbstractDBIDSimilarityFunction
public AbstractDBIDSimilarityFunction(Relation<? extends DBID> database)
- Constructor.
- Parameters:
database
- Database
isSymmetric
public boolean isSymmetric()
- Description copied from interface:
SimilarityFunction
- Is this function symmetric?
- Specified by:
isSymmetric
in interface SimilarityFunction<DBID,D extends Distance<D>>
- Overrides:
isSymmetric
in class AbstractPrimitiveSimilarityFunction<DBID,D extends Distance<D>>
- Returns:
true
when symmetric