public class DefaultWeightedEdge extends DefaultEdge
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.| Constructor and Description |
|---|
DefaultWeightedEdge() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
protected double |
getWeight()
Retrieves the weight of this edge.
|
getSource, getTarget, toStringprotected double getWeight()
public java.lang.Object clone()
clone in class java.lang.ObjectObject.clone()