Package elki.utilities.referencepoints
Class AxisBasedReferencePoints
- java.lang.Object
-
- elki.utilities.referencepoints.AxisBasedReferencePoints
-
- All Implemented Interfaces:
ReferencePointsHeuristic
public class AxisBasedReferencePoints extends java.lang.Object implements ReferencePointsHeuristic
Strategy to pick reference points by placing them on the axis ends. This strategy produces n+2 reference points that lie on the edges of the surrounding cube.- Since:
- 0.3
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AxisBasedReferencePoints.Par
Parameterization class.
-
Field Summary
Fields Modifier and Type Field Description protected double
spacescale
Scaling factor.
-
Constructor Summary
Constructors Constructor Description AxisBasedReferencePoints(double spacescale)
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.
-
-
-
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.
-
-