Class InMemoryLSHIndex.Par<V>

  • All Implemented Interfaces:
    Enclosing class:

    public static class InMemoryLSHIndex.Par<V>
    extends java.lang.Object
    implements Parameterizer
    Parameterization class.
    Erich Schubert
    • Field Detail

      • FAMILY_ID

        public static final OptionID FAMILY_ID
        Hash function family parameter.
      • L_ID

        public static final OptionID L_ID
        Number of hash tables to use for LSH.
      • BUCKETS_ID

        public static final OptionID BUCKETS_ID
        Number of hash tables to use for LSH.
      • l

        int l
        Number of hash functions for each table.
      • numberOfBuckets

        int numberOfBuckets
        Number of buckets to use.
    • Constructor Detail

      • Par

        public Par()
    • Method Detail

      • configure

        public void configure​(Parameterization config)
        Description copied from interface: Parameterizer
        Configure the class.

        Note: the status is collected by the parameterization object, so that multiple errors may arise and be reported in one run.

        Specified by:
        configure in interface Parameterizer
        config - Parameterization
      • make

        public InMemoryLSHIndex<V> make()
        Description copied from interface: Parameterizer
        Make an instance after successful configuration.

        Note: your class should return the exact type, only this very broad interface should use Object as return type.

        Specified by:
        make in interface Parameterizer
        a new instance