|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgraph.NodeInfo
Is used for sorting nodes with respect to topological invariants
| Field Summary | |
(package private) static boolean |
debug
|
(package private) int |
id
Node id; Graph.node[id] is the appropriate entry in the graph |
(package private) java.lang.String |
key
Sorting key; is made from composing all topological invariants that we have tried so far |
| Constructor Summary | |
(package private) |
NodeInfo(int i)
|
| Method Summary | |
(package private) static boolean |
allKeysDifferent(NodeInfo[] w)
Do all elements in the sorted array have the same comparison key? |
int |
compareTo(java.lang.Object o)
Used to sort entries by key |
(package private) static int |
hashArray(java.lang.Integer[] r)
Converts an array of integers into a single "fingerprint" integer, using a hash function |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
static boolean debug
int id
java.lang.String key
| Constructor Detail |
NodeInfo(int i)
| Method Detail |
public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparablestatic boolean allKeysDifferent(NodeInfo[] w)
static int hashArray(java.lang.Integer[] r)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||