public class RandomSampleReferencePoints extends java.lang.Object implements ReferencePointsHeuristic
Modifier and Type | Class and Description |
---|---|
static class |
RandomSampleReferencePoints.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
protected RandomFactory |
rnd
Random generator.
|
protected int |
samplesize
Sample size.
|
Constructor and Description |
---|
RandomSampleReferencePoints(int samplesize,
RandomFactory rnd)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<? extends NumberVector> |
getReferencePoints(Relation<? extends NumberVector> db)
Get the reference points for the given database.
|
protected int samplesize
protected RandomFactory rnd
public RandomSampleReferencePoints(int samplesize, RandomFactory rnd)
samplesize
- Sampling sizepublic java.util.Collection<? extends NumberVector> getReferencePoints(Relation<? extends NumberVector> db)
ReferencePointsHeuristic
getReferencePoints
in interface ReferencePointsHeuristic
db
- DatabaseCopyright © 2019 ELKI Development Team. License information.