O
- Object class to process.public class SimilarityAdapterArccos<O> extends AbstractSimilarityAdapter<O>
arccos(sim)
.Modifier and Type | Class and Description |
---|---|
static class |
SimilarityAdapterArccos.Instance<O>
Distance function instance
|
static class |
SimilarityAdapterArccos.Parameterizer<O>
Parameterization class.
|
SIMILARITY_FUNCTION_ID, similarityFunction
Constructor and Description |
---|
SimilarityAdapterArccos(NormalizedSimilarityFunction<? super O,? extends NumberDistance<?,?>> 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, getDistanceFactory, getInputTypeRestriction, isSymmetric
isMetric
public SimilarityAdapterArccos(NormalizedSimilarityFunction<? super O,? extends NumberDistance<?,?>> similarityFunction)
similarityFunction
- Similarity functionpublic <T extends O> DistanceQuery<T,DoubleDistance> instantiate(Relation<T> database)
DistanceFunction
instantiate
in interface DistanceFunction<O,DoubleDistance>
instantiate
in class AbstractSimilarityAdapter<O>
database
- The representation to use