Python – A Star Search in Graph

A* is probably my favourite graph search algorithm. Some 10+ years ago, I have implmented it with Excel and after that I have written a few more implementations. Just, not to repeat myself, I will not discuss it here. The reason for this article is the set of videos in YouTube, that I have started about Graph Algorithms. Thus, A* had to be presented there.

This article contains some of the other articles and nice music, seeing the code just working by itself in Excel:

VBA – A* Search Algorithm with Excel

The implementation in Python, actually steps upon the Dijkstra algorithm and changes it a bit. The code itself is here:

The GitHub with the Jupyter Notebook and the complete input is there – https://github.com/Vitosh/Python_personal/blob/master/YouTube/048_Python-Graph/048-Graph-A-Star.ipynb

Thanks and enjoy! 🙂

Tagged with: , , , , ,