public class RandomDoubleVectorDatabaseConnection extends AbstractDatabaseConnection
Modifier and Type | Class and Description |
---|---|
static class |
RandomDoubleVectorDatabaseConnection.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
protected int |
dim
Dimensionality.
|
private static Logging |
LOG
Class logger.
|
protected RandomFactory |
rnd
Random generator
|
protected int |
size
Size of database to generate.
|
filters, LABEL_CONCATENATION
Constructor and Description |
---|
RandomDoubleVectorDatabaseConnection(int dim,
int size,
RandomFactory rnd,
List<ObjectFilter> filters)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Logging |
getLogger()
Get the logger for this database connection.
|
MultipleObjectsBundle |
loadData()
Returns the initial data for a database.
|
invokeFilters, invokeFilters
private static final Logging LOG
protected int dim
protected int size
protected RandomFactory rnd
public RandomDoubleVectorDatabaseConnection(int dim, int size, RandomFactory rnd, List<ObjectFilter> filters)
dim
- Dimensionalitysize
- Database sizernd
- Random generatorfilters
- Filters to usepublic MultipleObjectsBundle loadData()
DatabaseConnection
protected Logging getLogger()
AbstractDatabaseConnection
getLogger
in class AbstractDatabaseConnection