Class OverlapSimilarity


  • public final class OverlapSimilarity
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static double computeSimilarity​(long[] vector1, int length1, long[] vector2, int length2, double similarityCutoff)  
      static double computeSimilarity​(long[] vector1, long[] vector2, double similarityCutoff)  
      static double computeWeightedSimilarity​(long[] vector1, int length1, long[] vector2, int length2, double[] weights1, double[] weights2, double similarityCutoff)  
      static double computeWeightedSimilarity​(long[] vector1, long[] vector2, double[] weights1, double[] weights2, double similarityCutoff)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • computeSimilarity

        public static double computeSimilarity​(long[] vector1,
                                               long[] vector2,
                                               double similarityCutoff)
      • computeWeightedSimilarity

        public static double computeWeightedSimilarity​(long[] vector1,
                                                       long[] vector2,
                                                       double[] weights1,
                                                       double[] weights2,
                                                       double similarityCutoff)
      • computeSimilarity

        public static double computeSimilarity​(long[] vector1,
                                               int length1,
                                               long[] vector2,
                                               int length2,
                                               double similarityCutoff)
      • computeWeightedSimilarity

        public static double computeWeightedSimilarity​(long[] vector1,
                                                       int length1,
                                                       long[] vector2,
                                                       int length2,
                                                       double[] weights1,
                                                       double[] weights2,
                                                       double similarityCutoff)