public interface SpatialSorter
Modifier and Type | Method and Description |
---|---|
<T extends SpatialComparable> |
sort(List<T> objs)
Partitions the specified feature vectors
|
<T extends SpatialComparable> |
sort(List<T> objs,
int start,
int end,
double[] minmax,
int[] dims)
Sort part of the list (start to end).
|
<T extends SpatialComparable> void sort(List<T> objs)
T
- actual type we sortobjs
- the spatial objects to be sorted<T extends SpatialComparable> void sort(List<T> objs, int start, int end, double[] minmax, int[] dims)
T
- actual type we sortobjs
- 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
.