|
||||||||||
| 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.GraphDelegator<V,E>
org.jgrapht.graph.EdgeReversedGraph<V,E>
org.javanetworkanalyzer.model.EdgeReversedG<V,E>
public class EdgeReversedG<V extends VId,E extends EdgeID>
Provides an edge-reversed view of a directed graph.
| Constructor Summary | |
|---|---|
EdgeReversedG(DirectedG<V,E> g)
|
|
| Method Summary | |
|---|---|
E |
addEdge(int source,
int target)
Add an edge from the vertex with id source to the vertex with id target. |
E |
addEdge(int source,
int target,
int edgeID)
Add an edge from the vertex with id source to the vertex with id target and set the edge id. |
boolean |
addVertex(int id)
Add a vertex with the given id. |
V |
getVertex(int id)
Get the vertex with the given id. |
| Methods inherited from class org.jgrapht.graph.EdgeReversedGraph |
|---|
addEdge, addEdge, getAllEdges, getEdge, getEdgeSource, getEdgeTarget, incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf, removeEdge, toString |
| Methods inherited from class org.jgrapht.graph.GraphDelegator |
|---|
addVertex, containsEdge, containsVertex, degreeOf, edgeSet, edgesOf, getEdgeFactory, getEdgeWeight, removeEdge, removeVertex, setEdgeWeight, vertexSet |
| Methods inherited from class org.jgrapht.graph.AbstractGraph |
|---|
assertVertexExist, containsEdge, equals, hashCode, removeAllEdges, removeAllEdges, removeAllEdges, removeAllVertices, toStringFromSets |
| Methods inherited from class java.lang.Object |
|---|
clone, 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 EdgeReversedG(DirectedG<V,E> g)
throws NoSuchMethodException
NoSuchMethodException| Method Detail |
|---|
public boolean addVertex(int id)
KeyedGraph
addVertex in interface KeyedGraph<V extends VId,E extends EdgeID>id - Id
public V getVertex(int id)
KeyedGraph
getVertex in interface KeyedGraph<V extends VId,E extends EdgeID>id - Id.
public E addEdge(int source,
int target)
KeyedGraph
addEdge in interface KeyedGraph<V extends VId,E extends EdgeID>source - Source id.target - Target Id.
public E addEdge(int source,
int target,
int edgeID)
KeyedGraph
addEdge in interface KeyedGraph<V extends VId,E extends EdgeID>source - Source id.target - Target id.edgeID - Edge id.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||