public static class RandomDoubleVectorDatabaseConnection.Parameterizer extends AbstractDatabaseConnection.Parameterizer
Modifier and Type | Field and Description |
---|---|
(package private) int |
dim
Dimensionality.
|
static OptionID |
DIM_ID
Database to specify the random vector dimensionality.
|
(package private) RandomFactory |
rnd
Random generator.
|
static OptionID |
SEED_ID
Random generator seed.
|
(package private) int |
size
Database size.
|
static OptionID |
SIZE_ID
Parameter to specify the database size to generate.
|
filters, FILTERS_ID, parser, PARSER_ID
Constructor and Description |
---|
RandomDoubleVectorDatabaseConnection.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected RandomDoubleVectorDatabaseConnection |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configFilters, configParser
configure, make
public static final OptionID SEED_ID
Key: -dbc.seed
public static final OptionID DIM_ID
Key: -dbc.dim
public static final OptionID SIZE_ID
Key: -dbc.size
int dim
int size
RandomFactory rnd
public RandomDoubleVectorDatabaseConnection.Parameterizer()
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractParameterizer
config
- Parameterization to add options to.protected RandomDoubleVectorDatabaseConnection makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer