public static class RandomDoubleVectorDatabaseConnection.Parameterizer extends AbstractDatabaseConnection.Parameterizer
Modifier and Type | Field and Description |
---|---|
(package private) int |
dim |
static OptionID |
DIM_ID
Database to specify the random vector dimensionality
Key:
-dbc.dim
|
(package private) Long |
seed |
static OptionID |
SEED_ID
Random generator seed.
|
(package private) int |
size |
static OptionID |
SIZE_ID
Parameter to specify the database size to generate.
|
filters
Constructor and Description |
---|
RandomDoubleVectorDatabaseConnection.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected void |
configDimensionality(Parameterization config) |
protected void |
configSeed(Parameterization config) |
protected void |
configSize(Parameterization config) |
protected RandomDoubleVectorDatabaseConnection |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configFilters
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
Long seed
public RandomDoubleVectorDatabaseConnection.Parameterizer()
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractDatabaseConnection.Parameterizer
config
- Parameterization to add options to.protected void configSeed(Parameterization config)
protected void configDimensionality(Parameterization config)
protected void configSize(Parameterization config)
protected RandomDoubleVectorDatabaseConnection makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer