I am computing a shortest path with A* algorithm of GeoTools:
AStarShortestPathFinder pf = new AStarShortestPathFinder( myGraph, nodeFrom, nodeTo, myAstarfun); pf.calculate(); Path p = pf.getPath();
How could I then retrieve the cost of the computed path
DijkstraShortestPathFinder, this can be obtained easily with a
pf.getCost(nodeTo) but no similar method seems available with A*. I did not find information in the documentation to do that.