V
- Object typepublic class StarBasedReferencePoints<V extends NumberVector<V,?>> extends Object implements ReferencePointsHeuristic<V>
Modifier and Type | Class and Description |
---|---|
static class |
StarBasedReferencePoints.Parameterizer<V extends NumberVector<V,?>>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
protected boolean |
nocenter
Holds the value of
NOCENTER_ID . |
static OptionID |
NOCENTER_ID
Parameter to specify the grid resolution.
|
protected double |
scale
Holds the value of
SCALE_ID . |
static OptionID |
SCALE_ID
Parameter to specify the extra scaling of the space, to allow
out-of-data-space reference points.
|
Constructor and Description |
---|
StarBasedReferencePoints(boolean nocenter,
double scale)
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 NOCENTER_ID
Key: -star.nocenter
public static final OptionID SCALE_ID
Key: -star.scale
protected boolean nocenter
NOCENTER_ID
.protected double scale
SCALE_ID
.public StarBasedReferencePoints(boolean nocenter, double scale)
nocenter
- scale
- public <T extends V> Collection<V> getReferencePoints(Relation<T> db)
ReferencePointsHeuristic
getReferencePoints
in interface ReferencePointsHeuristic<V extends NumberVector<V,?>>
db
- Database