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

回答 (1 件)

Walter Roberson
Walter Roberson 2016 年 7 月 23 日

0 投票

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 件のコメント

SUSHMA MB
SUSHMA MB 2016 年 7 月 23 日
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 2016 年 7 月 23 日
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 2016 年 7 月 24 日
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 2016 年 7 月 24 日
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 2016 年 7 月 24 日
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 2016 年 7 月 25 日
mydata = importdata('d:\matlab7\work\test3.dat');
The above mentioned file is missing. What kind of file is this?
Walter Roberson
Walter Roberson 2016 年 7 月 25 日
We do not know. The code is not well documented.
Not all File Exchange Contributions are useful.

サインインしてコメントする。

カテゴリ

質問済み:

2016 年 7 月 23 日

コメント済み:

2016 年 7 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by