O
- Object class to process.@Alias(value="de.lmu.ifi.dbs.elki.distance.distancefunction.adapter.SimilarityAdapterArccos") public class ArccosSimilarityAdapter<O> extends AbstractSimilarityAdapter<O>
arccos(sim)
.Modifier and Type | Class and Description |
---|---|
static class |
ArccosSimilarityAdapter.Instance<O>
Distance function instance
|
static class |
ArccosSimilarityAdapter.Parameterizer<O>
Parameterization class.
|
similarityFunction
Constructor and Description |
---|
ArccosSimilarityAdapter(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 ArccosSimilarityAdapter(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.