You are currently utilizing Dijkstra's algorithm when doing pathfinding here, A* is supported by the networkx library and should be more optimized for this task. Updating the code to utilize A* instead of Dijkstra's algorithm shouldn't be much work. 😄
You are currently utilizing Dijkstra's algorithm when doing pathfinding here, A* is supported by the networkx library and should be more optimized for this task. Updating the code to utilize A* instead of Dijkstra's algorithm shouldn't be much work. 😄