A* algorithm in vehicular network

2 views (last 30 days)
Vartika Agarwal
Vartika Agarwal on 11 Nov 2022
Answered: Vidip on 15 May 2024
I just want to use A* algorithm for finding the shortest path. Can you please help me

Answers (1)

Vidip
Vidip on 15 May 2024
I understand that you want to use A* algorithm for finding the shortest path, you can use ‘plannerAStarGrid’, it creates an A* path planner. The planner performs an A* search on an occupancy map and finds shortest obstacle-free path between the specified start and goal grid locations as determined by heuristic cost.
For more information, you can refer to the documentation link below –

Tags

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!