Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 741 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 741 Bytes

Python A-Star (A*)

A basic A* implementation with python and jupyter notebooks using the euclidean distance.

Check the notebook to see the full example.

Sample

The starting point is green, the end is in red. Obstacles are colored blue. The resulting path between start and end is yellow.

Initial Maze

initial_maze = np.array([
    [0, 0, 0, 0, 0, 0, 0],
    [0, 0, 0, 3, 0, 0, 0],
    [0, 1, 0, 3, 0, 2, 0],
    [0, 0, 0, 3, 0, 0, 0],
    [0, 0, 0, 0, 0, 0, 0]
])

input

Resulting Path

output

Sources