edu.stanford.math.plex4.metric.landmark
T
- the type of the underlying metric spacepublic class MaxMinLandmarkSelector<T> extends LandmarkSelector<T>
indexMapping, landmarkSetSize, metricSpace
Constructor and Description |
---|
MaxMinLandmarkSelector(AbstractSearchableMetricSpace<T> metricSpace,
int landmarkSetSize)
This constructor initializes the landmark selector with a finite metric space,
and a size parameter.
|
MaxMinLandmarkSelector(AbstractSearchableMetricSpace<T> metricSpace,
int landmarkSetSize,
int firstPoint)
This constructor initializes the landmark selector with a finite metric space,
and a size parameter.
|
Modifier and Type | Method and Description |
---|---|
protected int[] |
computeLandmarkSet()
This function constructs the set of landmark points.
|
distance, distance, getClosedNeighborhood, getKNearestNeighbors, getLandmarkIndex, getLandmarkPoints, getMaxDistanceFromPointsToLandmarks, getNearestPointIndex, getOpenNeighborhood, getPoint, getPoints, getUnderlyingMetricSpace, size
public MaxMinLandmarkSelector(AbstractSearchableMetricSpace<T> metricSpace, int landmarkSetSize)
metricSpace
- the metric space to build the landmarks set inlandmarkSetSize
- the size of the landmark setpublic MaxMinLandmarkSelector(AbstractSearchableMetricSpace<T> metricSpace, int landmarkSetSize, int firstPoint)
metricSpace
- the metric space to build the landmarks set inlandmarkSetSize
- the size of the landmark setfirstPoint
- the initial point to useprotected int[] computeLandmarkSet()
LandmarkSelector
computeLandmarkSet
in class LandmarkSelector<T>