File Exchange

image thumbnail

A* Algorithm

version 1.2.0.0 (8.01 KB) by LorenzoTortorella
Compute Shortest path between starting 3D point and ending one.

22 Downloads

Updated 09 May 2017

View Version History

View License

Giving a vector, it computes the shortest path between the first and last point of that.
Adding a settable number of points to the OPEN set that are nearest than "raggio" value. Or rather, the nodes added to the OPEN set at each step is settable (default equal to the vector length).
The distances are in three dimensions.

Cite As

LorenzoTortorella (2020). A* Algorithm (https://www.mathworks.com/matlabcentral/fileexchange/45546-a-algorithm), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (9)

Amir Sharif

The function 'abv' is missing in the code. Please upload it or send it to my Emial: amirkharl@gmail.com

Samuel Ayankoso

George tar

Can it work with obstacles and how?

Jinlong Fu

Change the name of ''Astar'' m-file to ''A_STAR_new''.

Johannes

I don't understant this function: Where would one get the points in posiz from? Is there some kind of preprocessing necessary to use this algorithm?

Oliver Richartz

great ! it works perfect for me, thank u

Freeman colby

there is something wrong with your code.

Hanlin Niu

Example.m try to run a function which name is "A_STAR_new", but there is no m-file, has this name

Eyüp gürcan

Also has some problems. Example.m try to run a function which name is "A_STAR_new", but there is no m-file, has this name

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!