Home > other >  Multiple ant colony algorithm in the application of robot path planning and its GUI in MATLAB show (
Multiple ant colony algorithm in the application of robot path planning and its GUI in MATLAB show (

Time:10-03

During my graduate research of ant colony algorithm and its application in robot path planning,
While have a class this code is to draw a graph to compare different kinds of ant colony algorithm, the main package ACS, MMAS, EAS, such as the classical ant colony algorithm, finally also includes himself another algorithm is put forward,
This code has been successfully applied to the software copyright (and therefore please note: the this code has the copyright)
Software environment is mainly (2016 b and above) under MATLAB GUI,
Main functions are:
1, the comparison of different algorithms in different operation under grid environment, (grid environment to design)
2, observe the result of the experiment, including iterative curve and many times the average of the operation, can be directly observed the robustness of algorithm itself,
3, the code is modular design, can also learn a variety of ant colony algorithm,
Download address: https://download.csdn.net/download/qq_27261889/10735012

Use the screenshot is as follows:

CodePudding user response:

CodePudding user response:


Here is the existing grid environment

CodePudding user response:

This is all the code

CodePudding user response:

Excuse me so much of your code, which is the main function, and want to grid path planning figure code as a result, the saw no main function like a circle

CodePudding user response:

The initial interface
Operation interface

reference 4 floor weixin_41465310 response:
excuse me so much of your code, which is the main function, and want to grid path planning result figure code, the saw a circle are not the main function like



Main_gui is the main function,

CodePudding user response:

Thank you very much! Useful, thanks for your sharing and fast answer! Gratitude!

CodePudding user response:

I was supposed to preach my documentation, but I can't find it,
There are a lot of the role of the button did not say,
Include some data preservation,
Have questions coming again,

In addition, the software also has some bugs, I know one or two,
Met, also please make your own overcome,
Or come out together to solve,

refer to 6th floor weixin_41465310 response:
thank you very much! Useful, thanks for your sharing and fast answer! Gratitude!

CodePudding user response:

refer to 6th floor weixin_41465310 response:
thank you very much! Useful, thanks for your sharing and fast answer! Gratitude!


Now you please do me a favor, I can't comment on resources, you help me to say it, what is the main program file please,
It is my responsibility,
Thank you for the

CodePudding user response:

Main_gui is the main function,
In addition: you obstacle map grid maximum is 50, I go back to the major if no response, and I don't know you AS what is worth it? Your essay using the ACO, ACS, RAS, EAS, right?

CodePudding user response:

In addition it convenient for you leave email? I try to refer to the result of your algorithm to further communication, and the copyright problem,

CodePudding user response:

references 9 f weixin_41465310 response:
main_gui is the main function,
In addition: you obstacle map grid maximum is 50, I go back to the major if no response, and I don't know you AS what is worth it? Your essay using the ACO, ACS, RAS, EAS, right?


I can clearly tell you, this is not a real sense of ACS (I mean exactly the same as the article and founder),
As the founder of the ACS is TSP problem, it inspired the reciprocal of distance function can be,, that is, the greater the distance, the smaller the probability of selection for the next node,
But in the grid, the problem is not the same, in this program, I am using the next node and the end point to determine the distance, is simply the nearer the end, the greater the probability of selection for the next node,
This is a great different in the robot path planning and the TSP problem,
In addition, I basically design according to the original algorithm, which is corresponding to the article, such AS, the ACS, EAS, RAS, among them the AS and EAS are actually the same article,

Also can be the big, but very slow, I don't suggest you also continue to increase,
Increasing problem is I don't have a complete solution, I have a program that is designed to solve the problem of large-scale, link is as follows: https://download.csdn.net/download/qq_27261889/10686904
Link, I also have instructions,


Email address: [email protected]
But now I no longer continue to study ant colony algorithm for a while, don't spend time to think,
If I happen to know, I would say I understand it,
Thank you

CodePudding user response:

Would like to ask you to think on the robot path planning, ant colony algorithm compared with traditional algorithm, such as A * algorithm, the advantage of the Dijkstra algorithm in where?

CodePudding user response:

refer to 12 floor weixin_41465310 reply:
want to excuse me, can you tell me what you think on the robot path planning, ant colony algorithm compared with traditional algorithm, such as A * algorithm, the advantage of the Dijkstra algorithm in where?



Ant colony algorithm is optimized algorithm, belong to the intelligent algorithm, speed is slow, it is in order to get a better solution,
A * algorithm is A heuristic algorithm, more quickly, but don't care much about the result is optimal,
That is the ultimate goal is a little different,

CodePudding user response:

Why when I was running, the main function of basic error

CodePudding user response:

On the 14th floor weixin_43906103
reference response:
why when I was running, the main function is basic error

Program is only one main function, you can say what your application submitted to the errors,
Some of them are wrong, because my program there are some problems of operation, should have no problem but simple words,
You can write out your mistake, otherwise I can't help you solve,
I was all the programs and files spread up, other places don't know what wrong,

CodePudding user response:

Hello, when I was running, click on the GUI of each button is an error, and interface a bit, I'm matlab2017a

Direct point began to run an error below
Structure content references from the structure array object,

Error main_GUI_xu & gt; Pushbutton4_Callback (line 670)
Set (handles edit57, 'string', 1); Set (handles edit58, 'string', 1); Set (handles edit59, 'string', 1);

Error gui_mainfcn (line 95)
Feval (varargin {that});

Error main_GUI_xu (line 42)
Gui_mainfcn (gui_State, varargin {that});

Error
Matlab. Graphics. Internal. Figfile. Figfile/read> @ (hObject, eventdata) main_GUI_xu (' pushbutton4_Callback, hObject, eventdata, guidata (hObject))
An error occured while calculating the UIControl Callback.

CodePudding user response:

I know what is going on, I perform file is wrong, should be performed. M, I performed. FIG,,,,, disturb the building Lord, thank you for your share for everybody to learn

CodePudding user response:

Hello, I want to, I would like to ask about your software after the operation of the path roadmap, iterative graph when the save why error can not save?

CodePudding user response:

nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related