資源簡介
蟻群算法采用matlab開發的仿真平臺:算法實現,路徑顯示,人機交互控制等。

代碼片段和文件信息
function?varargout?=?antinface(varargin)
%?ANTINFACE?M-file?for?antinface.fig
%??????ANTINFACE?by?itself?creates?a?new?ANTINFACE?or?raises?the?existing
%??????singleton*.
%
%??????H?=?ANTINFACE?returns?the?handle?to?a?new?ANTINFACE?or?the?handle?to
%??????the?existing?singleton*.
%
%??????ANTINFACE(‘CALLBACK‘hobjecteventDatahandles...)?calls?the?local
%??????function?named?CALLBACK?in?ANTINFACE.M?with?the?given?input?arguments.
%
%??????ANTINFACE(‘Property‘‘Value‘...)?creates?a?new?ANTINFACE?or?raises?the
%??????existing?singleton*.??Starting?from?the?left?property?value?pairs?are
%??????applied?to?the?GUI?before?antinface_OpeningFcn?gets?called.??An
%??????unrecognized?property?name?or?invalid?value?makes?property?application
%??????stop.??All?inputs?are?passed?to?antinface_OpeningFcn?via?varargin.
%
%??????*See?GUI?Options?on?GUIDE‘s?Tools?menu.??Choose?“GUI?allows?only?one
%??????instance?to?run?(singleton)“.
%
%?See?also:?GUIDE?GUIDATA?GUIHANDLES
%?Edit?the?above?text?to?modify?the?response?to?help?antinface
%?Last?Modified?by?GUIDE?v2.5?02-Jun-2008?10:29:35
%?Begin?initialization?code?-?DO?NOT?EDIT
gui_Singleton?=?1;
gui_State?=?struct(‘gui_Name‘???????mfilename?...
???????????????????‘gui_Singleton‘??gui_Singleton?...
???????????????????‘gui_OpeningFcn‘?@antinface_OpeningFcn?...
???????????????????‘gui_OutputFcn‘??@antinface_OutputFcn?...
???????????????????‘gui_LayoutFcn‘??[]??...
???????????????????‘gui_Callback‘???[]);
if?nargin?&&?ischar(varargin{1})
????gui_State.gui_Callback?=?str2func(varargin{1});
end
if?nargout
????[varargout{1:nargout}]?=?gui_mainfcn(gui_State?varargin{:});
else
????gui_mainfcn(gui_State?varargin{:});
end
%?End?initialization?code?-?DO?NOT?EDIT
%?---?Executes?just?before?antinface?is?made?visible.
function?antinface_OpeningFcn(hobject?eventdata?handles?varargin)
%?This?function?has?no?output?args?see?OutputFcn.
%?hobject????handle?to?figure
%?eventdata??reserved?-?to?be?defined?in?a?future?version?of?MATLAB
%?handles????structure?with?handles?and?user?state?(see?GUIDATA)
%?varargin???command?line?arguments?to?antinface?(see?VARARGIN)
%?Choose?default?command?line?output?for?antinface
handles.output?=?hobject;
%?Update?handles?structure
guidata(hobject?handles);
h=waitbar(0‘請等待......‘);
for?i=1:100
????waitbar(i/100);
end
delete(h);
%?UIWAIT?makes?antinface?wait?for?user?response?(see?UIRESUME)
%?uiwait(handles.handles);
%?---?Outputs?from?this?function?are?returned?to?the?command?line.
function?varargout?=?antinface_OutputFcn(hobject?eventdata?handles)?
%?varargout??cell?array?for?returning?output?args?(see?VARARGOUT);
%?hobject????handle?to?figure
%?eventdata??reserved?-?to?be?defined?in?a?future?version?of?MATLAB
%?handles????structure?with?handles?and?user?state?(see?GUIDATA)
%?Get?default?command?line?output?from?handles?structure
varargout{1}?=?handles.output;
function?edit_initao_Callback(hobject?eventdata?handles)
%?hobject????handle?to?edit_initao?(see?GCB
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????1692214??2008-06-04?11:26??ant\ant.bmp
?????文件??????26319??2008-07-20?17:57??ant\antinface.asv
?????文件???????6848??2008-07-10?22:31??ant\antinface.fig
?????文件??????26341??2008-07-20?19:18??ant\antinface.m
?????文件??????17383??2008-06-30?23:17??ant\hs_err_pid2044.log
?????文件??????17397??2008-07-20?19:24??ant\hs_err_pid2208.log
?????文件??????15529??2008-07-10?09:37??ant\hs_err_pid2452.log
?????文件??????15666??2008-07-09?15:09??ant\hs_err_pid2732.log
?????文件??????13711??2008-06-25?08:26??ant\hs_err_pid2764.log
?????文件??????16099??2008-06-23?17:02??ant\hs_err_pid3176.log
?????文件??????15394??2008-07-10?17:23??ant\hs_err_pid3244.log
?????文件??????15501??2008-07-19?14:34??ant\hs_err_pid3324.log
?????文件??????15503??2008-07-19?15:13??ant\hs_err_pid3632.log
?????文件??????15188??2008-07-10?17:12??ant\hs_err_pid3904.log
?????文件???????6904??2008-07-10?16:57??ant\test.txt
?????文件????3225318??2008-06-02?16:41??ant\初始化圖像.bmp
?????目錄??????????0??2008-08-18?13:17??ant
-----------?---------??----------?-----??----
??????????????5141533????????????????????18
評論
共有 條評論