public interface Weight
Edges
.Modifier and Type | Method and Description |
---|---|
double |
getWeight(Graph.Edge edge)
Gets the weight of the specified edge.
|
void |
setWeight(Graph.Edge edge,
double weight)
Sets the weight of the specified edge (optional operation).
|
double getWeight(Graph.Edge edge)
edge
- the edge whose weight is to be returned.void setWeight(Graph.Edge edge, double weight)
edge
- the edge whose weight is to be set.weight
- the new weight of the specified edge.UnsupportedOperationException
- if this method is not
supported.See the Plexus project home, hosted by SourceForge.
Copyright ? 1994-2006, by Phoenix Software Technologists, Inc. and others. All Rights Reserved. Use is subject to license terms.