org._3pq.jgrapht.graph

Class SimpleDirectedGraph

Implemented Interfaces:
Cloneable, DirectedGraph, Graph, Serializable
Known Direct Subclasses:
SimpleDirectedWeightedGraph

public class SimpleDirectedGraph
extends AbstractBaseGraph
implements DirectedGraph

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.

Constructor Summary

SimpleDirectedGraph()
Creates a new simple directed graph.
SimpleDirectedGraph(EdgeFactory ef)
Creates a new simple directed graph with the specified edge factory.

Method Summary

Methods inherited from class org._3pq.jgrapht.graph.AbstractBaseGraph

addEdge, addEdge, addVertex, clone, containsEdge, containsVertex, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, inDegreeOf, incomingEdgesOf, isAllowingLoops, isAllowingMultipleEdges, outDegreeOf, outgoingEdgesOf, removeEdge, removeEdge, removeVertex, setEdgeListFactory, vertexSet

Methods inherited from class org._3pq.jgrapht.graph.AbstractGraph

addAllEdges, addAllVertices, assertVertexExist, containsEdge, removeAllEdges, removeAllEdges, removeAllEdges, removeAllVertices, toString, toStringFromSets

Constructor Details

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.
Parameters:
ef - the edge factory of the new graph.