edu.stanford.math.plex4.metric.interfaces
T
- the type of the points in the metric spacepublic interface AbstractObjectMetricSpace<T> extends AbstractIntMetricSpace, AbstractObjectMetric<T>
Modifier and Type | Method and Description |
---|---|
T |
getPoint(int index)
This function returns the point at the specified index.
|
T[] |
getPoints()
This function returns the set of points in the metric space as an array.
|
distance, size
distance
T getPoint(int index)
index
- the index of the point to retrieveT[] getPoints()