Package org.jgrapht.graph
Class ListenableDirectedGraph<V,E>
java.lang.Object
org.jgrapht.graph.AbstractGraph<V,E>
org.jgrapht.graph.GraphDelegator<V,E>
org.jgrapht.graph.DefaultListenableGraph<V,E>
org.jgrapht.graph.ListenableDirectedGraph<V,E>
- All Implemented Interfaces:
Serializable,Cloneable,DirectedGraph<V,,E> Graph<V,,E> ListenableGraph<V,E>
- Direct Known Subclasses:
ListenableDirectedWeightedGraph
public class ListenableDirectedGraph<V,E>
extends DefaultListenableGraph<V,E>
implements DirectedGraph<V,E>
A directed graph which is also
ListenableGraph.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionListenableDirectedGraph(Class<? extends E> edgeClass) Creates a new listenable directed graph.ListenableDirectedGraph(DirectedGraph<V, E> base) Creates a new listenable directed graph. -
Method Summary
Methods inherited from class org.jgrapht.graph.DefaultListenableGraph
addEdge, addEdge, addGraphListener, addVertex, addVertexSetListener, clone, fireEdgeAdded, fireEdgeRemoved, fireVertexAdded, fireVertexRemoved, isReuseEvents, removeEdge, removeEdge, removeGraphListener, removeVertex, removeVertexSetListener, setReuseEventsMethods inherited from class org.jgrapht.graph.GraphDelegator
containsEdge, containsVertex, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf, setEdgeWeight, toString, vertexSetMethods inherited from class org.jgrapht.graph.AbstractGraph
assertVertexExist, containsEdge, removeAllEdges, removeAllEdges, removeAllEdges, removeAllVertices, toStringFromSetsMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jgrapht.DirectedGraph
incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOfMethods 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 Details
-
ListenableDirectedGraph
Creates a new listenable directed graph.- Parameters:
edgeClass- class on which to base factory for edges
-
ListenableDirectedGraph
Creates a new listenable directed graph.- Parameters:
base- the backing graph.
-