public interface SpatialSorter
Modifier and Type | Method and Description |
---|---|
static double[] |
computeMinMax(java.lang.Iterable<? extends SpatialComparable> objs)
Compute the minimum and maximum for each dimension.
|
default void |
sort(java.util.List<? extends SpatialComparable> objs)
Partitions the specified feature vectors
|
void |
sort(java.util.List<? extends SpatialComparable> objs,
int start,
int end,
double[] minmax,
int[] dims)
Sort part of the list (start to end).
|
default void sort(java.util.List<? extends SpatialComparable> objs)
objs
- the spatial objects to be sortedvoid sort(java.util.List<? extends SpatialComparable> objs, int start, int end, double[] minmax, int[] dims)
objs
- the spatial objects to be sortedstart
- First index to sort (e.g. 0)end
- End of range (e.g. site()
)minmax
- Array with dim pairs of (min, max) of value rangesdims
- Dimensions to sort by, for indexing vectors and
minmax
.static double[] computeMinMax(java.lang.Iterable<? extends SpatialComparable> objs)
objs
- ObjectsCopyright © 2019 ELKI Development Team. License information.