|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unihalle.informatik.MiToBo.tracking.multitarget.datatypes.impl.GraphNodeID
public class GraphNodeID
A graph node object to hold a nodeID as well as a subgraphID
Field Summary | |
---|---|
int |
nodeID
The node's ID |
int |
subgraphID
The node's subgraphID |
Constructor Summary | |
---|---|
GraphNodeID(int nodeID)
Constructor (subgraphID=0) |
|
GraphNodeID(int nodeID,
int subgraphID)
Constructor to assign the node to a subgraph |
Method Summary | |
---|---|
int |
compare(GraphNodeID o1,
GraphNodeID o2)
|
int |
compareTo(GraphNodeID o)
|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int nodeID
public int subgraphID
Constructor Detail |
---|
public GraphNodeID(int nodeID)
public GraphNodeID(int nodeID, int subgraphID)
Method Detail |
---|
public int compare(GraphNodeID o1, GraphNodeID o2)
compare
in interface java.util.Comparator<GraphNodeID>
public int compareTo(GraphNodeID o)
compareTo
in interface java.lang.Comparable<GraphNodeID>
public boolean equals(java.lang.Object o)
equals
in interface java.util.Comparator<GraphNodeID>
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |