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