Class VectorCompare


  • public class VectorCompare
    extends java.lang.Object
    Class for containing intermediate results of doing the LSHVector compare operation
    • Constructor Summary

      Constructors 
      Constructor Description
      VectorCompare()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void fillOut()
      Assume the dotproduct, acount, bcount, and intersectcount are filled in Calculate the remaining values: min, max, numflip, and diff Assume small vector is produced by flipping and removing hashes from big vector Calculate the number of flipped hashes (numflip) from a VectorCompare result Calculate the difference in the number of hashes (diff) from a VectorCompare result
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • dotproduct

        public double dotproduct
      • acount

        public int acount
      • bcount

        public int bcount
      • intersectcount

        public int intersectcount
      • min

        public int min
      • max

        public int max
      • numflip

        public int numflip
      • diff

        public int diff
    • Constructor Detail

      • VectorCompare

        public VectorCompare()
    • Method Detail

      • fillOut

        public void fillOut()
        Assume the dotproduct, acount, bcount, and intersectcount are filled in Calculate the remaining values: min, max, numflip, and diff Assume small vector is produced by flipping and removing hashes from big vector Calculate the number of flipped hashes (numflip) from a VectorCompare result Calculate the difference in the number of hashes (diff) from a VectorCompare result
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object