|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectprioritizer.Pairwise.Graph.Node
Defines a node in the graph
Field Summary | |
private java.util.LinkedList |
arcs
|
private Requirement |
req
|
private boolean |
visited
|
Constructor Summary | |
Pairwise.Graph.Node(Requirement req)
Constructs a node corresponding to the specified requirement |
Method Summary | |
void |
addArc(Pairwise.Graph.Arc arc)
Adds an outgoing arc from the node |
Pairwise.Graph.Arc |
getArcTo(Pairwise.Graph.Node node)
Gets the arc from this node to the specified node |
Requirement |
getRequirement()
Get this node's associated requirement |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Requirement req
private java.util.LinkedList arcs
private boolean visited
Constructor Detail |
public Pairwise.Graph.Node(Requirement req)
req
- the requirement to create a node forMethod Detail |
public void addArc(Pairwise.Graph.Arc arc)
arc
- the arc to addpublic Requirement getRequirement()
public Pairwise.Graph.Arc getArcTo(Pairwise.Graph.Node node)
node
- the node to find the arc to
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |