MATLAB code for ant algorithm

I am looking for a basic ant algorithm code that can find the optimal path between the two points. I have a source point and a destination point, i need an ant algorithm code that can help to find an optimal path between the source and the destination point. I need the algorithm in MATLAB

Antworten (1)

Walter Roberson
Walter Roberson am 23 Jul. 2016

0 Stimmen

Look in the file exchange. I went through about 10 days ago and tagged all of the ant related contributions with the tag "ant"

7 Kommentare

SUSHMA MB
SUSHMA MB am 23 Jul. 2016
I am not able to get the code for the shortest path between two points. I dnt want the TSP code.
Walter Roberson
Walter Roberson am 23 Jul. 2016
I see that I used aco as the general tag.
Anyhow: it appears that you should get busy writing the code.
SUSHMA MB
SUSHMA MB am 24 Jul. 2016
I am new to MATLAB, and dont have that grip on writing the code. So can you please help me in this. I have gone through your code, ACO_feature_selection.m, but its showing an error while running it. Can you please help to resolve the error.
Thank you
SUSHMA MB
SUSHMA MB am 24 Jul. 2016
And i also want to know that can i add an origin and destination point to this code, because i want a path from origin to destination, a simple path basic ACO will help i guess.
Thank you
Walter Roberson
Walter Roberson am 24 Jul. 2016
ACO_feature_selection.m is by "aesrdf dsfdsfdssd", not by me. That code is not well documented and portions of it are commented out. It is not clear to me whether you could add an origin and destination point to the code.
You did not include the error message that you are seeing.
SUSHMA MB
SUSHMA MB am 25 Jul. 2016
mydata = importdata('d:\matlab7\work\test3.dat');
The above mentioned file is missing. What kind of file is this?
Walter Roberson
Walter Roberson am 25 Jul. 2016
We do not know. The code is not well documented.
Not all File Exchange Contributions are useful.

Melden Sie sich an, um zu kommentieren.

Gefragt:

am 23 Jul. 2016

Kommentiert:

am 25 Jul. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by