|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
addConnection(Vertex start,
Edge edge,
Vertex end)
Enter a new segment in the graph. |
void |
addVertex(Vertex v)
Ener a new vertex in the graph. |
java.util.Set |
getAllConnections()
|
java.util.Set |
getConnections(Vertex start,
Vertex end)
|
java.util.Set |
getEdges()
|
java.util.Set |
getInbound(Vertex vertex)
Get the list of vertices that lead to the given vertex. |
java.util.Set |
getOutbound(Vertex vertex)
Get the set of vertices that can be reached from the given vertex. |
java.util.Set |
getVertices()
|
Method Detail |
public java.util.Set getVertices()
public java.util.Set getEdges()
public java.util.Set getOutbound(Vertex vertex)
public java.util.Set getInbound(Vertex vertex)
public void addVertex(Vertex v)
v
- vertexpublic void addConnection(Vertex start, Edge edge, Vertex end)
public java.util.Set getAllConnections()
public java.util.Set getConnections(Vertex start, Vertex end)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |