
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 |
logger |
protected Long |
seed
Seed to use
|
protected int |
size
Size of database to generate
|
filters, FILTERS_ID, LABEL_CONCATENATION| Constructor and Description |
|---|
RandomDoubleVectorDatabaseConnection(int dim,
int size,
Long seed,
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.
|
invokeFiltersprotected int dim
protected int size
protected Long seed
private static final Logging logger
public RandomDoubleVectorDatabaseConnection(int dim,
int size,
Long seed,
List<ObjectFilter> filters)
dim - Dimensionalitysize - Database sizeseed - Random seedfilters - public MultipleObjectsBundle loadData()
DatabaseConnectionprotected Logging getLogger()
AbstractDatabaseConnectiongetLogger in class AbstractDatabaseConnection