
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, FILTERS_ID, LABEL_CONCATENATION, PARSER_ID| 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, invokeFiltersprivate 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()
DatabaseConnectionprotected Logging getLogger()
AbstractDatabaseConnectiongetLogger in class AbstractDatabaseConnection