|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.graph.util.PathFinder
Constructor Summary | |
PathFinder(Graph graph,
GraphComponent source,
DijkstraTraversal.CostFunction cf)
|
Method Summary | |
void |
calculate()
|
double |
getCost(GraphComponent element)
|
Path |
getPath(GraphComponent element)
|
int |
visit(GraphComponent element)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PathFinder(Graph graph, GraphComponent source, DijkstraTraversal.CostFunction cf)
Method Detail |
public void calculate()
public Path getPath(GraphComponent element)
public double getCost(GraphComponent element)
public int visit(GraphComponent element)
visit
in interface GraphVisitor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |