O
- Object class to process.public class LinearAdapterLinear<O> extends AbstractSimilarityAdapter<O>
1 - sim
.Modifier and Type | Class and Description |
---|---|
static class |
LinearAdapterLinear.Instance<O>
Distance function instance
|
static class |
LinearAdapterLinear.Parameterizer<O>
Parameterization class.
|
similarityFunction
Constructor and Description |
---|
LinearAdapterLinear(NormalizedSimilarityFunction<? super O> similarityFunction)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
<T extends O> |
instantiate(Relation<T> database)
Instantiate with a database to get the actual distance query.
|
equals, getInputTypeRestriction, isSymmetric
isMetric
public LinearAdapterLinear(NormalizedSimilarityFunction<? super O> similarityFunction)
similarityFunction
- Similarity functionpublic <T extends O> DistanceQuery<T> instantiate(Relation<T> database)
DistanceFunction
instantiate
in interface DistanceFunction<O>
instantiate
in class AbstractSimilarityAdapter<O>
database
- The representation to useCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.