|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.utilities.referencepoints.RandomGeneratedReferencePoints<V>
V
- Object typepublic class RandomGeneratedReferencePoints<V extends NumberVector<V,?>>
Reference points generated randomly within the used data space.
Nested Class Summary | |
---|---|
static class |
RandomGeneratedReferencePoints.Parameterizer<V extends NumberVector<V,?>>
Parameterization class. |
Field Summary | |
---|---|
static OptionID |
N_ID
Parameter to specify the number of requested reference points. |
protected int |
samplesize
Holds the value of N_ID . |
protected double |
scale
Holds the value of SCALE_ID . |
static OptionID |
SCALE_ID
Parameter for additional scaling of the space, to allow out-of-space reference points. |
Constructor Summary | |
---|---|
RandomGeneratedReferencePoints(int samplesize,
double scale)
Constructor. |
Method Summary | ||
---|---|---|
|
getReferencePoints(Relation<T> db)
Get the reference points for the given database. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final OptionID N_ID
Key: -generate.n
public static final OptionID SCALE_ID
Key: -generate.scale
protected int samplesize
N_ID
.
protected double scale
SCALE_ID
.
Constructor Detail |
---|
public RandomGeneratedReferencePoints(int samplesize, double scale)
samplesize
- scale
- Method Detail |
---|
public <T extends V> Collection<V> getReferencePoints(Relation<T> db)
ReferencePointsHeuristic
getReferencePoints
in interface ReferencePointsHeuristic<V extends NumberVector<V,?>>
db
- Database
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |