Implementation of A Star (A*) Algorithm in Java?

Try several, measure, pick the fastest, adapt to your needs. Performance is mostly determined by the choice of heuristic function, which is independent of A* proper. If the heuristic is fixed, the implementation of the priority queue is likely to become the bottleneck, so try java.util.

PriorityQueue binary heaps, binomial heaps, Fibonacci heaps and whatever fancy data structure you can come up with.

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.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions