- public interface Weight
A weight function, which may be applied to Graph.Edges.
- Since:
- 1.0
- Version:
- $Revision: 1.3 $
|
Method Summary |
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). |
getWeight
public double getWeight(Graph.Edge edge)
- Gets the weight of the specified edge.
setWeight
public void setWeight(Graph.Edge edge,
double weight)
- Sets the weight of the specified edge (optional operation).