Skip to content

Latest commit

Β 

History

History
30 lines (22 loc) Β· 559 Bytes

Readme.md

File metadata and controls

30 lines (22 loc) Β· 559 Bytes

Binary Map

solves a binary map given start and goal

Example of binary map

0 1 0 0 0 0
0 1 0 0 0 0
0 1 0 0 0 0
0 1 0 1 1 0
0 0 0 0 1 0
  • 1 is for obstacle
  • 0 is for free path
g++ astar.cpp
./a.out

Solution

🚦 β›° 0 0 0 0
πŸš— β›° 0 0 0 0
πŸš— β›° πŸš— πŸš— πŸš— πŸš—
πŸš— β›° πŸš— β›° β›° πŸš—
πŸš— πŸš— πŸš— πŸš— β›° 🏁