Package elki.distance.adapter
Class LinearSimilarityAdapter.Instance<O>
- java.lang.Object
-
- elki.distance.AbstractDatabaseDistance.Instance<O>
-
- elki.distance.adapter.AbstractSimilarityAdapter.Instance<O>
-
- elki.distance.adapter.LinearSimilarityAdapter.Instance<O>
-
- Type Parameters:
O
- Object type
- All Implemented Interfaces:
DatabaseDistanceQuery<O>
,DistanceQuery<O>
- Enclosing class:
- LinearSimilarityAdapter<O>
public static class LinearSimilarityAdapter.Instance<O> extends AbstractSimilarityAdapter.Instance<O>
Distance function instance- Author:
- Erich Schubert
-
-
Field Summary
-
Fields inherited from class elki.distance.AbstractDatabaseDistance.Instance
parent, relation
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
transform(double similarity)
Transformation function.-
Methods inherited from class elki.distance.adapter.AbstractSimilarityAdapter.Instance
distance
-
Methods inherited from class elki.distance.AbstractDatabaseDistance.Instance
getDistance, getRelation
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elki.database.query.distance.DatabaseDistanceQuery
distance, distance, distance
-
-
-
-
Method Detail
-
transform
public double transform(double similarity)
Description copied from class:AbstractSimilarityAdapter.Instance
Transformation function.- Specified by:
transform
in classAbstractSimilarityAdapter.Instance<O>
- Parameters:
similarity
- Similarity value- Returns:
- Distance value
-
-