org._3pq.jgrapht.graph
Class DefaultDirectedWeightedGraph
- Cloneable, DirectedGraph, Graph, Serializable, WeightedGraph
public class DefaultDirectedWeightedGraph
A directed weighted graph. A directed weighted graph is a non-simple
directed graph in which multiple edges between any two vertices are
not permitted, but loops are. The graph has weights on its edges.
prefixed 'Default' to avoid name collision with the DirectedWeightedGraph
interface.
addEdge , addEdge , addVertex , clone , containsEdge , containsVertex , degreeOf , edgeSet , edgesOf , getAllEdges , getEdge , getEdgeFactory , inDegreeOf , incomingEdgesOf , isAllowingLoops , isAllowingMultipleEdges , outDegreeOf , outgoingEdgesOf , removeEdge , removeEdge , removeVertex , setEdgeListFactory , vertexSet |
DefaultDirectedWeightedGraph
public DefaultDirectedWeightedGraph()
Creates a new directed weighted graph.
DefaultDirectedWeightedGraph
public DefaultDirectedWeightedGraph(EdgeFactory ef)
Creates a new directed weighted graph with the specified edge factory.
ef
- the edge factory of the new graph.