Interface LSHVector

    • Method Detail

      • numEntries

        int numEntries()
      • getLength

        double getLength()
      • compareDetail

        double compareDetail​(LSHVector op2,
                             java.lang.StringBuilder buf)
      • saveXml

        void saveXml​(java.io.Writer fwrite)
              throws java.io.IOException
        Throws:
        java.io.IOException
      • saveSQL

        java.lang.String saveSQL()
      • saveBase64

        void saveBase64​(java.lang.StringBuilder buffer,
                        char[] encoder)
      • restoreSQL

        void restoreSQL​(java.lang.String sql,
                        WeightFactory weightFactory,
                        IDFLookup idfLookup)
                 throws java.io.IOException
        Throws:
        java.io.IOException
      • restoreBase64

        void restoreBase64​(java.io.Reader input,
                           char[] buffer,
                           WeightFactory wfactory,
                           IDFLookup idflookup,
                           int[] decode)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • calcUniqueHash

        long calcUniqueHash()