org._3pq.jgrapht.graph
Class SimpleDirectedGraph
- Cloneable, DirectedGraph, Graph, Serializable
public class SimpleDirectedGraph
A simple directed graph. A simple directed graph is a directed graph in
which neither multiple edges between any two vertices nor loops 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 |
SimpleDirectedGraph
public SimpleDirectedGraph()
Creates a new simple directed graph.
SimpleDirectedGraph
public SimpleDirectedGraph(EdgeFactory ef)
Creates a new simple directed graph with the specified edge factory.
ef
- the edge factory of the new graph.