public class GraphNodeID extends Object implements Comparable<GraphNodeID>, Comparator<GraphNodeID>
| Modifier and Type | Field and Description |
|---|---|
int |
nodeID
The node's ID
|
int |
subgraphID
The node's subgraphID
|
| Constructor and Description |
|---|
GraphNodeID(int nodeID)
Constructor (subgraphID=0)
|
GraphNodeID(int nodeID,
int subgraphID)
Constructor to assign the node to a subgraph
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(GraphNodeID o1,
GraphNodeID o2) |
int |
compareTo(GraphNodeID o) |
boolean |
equals(Object o) |
String |
toString() |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int nodeID
public int subgraphID
public GraphNodeID(int nodeID)
public GraphNodeID(int nodeID,
int subgraphID)
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 ObjectCopyright © 2010–2025 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.