|
Plexus v0.13.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Weight
A weight function, which may be applied to Edges.
| 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). |
| Method Detail |
|---|
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.
|
Plexus v0.13.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||