Skip to content

A package to use A* algorithm with any type of coordinates

License

Notifications You must be signed in to change notification settings

ThunderTecke/AStared

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AStared

This package provide the A* algorithm for any type of coordinates. You can find more information here.

Installation

python3.11 -m pip install AStared

Usage

You can find examples here.

In global lines, you must define 2 functions to interact with your coordinates. And then pass it to the function AStar

These function are :

  • Heuristic estimation to the end node
  • Neighbours giver, that return all valid neightbours that can be reached with only 1 step