global A0;
global n; %city number
global g;
m=str2double(get(handles.edit_antsum,'String')); %set ant number by using Matlab GUI
initao=str2double(get(handles.edit_tao,'String'));
alpha=str2double(get(handles.edit_alpha,'String'));
beta=str2double(get(handles.edit_beta,'String'));
Q=str2double(get(handles.edit_q,'String'));
rou=str2double(get(handles.edit_rou,'String'));
NCmax=str2double(get(handles.edit_ncmax,'String'));
A=reshape(A0,3,n); %get the city coordinates in TSP
蚁群算法matlab.rar_matlab蚁群_蚁群matlab_蚁群算法MATLAB_蚁群车辆_车辆路径优化
版权申诉
119 浏览量
2022-07-15
14:26:42
上传
评论
收藏 8KB RAR 举报
邓凌佳
- 粉丝: 65
- 资源: 1万+
评论0