|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LexicographicalOrder
| Method Summary | |
|---|---|
int |
compare(int[] p1,
int[] p2)
It compares two k-dimensional points. |
int |
dimensionAt(int precedenceLevel)
It provides the dimension corresponding to the given precedence level |
int |
getMostSignificantDimension()
This is equivalent to the call precedenceOf(0). |
int[] |
masterOrdering()
It returns the ordering of dimensions used when no shift is applied (i.e. |
int |
precedenceOf(int dimension)
It provides the precedence level of the given dimension. |
void |
setMostSignificantDimension(int d)
It shifts the lexicographical order so that the most significant dimension is set to d. |
| Method Detail |
|---|
int compare(int[] p1,
int[] p2)
p1 - p2 -
int precedenceOf(int dimension)
dimension -
int dimensionAt(int precedenceLevel)
precedenceLevel -
void setMostSignificantDimension(int d)
d - the dimension to be considered most significantint getMostSignificantDimension()
int[] masterOrdering()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||