
public class ZCurveSpatialSorter extends AbstractSpatialSorter
| Modifier and Type | Field and Description |
|---|---|
private static double |
STOPVAL |
| Constructor and Description |
|---|
ZCurveSpatialSorter() |
| Modifier and Type | Method and Description |
|---|---|
<T extends SpatialComparable> |
sort(List<T> objs,
int start,
int end,
double[] minmax)
Sort part of the list (start to end).
|
protected <T extends SpatialComparable> |
zSort(List<T> objs,
int start,
int end,
double[] mms,
int dim)
The actual Z sorting function
|
computeMinMax, pivotizeList1D, sortprivate static final double STOPVAL
public <T extends SpatialComparable> void sort(List<T> objs, int start, int end, double[] minmax)
SpatialSorterT - 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 rangesprotected <T extends SpatialComparable> void zSort(List<T> objs, int start, int end, double[] mms, int dim)
objs - Objects to sortstart - Startend - Endmms - Min-Max value rangesdim - Current dimension