Class InMemoryLSHIndex<V>

  • Type Parameters:
    V - Object type to index
    All Implemented Interfaces:
    IndexFactory<V>

    public class InMemoryLSHIndex<V>
    extends java.lang.Object
    implements IndexFactory<V>
    Locality Sensitive Hashing.
    Since:
    0.6.0
    Author:
    Erich Schubert
    • Field Detail

      • LOG

        private static final Logging LOG
        Class logger
      • l

        int l
        Number of hash tables to use.
      • numberOfBuckets

        int numberOfBuckets
        Number of buckets to use.
    • Constructor Detail

      • InMemoryLSHIndex

        public InMemoryLSHIndex​(LocalitySensitiveHashFunctionFamily<? super V> family,
                                int l,
                                int numberOfBuckets)
        Constructor.
        Parameters:
        family - Projection family
        l - Number of hash tables to use
        numberOfBuckets - Number of buckets to use.