/a_search

Simple A Star Search

Primary LanguagePython

A* Search

The A * algorithm is an improved version of the Dijkstra algorithm. While in Dijkstra it searches for the smallest path among all possibilities, the algorithm of A * does a search giving preference to a path that, in relation to the destination, will have the shortest distance. In Dijkstra, he may end up going further if the neighbor has the slightest path to himself. In A *, if the neighbor that has the smallest path in relation to the current point is distancing itself from the destination, the algorithm will prefer another neighbor, even if in relation to the present one this neighbor has a greater distance but has the smallest distance between it and fate among the given possibilities.

References

A* Searcj Algorithm.

Geeks For Geeks.

Let's Learn Python #20 - A* Algorithm.

A* (A Star) Search Algorithm - Computerphile.

A* (A Star) Search Algorithm - geekforgeeks.

A* Pathfinding (E01: algorithm explanation).