|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jgrapht.graph.AbstractGraph<V,E>
org.jgrapht.graph.AbstractBaseGraph<V,E>
org.jgrapht.graph.DirectedMultigraph<V,E>
org.javanetworkanalyzer.model.TraversalGraph<V,E>
public class TraversalGraph<V,E>
A simple directed graph for shortest path "trees" (multiple shortest paths
are allowed) in Dijkstra and BFS as well as DFS traversal graphs.
| Constructor Summary | |
|---|---|
TraversalGraph(Class<? extends E> edgeClass,
V root)
Constructor |
|
TraversalGraph(org.jgrapht.EdgeFactory<V,E> ef,
V root)
Constructor |
|
| Method Summary | |
|---|---|
V |
getRoot()
Return the root. |
| Methods inherited from class org.jgrapht.graph.AbstractBaseGraph |
|---|
addEdge, addEdge, addVertex, clone, containsEdge, containsVertex, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, incomingEdgesOf, inDegreeOf, isAllowingLoops, isAllowingMultipleEdges, outDegreeOf, outgoingEdgesOf, removeEdge, removeEdge, removeVertex, setEdgeSetFactory, setEdgeWeight, vertexSet |
| Methods inherited from class org.jgrapht.graph.AbstractGraph |
|---|
assertVertexExist, containsEdge, equals, hashCode, removeAllEdges, removeAllEdges, removeAllEdges, removeAllVertices, toString, toStringFromSets |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jgrapht.DirectedGraph |
|---|
incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf |
| Methods inherited from interface org.jgrapht.Graph |
|---|
addEdge, addEdge, addVertex, containsEdge, containsEdge, containsVertex, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, vertexSet |
| Constructor Detail |
|---|
public TraversalGraph(Class<? extends E> edgeClass,
V root)
edgeClass - class on which to base factory for edgesroot - Root
public TraversalGraph(org.jgrapht.EdgeFactory<V,E> ef,
V root)
ef - the edge factory of the new graph.root - Root| Method Detail |
|---|
public V getRoot()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||