|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
N - the type of the source and target nodepublic interface Edge<N>
This interface models an element of the edge E set of a graph G=(N,E). Each edge e=(n1,n2) connects the source node n1 to the target node n2, where n1 and n2 are elements of N.
| Method Summary | |
|---|---|
N |
getSource()
Returns the source node of this edge. |
N |
getTarget()
Returns the target node of this edge. |
| Method Detail |
|---|
N getSource()
N getTarget()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||