Package elki.utilities.referencepoints
Class GridBasedReferencePoints
- java.lang.Object
-
- elki.utilities.referencepoints.GridBasedReferencePoints
-
- All Implemented Interfaces:
ReferencePointsHeuristic
public class GridBasedReferencePoints extends java.lang.Object implements ReferencePointsHeuristic
Grid-based strategy to pick reference points.- Since:
- 0.3
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GridBasedReferencePoints.Par
Parameterization class.
-
Constructor Summary
Constructors Constructor Description GridBasedReferencePoints(int gridres, double gridscale)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<? extends NumberVector>
getReferencePoints(Relation<? extends NumberVector> db)
Get the reference points for the given database.
-
-
-
Field Detail
-
LOG
private static final Logging LOG
Class logger.
-
gridres
protected int gridres
Holds the grid resolution.
-
gridscale
protected double gridscale
Holds the grid scale.
-
-
Method Detail
-
getReferencePoints
public java.util.Collection<? extends NumberVector> getReferencePoints(Relation<? extends NumberVector> db)
Description copied from interface:ReferencePointsHeuristic
Get the reference points for the given database.- Specified by:
getReferencePoints
in interfaceReferencePointsHeuristic
- Parameters:
db
- Database- Returns:
- Collection of reference points.
-
-