|
||||||||||
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
@ALDMetaInfo(export=ALLOWED) 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(Object o)
|
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 String toString()
toString
in class Object
public int compareTo(GraphNodeID o)
compareTo
in interface Comparable<GraphNodeID>
public int compare(GraphNodeID o1, GraphNodeID o2)
compare
in interface Comparator<GraphNodeID>
public boolean equals(Object o)
equals
in interface Comparator<GraphNodeID>
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |