Class ArccosSimilarityAdapter<O>

  • Type Parameters:
    O - Object class to process.
    All Implemented Interfaces:
    Distance<O>

    public class ArccosSimilarityAdapter<O>
    extends AbstractSimilarityAdapter<O>
    Adapter from a normalized similarity function to a distance function using arccos(sim).
    Since:
    0.2
    Author:
    Erich Schubert
    • Constructor Detail

      • ArccosSimilarityAdapter

        public ArccosSimilarityAdapter​(NormalizedSimilarity<? super O> similarityFunction)
        Constructor.
        Parameters:
        similarityFunction - Similarity function