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 |
|---|---|
Object |
clone() |
protected double |
getWeight()
Retrieves the weight of this edge.
|
getSource, getTarget, toStringprotected double getWeight()
public Object clone()
clone in class ObjectObject.clone()Copyright © 2015. All rights reserved.