Package elki.index.lsh
Class InMemoryLSHIndex.Par<V>
- java.lang.Object
-
- elki.index.lsh.InMemoryLSHIndex.Par<V>
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- InMemoryLSHIndex<V>
public static class InMemoryLSHIndex.Par<V> extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description static OptionID
BUCKETS_ID
Number of hash tables to use for LSH.(package private) LocalitySensitiveHashFunctionFamily<? super V>
family
LSH hash function family to use.static OptionID
FAMILY_ID
Hash function family parameter.(package private) int
l
Number of hash functions for each table.static OptionID
L_ID
Number of hash tables to use for LSH.(package private) int
numberOfBuckets
Number of buckets to use.
-
Constructor Summary
Constructors Constructor Description Par()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(Parameterization config)
Configure the class.InMemoryLSHIndex<V>
make()
Make an instance after successful configuration.
-
-
-
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.
-
family
LocalitySensitiveHashFunctionFamily<? super V> family
LSH hash function family to use.
-
l
int l
Number of hash functions for each table.
-
numberOfBuckets
int numberOfBuckets
Number of buckets to use.
-
-
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 interfaceParameterizer
- Parameters:
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 interfaceParameterizer
- Returns:
- a new instance
-
-