|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.mhhe.clrs2e.AdjacencyListGraph.Edge
Inner class for adjacency list edges. Adjacency lists are singly linked.
Field Summary | |
AdjacencyListGraph.Edge |
next
The next edge in an adjacency list. |
com.mhhe.clrs2e.Vertex |
vertex
An adjacent vertex. |
Constructor Summary | |
AdjacencyListGraph.Edge(com.mhhe.clrs2e.Vertex v,
AdjacencyListGraph.Edge successor)
Creates a new edge. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public com.mhhe.clrs2e.Vertex vertex
public AdjacencyListGraph.Edge next
Constructor Detail |
public AdjacencyListGraph.Edge(com.mhhe.clrs2e.Vertex v, AdjacencyListGraph.Edge successor)
v
- The adjacent vertex.successor
- Successor edge to this one.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |