How to add a study area to ant algorithm in MATLAB?

2 views (last 30 days)
I have an ant algorithm code, where the ant finds path from one point to the other through the help of deposited pheromone. In this the study area is divided into some orthogonal planes where the ant finds the path, as shown in the figure, and ant code is also attached
Now i want to add a study area to the code, where i have 'n' number of polygons, and the ant should reach from start point to the end point by avoiding these polygons.

Answers (0)

Community Treasure Hunt

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

Start Hunting!