O
- Object class to process.@Alias(value="de.lmu.ifi.dbs.elki.distance.distancefunction.adapter.SimilarityAdapterLinear") 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, hashCode, isSymmetric
isMetric
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isSquared
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 © 2019 ELKI Development Team. License information.