V
- Vector typepublic class AxisBasedReferencePoints<V extends NumberVector<V,?>> extends Object implements ReferencePointsHeuristic<V>
Modifier and Type | Class and Description |
---|---|
static class |
AxisBasedReferencePoints.Parameterizer<V extends NumberVector<V,?>>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
static OptionID |
SPACE_SCALE_ID
Parameter to specify the extra scaling of the space, to allow
out-of-data-space reference points.
|
protected double |
spacescale
Holds the value of
SPACE_SCALE_ID . |
Constructor and Description |
---|
AxisBasedReferencePoints(double spacescale)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
<T extends V> |
getReferencePoints(Relation<T> db)
Get the reference points for the given database.
|
public static final OptionID SPACE_SCALE_ID
Key: -axisref.scale
protected double spacescale
SPACE_SCALE_ID
.public AxisBasedReferencePoints(double spacescale)
spacescale
- public <T extends V> Collection<V> getReferencePoints(Relation<T> db)
ReferencePointsHeuristic
getReferencePoints
in interface ReferencePointsHeuristic<V extends NumberVector<V,?>>
db
- Database