O
- Object typepublic static class LinearAdapterLinear.Instance<O> extends AbstractSimilarityAdapter.Instance<O>
relation
HINT_BULK, HINT_EXACT, HINT_HEAVY_USE, HINT_NO_CACHE, HINT_OPTIMIZED_ONLY, HINT_SINGLE
Constructor and Description |
---|
LinearAdapterLinear.Instance(Relation<O> database,
DistanceFunction<? super O> parent,
SimilarityQuery<? super O> similarityQuery)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
transform(double similarity)
Transformation function.
|
distance
getDistanceFunction
distance, distance, distance
getRelation
public LinearAdapterLinear.Instance(Relation<O> database, DistanceFunction<? super O> parent, SimilarityQuery<? super O> similarityQuery)
database
- Databaseparent
- Parent distancesimilarityQuery
- similarity Query to usepublic double transform(double similarity)
AbstractSimilarityAdapter.Instance
transform
in class AbstractSimilarityAdapter.Instance<O>
similarity
- Similarity valueCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.