de.lmu.ifi.dbs.elki.datasource
Class RandomDoubleVectorDatabaseConnection.Parameterizer

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizer
      extended by de.lmu.ifi.dbs.elki.datasource.AbstractDatabaseConnection.Parameterizer
          extended by de.lmu.ifi.dbs.elki.datasource.RandomDoubleVectorDatabaseConnection.Parameterizer
All Implemented Interfaces:
Parameterizer
Enclosing class:
RandomDoubleVectorDatabaseConnection

public static class RandomDoubleVectorDatabaseConnection.Parameterizer
extends AbstractDatabaseConnection.Parameterizer

Parameterization class.


Field Summary
(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.
 
Fields inherited from class de.lmu.ifi.dbs.elki.datasource.AbstractDatabaseConnection.Parameterizer
filters
 
Constructor Summary
RandomDoubleVectorDatabaseConnection.Parameterizer()
           
 
Method Summary
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.
 
Methods inherited from class de.lmu.ifi.dbs.elki.datasource.AbstractDatabaseConnection.Parameterizer
configFilters
 
Methods inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizer
configure, make
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEED_ID

public static final OptionID SEED_ID
Random generator seed.

Key: -dbc.seed


DIM_ID

public static final OptionID DIM_ID
Database to specify the random vector dimensionality

Key: -dbc.dim


SIZE_ID

public static final OptionID SIZE_ID
Parameter to specify the database size to generate.

Key: -dbc.size


dim

int dim

size

int size

seed

Long seed
Constructor Detail

RandomDoubleVectorDatabaseConnection.Parameterizer

public RandomDoubleVectorDatabaseConnection.Parameterizer()
Method Detail

makeOptions

protected void makeOptions(Parameterization config)
Description copied from class: AbstractParameterizer
Add all options. ALWAYS call super.makeOptions(config), unless you have a strong reason to do otherwise!

Overrides:
makeOptions in class AbstractDatabaseConnection.Parameterizer
Parameters:
config - Parameterization to add options to.

configSeed

protected void configSeed(Parameterization config)

configDimensionality

protected void configDimensionality(Parameterization config)

configSize

protected void configSize(Parameterization config)

makeInstance

protected RandomDoubleVectorDatabaseConnection makeInstance()
Description copied from class: AbstractParameterizer
Make an instance after successful configuration.

Specified by:
makeInstance in class AbstractParameterizer
Returns:
instance

Release 0.4.0 (2011-09-20_1324)