public static class InMemoryLSHIndex.Parameterizer<V> extends AbstractParameterizer
Modifier and Type | Field and 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 and Description |
---|
InMemoryLSHIndex.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected InMemoryLSHIndex<V> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
public static final OptionID FAMILY_ID
public static final OptionID L_ID
public static final OptionID BUCKETS_ID
LocalitySensitiveHashFunctionFamily<? super V> family
int l
int numberOfBuckets
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractParameterizer
config
- Parameterization to add options to.protected InMemoryLSHIndex<V> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer