Interface DistanceFunctions.EuclideanCoordinate
-
- All Known Implementing Classes:
MicroCluster
,StreamObj
,StreamObj
,StreamObj
,StreamObj
- Enclosing class:
- DistanceFunctions
public static interface DistanceFunctions.EuclideanCoordinate
An interface to represent coordinates in Euclidean spaces.- See Also:
- "Euclidean Space" article at Wikipedia
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
dimensions()
The number of dimensions.double
get(int index)
A method to access theindex
-th component of the coordinate.
-
-
-
Method Detail
-
dimensions
int dimensions()
The number of dimensions.
-
get
double get(int index)
A method to access theindex
-th component of the coordinate.- Parameters:
index
- The index of the component. Must be less thandimensions()
.
-
-