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

Risposte (1)

Walter Roberson
Walter Roberson il 23 Lug 2016

0 voti

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 Commenti

SUSHMA MB
SUSHMA MB il 23 Lug 2016
I am not able to get the code for the shortest path between two points. I dnt want the TSP code.
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 il 24 Lug 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 il 24 Lug 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
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 il 25 Lug 2016
mydata = importdata('d:\matlab7\work\test3.dat');
The above mentioned file is missing. What kind of file is this?
We do not know. The code is not well documented.
Not all File Exchange Contributions are useful.

Accedi per commentare.

Richiesto:

il 23 Lug 2016

Commentato:

il 25 Lug 2016

Community Treasure Hunt

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

Start Hunting!

Translated by