com.phoenixst.plexus
public interface Weight
| 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).
|
Parameters: edge the edge whose weight is to be returned.
Parameters: edge the edge whose weight is to be set. weight the new weight of the specified edge.
Throws: UnsupportedOperationException if this method is not supported.