jrnunes1993 / algorithms

Example of algorithm implementation in C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example of algorithm implementation in C++

Algorithm list:


  • A* Search:

Result of the executation:

██████████████████
█**************..█
█..............*.█
█....██......███*█
█..█.......█...█*█
█..█.......█...█*█
████████████████*█
█..*************.█
█.*███████████████
█..******........█
█..██████*████████
█....███.*...███.█
█..█...█.*.█...█.█
█..█...█.*.█...█.█
████████*███████.█
█........*.......█
█.........**.....█
██████████████████

Path cost 46: (0, 0) (1, 0) (2, 0) (3, 0) (4, 0) (5, 0) (6, 0) (7, 0) (8, 0) (9, 0) (10, 0) (11, 0) (12, 0) (13, 0) (14, 1) (15, 2) (15, 3) (15, 4) (15, 5) (14, 6) (13, 6) (12, 6) (11, 6) (10, 6) (9, 6) (8, 6) (7, 6) (6, 6) (5, 6) (4, 6) (3, 6) (2, 6) (1, 7) (2, 8) (3, 8) (4, 8) (5, 8) (6, 8) (7, 8) (8, 9) (8, 10) (8, 11) (8, 12) (7, 13) (8, 14) (9, 15) (10, 15) 

About

Example of algorithm implementation in C++