graphstream / gs-core

Graphstream core
http://graphstream-project.org/
Other
400 stars 108 forks source link

AStar and noPathFound #63

Closed ThibautDemare closed 12 years ago

ThibautDemare commented 12 years ago

Hello,

I think it lacks the following line in the AStar algorithm (after the "while (!open.isEmpty())" in the "aStar" method) : noPathFound = true;

Otherwise the variable is always false.

Thibaut

Ant01n3 commented 12 years ago

Indeed the variable was never used. This is corrected in the last commit on gs-algo. It will be available in the nightly builds tomorrow.

Thanks.