|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An edge is an ordered pair of nodes with a label attached to it. The first node of the pair is called the tail and the second the head.
Implementing classes are expected to supply a constructor of the form
Graph.Edge(Object tail, Object head, Object label).
| Method Summary | |
Object |
getHead()
Returns the head node of the edge. |
Object |
getLabel()
Returns the label associated with this edge. |
Object |
getTail()
Returns the tail node of the edge. |
| Method Detail |
public Object getTail()
getHead()public Object getHead()
getTail()public Object getLabel()
Float representing the the distance (the
length of the route).
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||