
V - Object typepublic class GridBasedReferencePoints<V extends NumberVector<?>> extends Object implements ReferencePointsHeuristic<V>
| Modifier and Type | Class and Description | 
|---|---|
| static class  | GridBasedReferencePoints.Parameterizer<V extends NumberVector<?>>Parameterization class. | 
| Modifier and Type | Field and Description | 
|---|---|
| static OptionID | GRID_IDParameter to specify the grid resolution. | 
| static OptionID | GRID_SCALE_IDParameter to specify the extra scaling of the space, to allow
 out-of-data-space reference points. | 
| protected int | gridresHolds the value of  GRID_ID. | 
| protected double | gridscaleHolds the value of  GRID_SCALE_ID. | 
| Constructor and Description | 
|---|
| GridBasedReferencePoints(int gridres,
                        double gridscale)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 GRID_ID
 Key: -grid.size
 
public static final OptionID GRID_SCALE_ID
 Key: -grid.oversize
 
protected int gridres
GRID_ID.protected double gridscale
GRID_SCALE_ID.public GridBasedReferencePoints(int gridres,
                        double gridscale)
gridres - Grid resolutiongridscale - Grid scalingpublic <T extends V> Collection<V> getReferencePoints(Relation<T> db)
ReferencePointsHeuristicgetReferencePoints in interface ReferencePointsHeuristic<V extends NumberVector<?>>db - Database