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, toString
protected double getWeight()
public Object clone()
clone
in class Object
Object.clone()
Copyright © 2017. All rights reserved.