|
xmlgraphics-commons 1.3.1 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents an edge (or direct route between two points) for the DijkstraAlgorithm
.
Implement this class to hold the start and end vertex for an edge and implement the
getPenalty()
method.
Method Summary | |
Vertex |
getEnd()
Returns the end vertex of the edge. |
int |
getPenalty()
Returns the penalty (or distance) for this edge. |
Vertex |
getStart()
Returns the start vertex of the edge. |
Method Detail |
public Vertex getStart()
public Vertex getEnd()
public int getPenalty()
|
xmlgraphics-commons 1.3.1 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |