MATLAB/C++ mixed implementation for Astar search algorithm
1. Extract the zip file
2. Type "Mex Astar.cpp" in MATLAB command window to generate Astar.dll (you must choose to have such ability when installing MATLAB)
"Spath_test.m" is a sample file to compare the performance of Dijkstra and A-star.
Wei Wang (2021). A-star Search Algorithm (https://www.mathworks.com/matlabcentral/fileexchange/8288-a-star-search-algorithm), MATLAB Central File Exchange. Retrieved .
When I tried to compile, I received the following error:
Astar.cpp(6) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
I need more details of program. I haven't undestund wy you have put // ( comments )before lot of instructions.
Needed a lot of improvements, i just added an updated file recently that implements the A-Star more precisely.
Good! but can be excellent with more comments and details inside the codes.It would be better to see more explanatory m file here.
i want full details of the program
Some decsrciption, references (A-star method) and "astar.m" matlab header file (with brief help) will be very useful.
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!