|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

public interface Path
This class models a (not necessarily simple) modifiable directed path in a graph, i.e., a sequence of nodes and edges.
| Method Summary | |
|---|---|
void |
appendEdge(Edge e)
Add an edge to the end of the path. |
void |
init(NeighborhoodGraphProp g)
This method must be called before nodes and edges are added to the path. |
void |
prependEdge(Edge e)
Add an edge to the beginning of the path |
void |
setInitialNode(Node v)
Sets a single first node of the path. |
| Methods inherited from interface net.sourceforge.combean.interfaces.graph.containers.FixedPath |
|---|
getEdgeIterator, getFirstNode, getLastNode, getNodeIterator, getNumNodes |
| Method Detail |
|---|
void init(NeighborhoodGraphProp g)
g - the graph which contains the path to be constructedvoid setInitialNode(Node v)
v - the node which shall be added to the path.void appendEdge(Edge e)
e - the edge to be addedvoid prependEdge(Edge e)
e - the edge to be added
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||