org.jgrapht.graph
Class ListenableDirectedWeightedGraph<V,E>

java.lang.Object
  extended by org.jgrapht.graph.AbstractGraph<V,E>
      extended by org.jgrapht.graph.GraphDelegator<V,E>
          extended by org.jgrapht.graph.DefaultListenableGraph<V,E>
              extended by org.jgrapht.graph.ListenableDirectedGraph<V,E>
                  extended by org.jgrapht.graph.ListenableDirectedWeightedGraph<V,E>
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, DirectedGraph<V,E>, Graph<V,E>, ListenableGraph<V,E>, WeightedGraph<V,E>

public class ListenableDirectedWeightedGraph<V,E>
extends ListenableDirectedGraph<V,E>
implements WeightedGraph<V,E>

A directed weighted graph which is also ListenableGraph.

See Also:
DefaultListenableGraph, Serialized Form

Field Summary
 
Fields inherited from interface org.jgrapht.WeightedGraph
DEFAULT_EDGE_WEIGHT
 
Constructor Summary
ListenableDirectedWeightedGraph(java.lang.Class<? extends E> edgeClass)
          Creates a new listenable directed weighted graph.
ListenableDirectedWeightedGraph(WeightedGraph<V,E> base)
          Creates a new listenable directed weighted 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, setReuseEvents
 
Methods inherited from class org.jgrapht.graph.GraphDelegator
containsEdge, containsVertex, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf, setEdgeWeight, toString, vertexSet
 
Methods inherited from class org.jgrapht.graph.AbstractGraph
assertVertexExist, containsEdge, removeAllEdges, removeAllEdges, removeAllEdges, removeAllVertices, toStringFromSets
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jgrapht.WeightedGraph
setEdgeWeight
 
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
 
Methods inherited from interface org.jgrapht.DirectedGraph
incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf
 

Constructor Detail

ListenableDirectedWeightedGraph

public ListenableDirectedWeightedGraph(java.lang.Class<? extends E> edgeClass)
Creates a new listenable directed weighted graph.

Parameters:
edgeClass - class on which to base factory for edges

ListenableDirectedWeightedGraph

public ListenableDirectedWeightedGraph(WeightedGraph<V,E> base)
Creates a new listenable directed weighted graph.

Parameters:
base - the backing graph.