Package org.jgrapht.graph
Class DefaultWeightedEdge
java.lang.Object
org.jgrapht.graph.DefaultEdge
org.jgrapht.graph.DefaultWeightedEdge
- All Implemented Interfaces:
Serializable
,Cloneable
A default implementation for edges in a
WeightedGraph
. All access to
the weight of an edge must go through the graph interface, which is why this
class doesn't expose any public methods.- Author:
- John V. Sichi
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jgrapht.graph.DefaultEdge
getSource, getTarget, toString
-
Constructor Details
-
DefaultWeightedEdge
public DefaultWeightedEdge()
-
-
Method Details