org._3pq.jgrapht.graph
Class SimpleWeightedGraph
- Cloneable, Graph, Serializable, UndirectedGraph, WeightedGraph
public class SimpleWeightedGraph
A simple weighted graph. A simple weighted graph is a simple graph for
which edges are assigned weights.
addEdge , addEdge , addVertex , clone , containsEdge , containsVertex , degreeOf , edgeSet , edgesOf , getAllEdges , getEdge , getEdgeFactory , inDegreeOf , incomingEdgesOf , isAllowingLoops , isAllowingMultipleEdges , outDegreeOf , outgoingEdgesOf , removeEdge , removeEdge , removeVertex , setEdgeListFactory , vertexSet |
SimpleWeightedGraph
public SimpleWeightedGraph()
Creates a new simple weighted graph.
SimpleWeightedGraph
public SimpleWeightedGraph(EdgeFactory ef)
Creates a new simple weighted graph with the specified edge factory.
ef
- the edge factory of the new graph.