Implementation of A Star (A*) Algorithm in Java

前端 未结 2 1078
无人共我
无人共我 2020-12-15 08:57

Disclaimer: I have little background in Java, since I am predominantly a C# developer.

Would like to have the java implementation of A* algorithm.
Yes, I saw man

2条回答
  •  北荒
    北荒 (楼主)
    2020-12-15 09:45

    If performance is your top priority, A* is probably not your best choice. A* provides an exact solution, and as a result will keep processing away until it finds the correct answer. There are other lightweight solutions that give good enough solutions in much faster time: e.g enforced hill climbing or best-first, even a simple depth first.

提交回复
热议问题