|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.datasource.AbstractDatabaseConnection de.lmu.ifi.dbs.elki.datasource.RandomDoubleVectorDatabaseConnection
public class RandomDoubleVectorDatabaseConnection
Produce a database of random double vectors with each dimension in [0:1]
Nested Class Summary | |
---|---|
static class |
RandomDoubleVectorDatabaseConnection.Parameterizer
Parameterization class. |
Field Summary | |
---|---|
protected int |
dim
Dimensionality |
private static Logging |
logger
|
protected Long |
seed
Seed to use |
protected int |
size
Size of database to generate |
Fields inherited from class de.lmu.ifi.dbs.elki.datasource.AbstractDatabaseConnection |
---|
filters, FILTERS_ID, LABEL_CONCATENATION |
Constructor Summary | |
---|---|
RandomDoubleVectorDatabaseConnection(int dim,
int size,
Long seed,
List<ObjectFilter> filters)
Constructor. |
Method Summary | |
---|---|
protected Logging |
getLogger()
Get the logger for this database connection. |
MultipleObjectsBundle |
loadData()
Returns the initial data for a database. |
Methods inherited from class de.lmu.ifi.dbs.elki.datasource.AbstractDatabaseConnection |
---|
invokeFilters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int dim
protected int size
protected Long seed
private static final Logging logger
Constructor Detail |
---|
public RandomDoubleVectorDatabaseConnection(int dim, int size, Long seed, List<ObjectFilter> filters)
dim
- Dimensionalitysize
- Database sizeseed
- Random seedfilters
- Method Detail |
---|
public MultipleObjectsBundle loadData()
DatabaseConnection
protected Logging getLogger()
AbstractDatabaseConnection
getLogger
in class AbstractDatabaseConnection
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |