T - the weight type of the edgeR - the type of edge (only needed for reverse, java generics really do suck)public interface DirectedEdge<T,R extends DirectedEdge<T,R>>
| Modifier and Type | Method and Description |
|---|---|
int |
from()
Returns where the edge starts.
|
R |
reversed()
|
int |
to()
Returns where the edge ends.
|
T |
weight()
Returns the weight of the edge.
|
int from()
int to()
T weight()