org._3pq.jgrapht.graph
Class DirectedMultigraph
- Cloneable, DirectedGraph, Graph, Serializable
public class DirectedMultigraph
A directed multigraph. A directed multigraph is a non-simple directed graph
in which loops and multiple edges between any two vertices are permitted.
addEdge, addEdge, addVertex, clone, containsEdge, containsVertex, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, inDegreeOf, incomingEdgesOf, isAllowingLoops, isAllowingMultipleEdges, outDegreeOf, outgoingEdgesOf, removeEdge, removeEdge, removeVertex, setEdgeListFactory, vertexSet |
DirectedMultigraph
public DirectedMultigraph()
Creates a new directed multigraph.
DirectedMultigraph
public DirectedMultigraph(EdgeFactory ef)
Creates a new directed multigraph with the specified edge factory.
ef - the edge factory of the new graph.