路径规划是实现移动机器人自主导航的关键技术,是指在有障碍物的环境中,按照一定的评价标准(如距离、时间、能耗等),寻找到一条从起始点到目标点的无碰撞路径,这里选取最短距离路径规划的评价标准,即最短路径规划问题。

1.路径规划数学模型的建立

将移动机器人周围环境用一组数据进行抽象表达,建立二维或三维的环境模型,得到移动机器人能够理解分析的环境数据,是机器人路径规划的基本前提。我这里用的是栅格法,其原理是将周围环境看成一个二维平面,将平面分成一个个等面积大小的具有二值信息的栅格,每个栅格中存储着周围环境信息量,下图我给出了一个栅格法地图,方便大家更好的理解栅格地图。这里设计的栅格地图为一个20×20的地形矩阵,黑色的地方表示有障碍,白色的地方表示没有障碍。【路径规划】基于蚁群算法栅格地图路径规划matlab_路径规划
图1 栅格法地图
在用栅格法建立环境模型时,为了将环境信息转换成移动机器人可以识别的数据,一般采用序号法标记环境地图信息,即将栅格地图中一个个栅格从序号1依次累加直到标记到最后一个栅格。如图2所示。【路径规划】基于蚁群算法栅格地图路径规划matlab_路径规划_02
图2 序号法示意图
另外,对于一幅带有坐标的栅格图来说,每个栅格点有唯一的坐标,假设栅格规模为x行y列,第i个栅格对应的位置由式(1)所示。【路径规划】基于蚁群算法栅格地图路径规划matlab_路径规划_03
式中a为每个小方格像素的边长,ceil(n)取大于等于数值n的最小整数,mod(i,y)求i除以y的余数。
每条路径(从起点走到终点)的长度可以由式(2)计算得出。【路径规划】基于蚁群算法栅格地图路径规划matlab_路径规划_04
在解决环境建模之后,我们需要设计机器人移动的方法,这里我采用如图3所示的八叉树搜索策略,即机器人在搜索过程中可以朝附近八个方向的相邻栅格之间的自由移动。【路径规划】基于蚁群算法栅格地图路径规划matlab_路径规划_05
图3 八叉树搜索策略
那么,怎么判断一个栅格点是否为另一个栅格点的相邻栅格点呢,另外,又怎么判断是否为有障碍栅格呢。这就需建立矩阵D,记录每个栅格点至其相邻栅格点的代价值。本例中栅格地图有20×20个栅格点,则D的大小为400×400,其中列是起点栅格,行是局部终点栅格,各栅格点至其各相邻无障碍栅格点的代价值非零,而有障碍栅格及非相邻栅格设为0。这里主要介绍基于蚁群算法的机器人最短路径规划的思路,以及我在运行MALTLAB程序的时候,学到的内容。

2.机器人最短路径规划的实现步骤

蚁周模型实现机器人最短路径规划的流程图

为了方便大家更好地理解蚁群算法的原理及实现过程,其流程图如图4所示。(流程图较长,我截图了两段。)【路径规划】基于蚁群算法栅格地图路径规划matlab_路径规划_06【路径规划】基于蚁群算法栅格地图路径规划matlab_路径规划_07
图4 基于蚁群算法的机器人最小路径规划流程图
图中公式(3)(4)的具体表达在下边的具体步骤里。

蚁周模型实现机器人最短路径规划的具体步骤

**步骤1:**给出栅格地图的地形矩阵;初始化信息素矩阵 Tau(记录每个栅格至其他栅格的信息素量),最大迭代次数K,蚂蚁个数M,表征信息素重要程度的参数 、表征启发式信息重要程度的参数 ,信息素蒸发系数 ,信息素增加强度系数Q及启发式信息矩阵
**步骤2:**构建启发式信息矩阵。按式(1)和式(2)计算每个栅格至目标点的距离,启发式信息素取为至目标点距离的倒数,距离越短,启发式因子越大,障碍物处的启发式信息为0。建立矩阵D,用以存储每个栅格点至各自相邻无障碍栅格点的代价值。
**步骤3:**对于每一只蚂蚁,初始化蚂蚁爬行的路径及路径长度,将禁忌列表全部初始化为1;蚂蚁从起始点出发开始搜索路径,找出当前栅格点的所有无障碍相邻栅格点(即矩阵D中相应元素不为0的栅格点),再根据禁忌列表筛选出当前可选择的栅格点。
**步骤4:**如果起始点是目标点,且可选栅格点个数大于等于1,则根据式(3)计算蚂蚁从当前栅格点转移到各相邻栅格点的概率,【路径规划】基于蚁群算法栅格地图路径规划matlab_路径规划_08
并根据轮盘赌的方法选择下一个栅格点。
**步骤5:**更新蚂蚁爬行的路径、路径长度、矩阵D及禁忌列表。
**步骤6:**重复步骤4和5直到起始点为目标点或可选栅格点小于1,本次迭代中当前蚂蚁寻路完毕,记录该蚂蚁的行走路线。
**步骤7:**如果该蚂蚁最后一步是目标点,则计算路径长度并与当前已知的最短路径长度作比较,若本次路径长度小于当前已知的最短路径长度,则更新当前最短路径长度及最短路径;如果该蚂蚁最后一步不是目标的,则只将路径长度记为0。
**步骤8:**重复步骤3至步骤7直到M只蚂蚁完成一轮路径搜索,按照式(4)更新信息素。【路径规划】基于蚁群算法栅格地图路径规划matlab_路径规划_09
**步骤9:**判断是否满足终止条件K,是结束蚁群算法寻优并绘制最优规划路径,否则转到步骤3。

function varargout = main_GUI_xu(varargin)
% MAIN_GUI_XU MATLAB code for main_GUI_xu.fig
%      MAIN_GUI_XU, by itself, creates a new MAIN_GUI_XU or raises the existing
%      singleton*.
%
%      H = MAIN_GUI_XU returns the handle to a new MAIN_GUI_XU or the handle to
%      the existing singleton*.
%
%      MAIN_GUI_XU('CALLBACK',hObject,eventData,handles,...) calls the local
%      function named CALLBACK in MAIN_GUI_XU.M with the given input arguments.
%
%      MAIN_GUI_XU('Property','Value',...) creates a new MAIN_GUI_XU or raises the
%      existing singleton*.  Starting from the left, property value pairs are
%      applied to the GUI before main_GUI_xu_OpeningFcn gets called.  An
%      unrecognized property name or invalid value makes property application
%      stop.  All inputs are passed to main_GUI_xu_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 main_GUI_xu
 
% Last Modified by GUIDE v2.5 22-Mar-2017 15:58:57
 
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name',       mfilename, ...
                   'gui_Singleton',  gui_Singleton, ...
                   'gui_OpeningFcn', @main_GUI_xu_OpeningFcn, ...
                   'gui_OutputFcn',  @main_GUI_xu_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 main_GUI_xu is made visible.
function main_GUI_xu_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 data (see GUIDATA)
% varargin   command line arguments to main_GUI_xu (see VARARGIN)
% Choose default command line output for main_GUI_xu
handles.output = hObject;
 
% Update handles structure
guidata(hObject, handles);
 
% UIWAIT makes main_GUI_xu wait for user response (see UIRESUME)
% uiwait(handles.figure1);
init_all(handles)
set(handles.edit38,'string','先选择实验目的,默认选择目的一,即运行一种算法');
 
% --- Outputs from this function are returned to the command line.
function varargout = main_GUI_xu_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 data (see GUIDATA)
 
% Get default command line output from handles structure
varargout{1} = handles.output;
 
 
% --- Executes on selection change in listbox1.
function listbox1_Callback(hObject, eventdata, handles)
% hObject    handle to listbox1 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: contents = cellstr(get(hObject,'String')) returns listbox1 contents as cell array
%        contents{get(hObject,'Value')} returns selected item from listbox1
 
 
% --- Executes during object creation, after setting all properties.
function listbox1_CreateFcn(hObject, eventdata, handles)
% hObject    handle to listbox1 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: listbox controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
% --- Executes on button press in pushbutton1.
function pushbutton1_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton1 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% 绘制栅格线和调用figure的屏幕回调函数
global barrier pushbutton1_userdata
pushbutton1_userdata = 1; % 控制设计障碍物按钮是否能够使用
set(handles.edit38,'string','障碍物设计完成后,请点击输出障碍物按钮,否则容易出错');
axes(handles.axes1)
cla reset
n_barrier = str2double(get(handles.edit1,'string'));
barrier = zeros(n_barrier,n_barrier);
axes(handles.axes1);
s.hf = get(handles.axes1,'parent');
% 绘制栅格边线
for i=0:1:n_barrier
    plot([0,n_barrier],[i,i],'color','k');
    hold on
    axis([0,n_barrier,0,n_barrier])
    for j=0:1:n_barrier
        plot([i,i],[0,n_barrier],'color','k') ;
        hold on
        axis([0,n_barrier,0,n_barrier])
    end
end
% 设置figure的WindowButtonDownFcn属性
set(s.hf,'WindowButtonDownFcn',@figure1_windowbuttondownfcn)
 
 
% --- Executes on selection change in popupmenu1.
function popupmenu1_Callback(hObject, eventdata, handles)
% hObject    handle to popupmenu1 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: contents = cellstr(get(hObject,'String')) returns popupmenu1 contents as cell array
%        contents{get(hObject,'Value')} returns selected item from popupmenu1
global barrier_select start_select goal_select pushbutton1_userdata barrier start goal
barrier_value = get(handles.popupmenu1,'value');
cd('barrier')
if barrier_value==2
    barrier_select = xlsread('e_barrier');
    start_select = 20;
    goal_select = 295;
    pushbutton1_userdata = 0;
elseif barrier_value==3
    barrier_select = xlsread('simple_e');
    start_select = 20;
    goal_select = 295;
    pushbutton1_userdata = 0;
elseif barrier_value==4
    barrier_select = xlsread('u_barrier');
    start_select = 1;
    goal_select = 400;
    pushbutton1_userdata = 0;
elseif barrier_value==5
    barrier_select = xlsread('light_u_barrier');
    start_select = 1;
    goal_select = 400;
    pushbutton1_userdata = 0;
elseif barrier_value==6
    barrier_select = xlsread('right_u_barrier');
    start_select = 1;
    goal_select = 400;
    pushbutton1_userdata = 0;
elseif barrier_value==7
    barrier_select = xlsread('z_barrier');
    start_select = 49;
    goal_select = 369;
    pushbutton1_userdata = 0;
elseif barrier_value==8
    barrier_select = xlsread('complex_z');
    start_select = 47;
    goal_select = 367;
    pushbutton1_userdata = 0;
elseif barrier_value==9
    barrier_select = xlsread('complex_1');
    start_select = 1;
    goal_select = 400;
    pushbutton1_userdata = 0;
elseif barrier_value==10
    barrier_select = xlsread('complex_2');
    start_select = 1;
    goal_select = 400;
    pushbutton1_userdata = 0;
elseif barrier_value==11
    barrier_select = xlsread('complex_30');
    start_select = 1;
    goal_select = 890;
    pushbutton1_userdata = 0;
elseif barrier_value==12
    barrier_select = xlsread('complex_50_1');
    start_select = 1;
    goal_select = 2500;
elseif barrier_value==13
    barrier_select = xlsread('complex_50_2');
    start_select = 1;
    goal_select = 2500;
    pushbutton1_userdata = 0;
elseif barrier_value==14
    barrier_select = xlsread('complex_50_3');
    start_select = 1;
    goal_select = 2500;
    pushbutton1_userdata = 0;
elseif barrier_value==15
    barrier_select = xlsread('barrier_tmp');
    set(handles.edit18,'string','请选择起点和终点')
    pushbutton1_userdata = 0;
    start = 0;
    goal = 0;
end
cd ..
X = size(barrier_select,1);
Y = size(barrier_select,2);
axes(handles.axes1);
barrier = barrier_select;
figure_barrier(barrier,handles);
start = start_select;
goal = goal_select;
 
set(handles.edit2,'string',num2str(start) );
set(handles.edit3,'string',num2str(goal) );
% 画起点
    x_goal_new = ( mod(start-1,X) +1-0.5);
    y_goal_new = ( Y- ceil(start/Y) +1-0.5);
    x_start_floor = floor(x_goal_new);
    x_start_ceil = ceil(x_goal_new);
    y_start_floor = floor(y_goal_new);
    y_start_ceil = ceil(y_goal_new);
    x_data = [x_start_floor,x_start_ceil,x_start_ceil,x_start_floor];
    y_data = [y_start_floor,y_start_floor,y_start_ceil,y_start_ceil];
    fill(x_data,y_data,[0,1,0]);
% 画终点
x_goal_new = ( mod(goal-1,X) +1-0.5);
y_goal_new = ( Y- ceil(goal/Y) +1-0.5);
x_start_floor = floor(x_goal_new);
x_start_ceil = ceil(x_goal_new);
y_start_floor = floor(y_goal_new);
y_start_ceil = ceil(y_goal_new);
x_data = [x_start_floor,x_start_ceil,x_start_ceil,x_start_floor];
y_data = [y_start_floor,y_start_floor,y_start_ceil,y_start_ceil];
fill(x_data,y_data,[1,0,0]);
% 设置通用参数
num_ant = 2*X;
set(handles.edit9,'string',num_ant);
set(handles.edit10,'string',250);
set(handles.edit18,'string',10)
set(handles.axes2,'visible','on')
 
 
% --- Executes during object creation, after setting all properties.
function popupmenu1_CreateFcn(hObject, eventdata, handles)
% hObject    handle to popupmenu1 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: popupmenu controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
% --- Executes on button press in radiobutton1.
function radiobutton1_Callback(hObject, eventdata, handles)
% hObject    handle to radiobutton1 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hint: get(hObject,'Value') returns toggle state of radiobutton1
set(handles.uipanel200,'visible','off')
set(handles.uipanel201,'visible','off')
set(handles.uipanel202,'visible','on')
set(handles.uipanel203,'visible','off')
set(handles.uipanel204,'visible','off')
 
% --- Executes on button press in radiobutton2.
function radiobutton2_Callback(hObject, eventdata, handles)
% hObject    handle to radiobutton2 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hint: get(hObject,'Value') returns toggle state of radiobutton2
set(handles.uipanel200,'visible','off')
set(handles.uipanel201,'visible','on')
set(handles.uipanel202,'visible','off')
set(handles.uipanel203,'visible','off')
set(handles.uipanel204,'visible','off')
 
% --- Executes on button press in radiobutton3.
function radiobutton3_Callback(hObject, eventdata, handles)
% hObject    handle to radiobutton3 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hint: get(hObject,'Value') returns toggle state of radiobutton3
 
 
 
function edit1_Callback(hObject, eventdata, handles)
% hObject    handle to edit1 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit1 as text
%        str2double(get(hObject,'String')) returns contents of edit1 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit1_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit1 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit2_Callback(hObject, eventdata, handles)
% hObject    handle to edit2 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit2 as text
%        str2double(get(hObject,'String')) returns contents of edit2 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit2_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit2 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit3_Callback(hObject, eventdata, handles)
% hObject    handle to edit3 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit3 as text
%        str2double(get(hObject,'String')) returns contents of edit3 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit3_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit3 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
% --- Executes on button press in pushbutton2.
function pushbutton2_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton2 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
% 鼠标取起点
global permission_start
permission_start = 1;
set(handles.edit2,'string',[]);
set(handles.edit3,'string',[]);
axes(handles.axes1);
if permission_start==1
    set(handles.edit38,'string','选择起点结束后请点击结束按钮,否则易出错');
    s.hf = get(handles.axes1,'parent');
    set(s.hf,'WindowButtonDownFcn',@figure1_windowbuttondownfcn_point_start);
end
global start
figure_start(start)
 
  
function figure1_windowbuttondownfcn_point_start(hobj,event)
global barrier
X = size(barrier,1);
Y = size(barrier,2);
global permission_start
if permission_start==1
    if strcmp(get(hobj,'SelectionType'),'normal')
        p = get(gca,'currentpoint'); % 取鼠标当前所在点的坐标
        x(1) = p(1);% 当前点的横坐标;
            x_ceil = ceil(x(1));
        y(1) = p(3);% 当前点的纵坐标
            y_ceil = ceil(y(1));
            point_start = [x_ceil,y_ceil];
            start_tmp =  point_start(1) + ( Y-point_start(2) )*X;
            figure_start(start_tmp);
    end
end
 
 
% 画出起点函数
function figure_start(start_new)
global barrier start 
if start_new~=start
    X = size(barrier,1);
    Y = size(barrier,2);
    % 清除以前的点的消息
    x_start = ( mod(start-1,X) +1-0.5);
    y_start = ( Y- ceil(start/Y) +1-0.5);
    x_start_floor = floor(x_start);
    x_start_ceil = ceil(x_start);
    y_start_floor = floor(y_start);
    y_start_ceil = ceil(y_start);
    x_data = [x_start_floor,x_start_ceil,x_start_ceil,x_start_floor];
    y_data = [y_start_floor,y_start_floor,y_start_ceil,y_start_ceil];
    fill(x_data,y_data,[1,1,1]);
    %% 画新的点
    x_start_new = ( mod(start_new-1,X) +1-0.5);
    y_start_new = ( Y- ceil(start_new/Y) +1-0.5);
    x_start_floor = floor(x_start_new);
    x_start_ceil = ceil(x_start_new);
    y_start_floor = floor(y_start_new);
    y_start_ceil = ceil(y_start_new);
    x_data = [x_start_floor,x_start_ceil,x_start_ceil,x_start_floor];
    y_data = [y_start_floor,y_start_floor,y_start_ceil,y_start_ceil];
    fill(x_data,y_data,[0,1,0]);
    start = start_new;
    data = '起点是%4.0f\n';
    fprintf(data,start)
%     set(handles.edit2,'string',start)
end
 
% function test(hObject, eventdata, handles)
% global start start_new
% if start~=start_new
%     set(hanles.edit2,'value',start_new)
% end
 
% 画终点的函数
function figure_goal(goal_new)
global barrier goal
if goal_new~=goal
    X = size(barrier,1);
    Y = size(barrier,2);
    % 清除以前的点的消息
    x_goal = ( mod(goal-1,X) +1-0.5);
    y_goal = ( Y- ceil(goal/Y) +1-0.5);
    x_start_floor = floor(x_goal);
    x_start_ceil = ceil(x_goal);
    y_start_floor = floor(y_goal);
    y_start_ceil = ceil(y_goal);
    x_data = [x_start_floor,x_start_ceil,x_start_ceil,x_start_floor];
    y_data = [y_start_floor,y_start_floor,y_start_ceil,y_start_ceil];
    fill(x_data,y_data,[1,1,1]);
    %% 画新的点
    x_goal_new = ( mod(goal_new-1,X) +1-0.5);
    y_goal_new = ( Y- ceil(goal_new/Y) +1-0.5);
    x_start_floor = floor(x_goal_new);
    x_start_ceil = ceil(x_goal_new);
    y_start_floor = floor(y_goal_new);
    y_start_ceil = ceil(y_goal_new);
    x_data = [x_start_floor,x_start_ceil,x_start_ceil,x_start_floor];
    y_data = [y_start_floor,y_start_floor,y_start_ceil,y_start_ceil];
    fill(x_data,y_data,[1,0,0]);
    goal = goal_new;
end
 
 
% --- Executes on button press in pushbutton3.
function pushbutton3_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton3 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
% 画终点
global permission_goal
permission_goal = 1;
set(handles.edit2,'string',[])
set(handles.edit3,'string',[])
axes(handles.axes1);
if permission_goal==1
    set(handles.edit38,'string','选择起点结束后请点击结束按钮,否则易出错');
    s.hf = get(handles.axes1,'parent');
    set(s.hf,'WindowButtonDownFcn',@figure1_windowbuttondownfcn_point_goal);
end
global goal
figure_goal(goal);
 
 
function figure1_windowbuttondownfcn_point_goal(hobj,event)
global barrier
X = size(barrier,1);
Y = size(barrier,2);
global permission_goal
if permission_goal==1
    if strcmp(get(hobj,'SelectionType'),'normal')
        p = get(gca,'currentpoint'); % 取鼠标当前所在点的坐标
        x(1) = p(1);% 当前点的横坐标;
            x_ceil = ceil(x(1));
        y(1) = p(3);% 当前点的纵坐标
            y_ceil = ceil(y(1));
            point_goal = [x_ceil,y_ceil];
            goal =  point_goal(1) + ( Y-point_goal(2) )*X;
            figure_goal(goal);
            data = '终点是%4.0f\n';
            fprintf(data,goal)
    end
end
 
 
function edit5_Callback(hObject, eventdata, handles)
% hObject    handle to edit201 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit201 as text
%        str2double(get(hObject,'String')) returns contents of edit201 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit5_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit201 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit6_Callback(hObject, eventdata, handles)
% hObject    handle to edit202 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit202 as text
%        str2double(get(hObject,'String')) returns contents of edit202 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit6_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit202 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit7_Callback(hObject, eventdata, handles)
% hObject    handle to edit203 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit203 as text
%        str2double(get(hObject,'String')) returns contents of edit203 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit7_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit203 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit8_Callback(hObject, eventdata, handles)
% hObject    handle to edit204 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit204 as text
%        str2double(get(hObject,'String')) returns contents of edit204 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit8_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit204 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit9_Callback(hObject, eventdata, handles)
% hObject    handle to edit9 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit9 as text
%        str2double(get(hObject,'String')) returns contents of edit9 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit9_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit9 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit10_Callback(hObject, eventdata, handles)
% hObject    handle to edit10 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit10 as text
%        str2double(get(hObject,'String')) returns contents of edit10 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit10_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit10 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
% --- Executes on button press in radiobutton4.
function radiobutton4_Callback(hObject, eventdata, handles)
% hObject    handle to radiobutton4 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hint: get(hObject,'Value') returns toggle state of radiobutton4
 
 
% --- Executes on button press in pushbutton4.
function pushbutton4_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton4 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
global reason start goal 
global h_waitbar
set(handles.edit57,'string',1);set(handles.edit58,'string',1);set(handles.edit59,'string',1);
set(handles.edit60,'string',1);set(handles.edit61,'string',1);
set(handles.edit2,'string',start);
set(handles.edit3,'string',goal);
set(handles.edit38,'string','正在运行');
set(handles.text60,'visible','off')
tic;
h_waitbar = waitbar(0,'正在运行,请稍后...');
if reason == 1 % 如果是第一个目的,即选择一种算法进行分析,则选择一种算法运行
    prime_only_one_algorithm(hObject, eventdata, handles)
elseif reason==2 % 如果是第二个目的,即选择多种算法进行分析
    prime_multi_algorithm(hObject, eventdata, handles)
end
delete(h_waitbar);
time_algorithm = round(toc);
tip_time = ['运行结束,已运行',num2str(time_algorithm),'秒'];
set(handles.edit38,'string',tip_time);
 
 
function edit91_Callback(hObject, eventdata, handles)
% hObject    handle to edit91 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit91 as text
%        str2double(get(hObject,'String')) returns contents of edit91 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit91_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit91 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit12_Callback(hObject, eventdata, handles)
% hObject    handle to edit12 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit12 as text
%        str2double(get(hObject,'String')) returns contents of edit12 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit12_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit12 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit13_Callback(hObject, eventdata, handles)
% hObject    handle to edit13 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit13 as text
%        str2double(get(hObject,'String')) returns contents of edit13 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit13_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit13 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit14_Callback(hObject, eventdata, handles)
% hObject    handle to edit14 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit14 as text
%        str2double(get(hObject,'String')) returns contents of edit14 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit14_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit14 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit92_Callback(hObject, eventdata, handles)
% hObject    handle to edit92 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit92 as text
%        str2double(get(hObject,'String')) returns contents of edit92 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit92_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit92 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit16_Callback(hObject, eventdata, handles)
% hObject    handle to edit16 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit16 as text
%        str2double(get(hObject,'String')) returns contents of edit16 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit16_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit16 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit94_Callback(hObject, eventdata, handles)
% hObject    handle to edit94 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit94 as text
%        str2double(get(hObject,'String')) returns contents of edit94 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit94_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit94 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit18_Callback(hObject, eventdata, handles)
% hObject    handle to edit18 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit18 as text
%        str2double(get(hObject,'String')) returns contents of edit18 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit18_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit18 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
% --- Executes on button press in radiobutton5.
function radiobutton5_Callback(hObject, eventdata, handles)
% hObject    handle to radiobutton5 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hint: get(hObject,'Value') returns toggle state of radiobutton5
set(handles.uipanel200,'visible','on')
set(handles.uipanel201,'visible','off')
set(handles.uipanel202,'visible','off')
set(handles.uipanel203,'visible','off')
set(handles.uipanel204,'visible','off')
 
% --- Executes on button press in radiobutton6.
function radiobutton6_Callback(hObject, eventdata, handles)
% hObject    handle to radiobutton6 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hint: get(hObject,'Value') returns toggle state of radiobutton6
set(handles.uipanel200,'visible','off')
set(handles.uipanel201,'visible','off')
set(handles.uipanel202,'visible','off')
set(handles.uipanel203,'visible','on')
set(handles.uipanel204,'visible','off')
 
% --- Executes on button press in radiobutton7.
function radiobutton7_Callback(hObject, eventdata, handles)
% hObject    handle to radiobutton7 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hint: get(hObject,'Value') returns toggle state of radiobutton7
set(handles.uipanel200,'visible','off')
set(handles.uipanel201,'visible','off')
set(handles.uipanel202,'visible','off')
set(handles.uipanel203,'visible','off')
set(handles.uipanel204,'visible','on')
 
% --- Executes when figure1 is resized.
function figure1_ResizeFcn(hObject, eventdata, handles)
% hObject    handle to figure1 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
 
 
function edit93_Callback(hObject, eventdata, handles)
% hObject    handle to edit93 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit93 as text
%        str2double(get(hObject,'String')) returns contents of edit93 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit93_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit93 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit24_Callback(hObject, eventdata, handles)
% hObject    handle to edit24 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit24 as text
%        str2double(get(hObject,'String')) returns contents of edit24 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit24_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit24 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit25_Callback(hObject, eventdata, handles)
% hObject    handle to edit25 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit25 as text
%        str2double(get(hObject,'String')) returns contents of edit25 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit25_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit25 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit26_Callback(hObject, eventdata, handles)
% hObject    handle to edit26 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit26 as text
%        str2double(get(hObject,'String')) returns contents of edit26 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit26_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit26 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit27_Callback(hObject, eventdata, handles)
% hObject    handle to edit27 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit27 as text
%        str2double(get(hObject,'String')) returns contents of edit27 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit27_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit27 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit28_Callback(hObject, eventdata, handles)
% hObject    handle to edit28 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit28 as text
%        str2double(get(hObject,'String')) returns contents of edit28 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit28_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit28 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit101_Callback(hObject, eventdata, handles)
% hObject    handle to edit101 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit101 as text
%        str2double(get(hObject,'String')) returns contents of edit101 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit101_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit101 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit102_Callback(hObject, eventdata, handles)
% hObject    handle to edit102 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit102 as text
%        str2double(get(hObject,'String')) returns contents of edit102 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit102_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit102 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit104_Callback(hObject, eventdata, handles)
% hObject    handle to edit104 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit104 as text
%        str2double(get(hObject,'String')) returns contents of edit104 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit104_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit104 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit105_Callback(hObject, eventdata, handles)
% hObject    handle to edit105 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit105 as text
%        str2double(get(hObject,'String')) returns contents of edit105 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit105_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit105 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit106_Callback(hObject, eventdata, handles)
% hObject    handle to edit106 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit106 as text
%        str2double(get(hObject,'String')) returns contents of edit106 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit106_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit106 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
% --- Executes on button press in pushbutton5.
function pushbutton5_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton5 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
 
% --- Executes on button press in pushbutton6.
function pushbutton6_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton6 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
 
% --- Executes on button press in pushbutton7.
function pushbutton7_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton7 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
 
% --- Executes on button press in pushbutton8.
function pushbutton8_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton8 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
 
% --- Executes on button press in radiobutton9.
function radiobutton9_Callback(hObject, eventdata, handles)
% hObject    handle to radiobutton9 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hint: get(hObject,'Value') returns toggle state of radiobutton9
 
 
% --- Executes on button press in radiobutton10.
function radiobutton10_Callback(hObject, eventdata, handles)
% hObject    handle to radiobutton10 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hint: get(hObject,'Value') returns toggle state of radiobutton10
 
 
% --- Executes on button press in pushbutton9.
function pushbutton9_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton9 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
 
% --- Executes on button press in pushbutton10.
function pushbutton10_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton10 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
 
% --- Executes on button press in pushbutton11.
function pushbutton11_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton11 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
 
 
function edit34_Callback(hObject, eventdata, handles)
% hObject    handle to edit34 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit34 as text
%        str2double(get(hObject,'String')) returns contents of edit34 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit34_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit34 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit35_Callback(hObject, eventdata, handles)
% hObject    handle to edit35 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit35 as text
%        str2double(get(hObject,'String')) returns contents of edit35 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit35_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit35 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
% --- Executes on button press in radiobutton11.
function radiobutton11_Callback(hObject, eventdata, handles)
% hObject    handle to radiobutton11 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hint: get(hObject,'Value') returns toggle state of radiobutton11
 
 
% --- Executes on button press in radiobutton12.
function radiobutton12_Callback(hObject, eventdata, handles)
% hObject    handle to radiobutton12 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hint: get(hObject,'Value') returns toggle state of radiobutton12
 
 
% --- Executes on button press in pushbutton12.
function pushbutton12_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton12 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
% --------------------------------------------------------------------
function Untitled_1_Callback(hObject, eventdata, handles)
% hObject    handle to Untitled_1 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
function figure1_windowbuttondownfcn(hobj,event)
% point_data 输出,输出当前的一个点
% 定义figure的回调函数
global draw_enable x y data barrier pushbutton1_userdata
% if pushbutton1_userdata == 0
%     set(handles.edit38,'string','如果需要设计障碍物图形,请先点击设计障碍物按钮');
% disp('如果需要设计障碍物图形,请先点击设计障碍物按钮')
if pushbutton1_userdata ==1
    n_barrier = size(barrier,1);
    % 若figure的selectiontype属性值为normal,则表示单击鼠标左键
    if strcmp(get(hobj,'SelectionType'),'normal')
        draw_enable = 1;
        p = get(gca,'currentpoint'); % 取鼠标当前所在点的坐标
        x(1) = p(1);% 当前点的横坐标
            x1_floor = floor(x(1));
            x1_ceil = ceil(x(1));
        y(1) = p(3);% 当前点的纵坐标
            y1_floor = floor(y(1));
            y1_ceil = ceil(y(1));
        data = [x1_floor,y1_floor;...
                x1_ceil,y1_floor;...
                x1_ceil,y1_ceil;...
                x1_floor,y1_ceil]; % 依次取该点的周围四个顶点
        x_data = [x1_floor,x1_ceil,x1_ceil,x1_floor];
        y_data = [y1_floor,y1_floor,y1_ceil,y1_ceil];
        fill(x_data,y_data,[0,0,0]); % 填充这个方格为黑色
        % 设置这个方格不可用,即设置barrier中对应方格为1(表示该方格是障碍)
        y1_ceil_temp = n_barrier - y1_ceil + 1;
        barrier(y1_ceil_temp,x1_ceil) = 1;
    end
    % 如果figure的selectiontype属性值为alt,则表示双击鼠标,使方格为白色,可以安全行走
    if strcmp(get(hobj,'selectiontype'),'open')
        draw_enable = 0;
        p = get(gca,'currentpoint'); % 取鼠标当前所在点的坐标
        x(1) = p(1);% 当前点的横坐标
            x1_floor = floor(x(1));
            x1_ceil = ceil(x(1));
        y(1) = p(3);% 当前点的纵坐标
            y1_floor = floor(y(1));
            y1_ceil = ceil(y(1));
        data = [x1_floor,y1_floor;...
                x1_ceil,y1_floor;...
                x1_ceil,y1_ceil;...
                x1_floor,y1_ceil]; % 依次取该点的周围四个顶点
        x_data = [x1_floor,x1_ceil,x1_ceil,x1_floor];
        y_data = [y1_floor,y1_floor,y1_ceil,y1_ceil];
        fill(x_data,y_data,[1,1,1]); % 填充这个方格为白色
        % 设置这个方格可用,即设置barrier中对应方格为0(表示该方格是障碍)
        y1_ceil_temp = n_barrier - y1_ceil + 1;
        barrier(y1_ceil_temp,x1_ceil) = 0;
    end
%     % 如果是鼠标右键,则输出并保存当前设置的障碍物信息
%     if strcmp(get(hobj,'selectiontype'),'alt')
%         disp(barrier)
%     end
end
 
 
% --- Executes on button press in pushbutton13.
function pushbutton13_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton13 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
global barrier pushbutton1_userdata
% disp(barrier);
cd('barrier')
delete barrier_tmp.xls
xlswrite('barrier_tmp.xls',barrier)
pushbutton1_userdata = 0;
cd ..
 
 
% --- Executes on button press in pushbutton14.
function pushbutton14_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton14 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
global reason
set(handles.edit38,'string','请选择一种算法分析,默认选择ACO,并请继续实验设置');
init_reason1(handles);
reason = 1;% 实验目标模式,用在后面判断表格和图形的设计,以及采用何种算法设置框
 
 
function edit36_Callback(hObject, eventdata, handles)
% hObject    handle to edit36 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit36 as text
%        str2double(get(hObject,'String')) returns contents of edit36 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit36_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit36 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
% --- Executes on button press in pushbutton15.
function pushbutton15_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton15 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
global reason
set(handles.edit38,'string','请选择几类算法分析,默认选择全部算法进行比较');
init_reason2(handles);
reason = 2; % 实验目标模式,用在后面判断画图
 
function edit37_Callback(hObject, eventdata, handles)
% hObject    handle to edit37 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit37 as text
%        str2double(get(hObject,'String')) returns contents of edit37 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit37_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit37 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
% --- Executes on button press in pushbutton16.
function pushbutton16_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton16 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
set(handles.uipanel1,'visible','on')
set(handles.uipanel6,'visible','off')
set(handles.uipanel7,'visible','off')
set(handles.uipanel5,'visible','off')
set(handles.uipanel15,'visible','off')
 
 
% --- Executes on button press in pushbutton17.
function pushbutton17_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton17 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
set(handles.uipanel1,'visible','off')
set(handles.uipanel6,'visible','on')
set(handles.uipanel7,'visible','off')
set(handles.uipanel5,'visible','off')
set(handles.uipanel15,'visible','off')
 
% --- Executes on button press in pushbutton18.
function pushbutton18_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton18 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
global reason
set(handles.uipanel1,'visible','off')
set(handles.uipanel6,'visible','off')
set(handles.uipanel7,'visible','off')
if reason == 1
    set(handles.uipanel5,'visible','off')
    set(handles.uipanel15,'visible','on')
end
if reason == 2
    set(handles.uipanel5,'visible','on')
    set(handles.uipanel15,'visible','off')
end
 
% --- Executes on button press in pushbutton19.
function pushbutton19_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton19 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
set(handles.uipanel1,'visible','off')
set(handles.uipanel6,'visible','off')
set(handles.uipanel7,'visible','on')
set(handles.uipanel5,'visible','off')
set(handles.uipanel15,'visible','off')
 
% --- Executes during object creation, after setting all properties.
function uipanel5_CreateFcn(hObject, eventdata, handles)
% hObject    handle to uipanel5 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
 
% --- Executes during object deletion, before destroying properties.
function text25_DeleteFcn(hObject, eventdata, handles)
% hObject    handle to text25 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
 
% --- Executes during object creation, after setting all properties.
function text25_CreateFcn(hObject, eventdata, handles)
% hObject    handle to text25 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
 
% --- Executes during object creation, after setting all properties.
function pushbutton14_CreateFcn(hObject, eventdata, handles)
% hObject    handle to pushbutton14 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
 
 
function edit38_Callback(hObject, eventdata, handles)
% hObject    handle to edit38 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit38 as text
%        str2double(get(hObject,'String')) returns contents of edit38 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit38_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit38 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
 
% --- Executes during object creation, after setting all properties.
function slider1_CreateFcn(hObject, eventdata, handles)
% hObject    handle to slider1 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: slider controls usually have a light gray background.
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end
 
 
 
function edit39_Callback(hObject, eventdata, handles)
% hObject    handle to edit39 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit39 as text
%        str2double(get(hObject,'String')) returns contents of edit39 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit39_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit39 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit201_Callback(hObject, eventdata, handles)
% hObject    handle to edit201 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit201 as text
%        str2double(get(hObject,'String')) returns contents of edit201 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit201_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit201 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit202_Callback(hObject, eventdata, handles)
% hObject    handle to edit202 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit202 as text
%        str2double(get(hObject,'String')) returns contents of edit202 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit202_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit202 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit84_Callback(hObject, eventdata, handles)
% hObject    handle to edit84 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit84 as text
%        str2double(get(hObject,'String')) returns contents of edit84 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit84_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit84 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit203_Callback(hObject, eventdata, handles)
% hObject    handle to edit203 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit203 as text
%        str2double(get(hObject,'String')) returns contents of edit203 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit203_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit203 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit111_Callback(hObject, eventdata, handles)
% hObject    handle to edit111 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit111 as text
%        str2double(get(hObject,'String')) returns contents of edit111 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit111_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit111 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit112_Callback(hObject, eventdata, handles)
% hObject    handle to edit112 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit112 as text
%        str2double(get(hObject,'String')) returns contents of edit112 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit112_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit112 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit114_Callback(hObject, eventdata, handles)
% hObject    handle to edit114 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit114 as text
%        str2double(get(hObject,'String')) returns contents of edit114 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit114_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit114 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit113_Callback(hObject, eventdata, handles)
% hObject    handle to edit113 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit113 as text
%        str2double(get(hObject,'String')) returns contents of edit113 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit113_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit113 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit115_Callback(hObject, eventdata, handles)
% hObject    handle to edit115 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit115 as text
%        str2double(get(hObject,'String')) returns contents of edit115 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit115_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit115 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit204_Callback(hObject, eventdata, handles)
% hObject    handle to edit204 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit204 as text
%        str2double(get(hObject,'String')) returns contents of edit204 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit204_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit204 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
 
function edit103_Callback(hObject, eventdata, handles)
% hObject    handle to edit103 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit103 as text
%        str2double(get(hObject,'String')) returns contents of edit103 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit103_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit103 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
% --- Executes on button press in radiobutton16.
function radiobutton16_Callback(hObject, eventdata, handles)
% hObject    handle to radiobutton16 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hint: get(hObject,'Value') returns toggle state of radiobutton16
set(handles.uipanel200,'visible','on')
set(handles.uipanel201,'visible','off')
set(handles.uipanel202,'visible','off')
set(handles.uipanel203,'visible','off')
set(handles.uipanel204,'visible','off')
 
 
% --- Executes on button press in radiobutton15.
function radiobutton15_Callback(hObject, eventdata, handles)
% hObject    handle to radiobutton15 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hint: get(hObject,'Value') returns toggle state of radiobutton15
set(handles.uipanel200,'visible','off')
set(handles.uipanel201,'visible','on')
set(handles.uipanel202,'visible','off')
set(handles.uipanel203,'visible','off')
set(handles.uipanel204,'visible','off')
 
 
% --- Executes on button press in radiobutton14.
function radiobutton14_Callback(hObject, eventdata, handles)
% hObject    handle to radiobutton14 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hint: get(hObject,'Value') returns toggle state of radiobutton14
set(handles.uipanel200,'visible','off')
set(handles.uipanel201,'visible','off')
set(handles.uipanel202,'visible','on')
set(handles.uipanel203,'visible','off')
set(handles.uipanel204,'visible','off')
 
 
% --- Executes on button press in radiobutton17.
function radiobutton17_Callback(hObject, eventdata, handles)
% hObject    handle to radiobutton17 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hint: get(hObject,'Value') returns toggle state of radiobutton17
set(handles.uipanel200,'visible','off')
set(handles.uipanel201,'visible','off')
set(handles.uipanel202,'visible','off')
set(handles.uipanel203,'visible','on')
set(handles.uipanel204,'visible','off')
 
 
% --- Executes on button press in radiobutton18.
function radiobutton18_Callback(hObject, eventdata, handles)
% hObject    handle to radiobutton18 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hint: get(hObject,'Value') returns toggle state of radiobutton18
set(handles.uipanel200,'visible','off')
set(handles.uipanel201,'visible','off')
set(handles.uipanel202,'visible','off')
set(handles.uipanel203,'visible','off')
set(handles.uipanel204,'visible','on')
 
 
 
function edit51_Callback(hObject, eventdata, handles)
% hObject    handle to edit51 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit51 as text
%        str2double(get(hObject,'String')) returns contents of edit51 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit51_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit51 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
% --- Executes during object creation, after setting all properties.
function edit85_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit85 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
% --- Executes during object creation, after setting all properties.
function edit83_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit83 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
% --- Executes during object creation, after setting all properties.
function edit82_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit82 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
% --- Executes during object creation, after setting all properties.
function edit81_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit81 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
% --- Executes on button press in pushbutton20.
function pushbutton20_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton20 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
global path_node diversity_line convergence_curve_global convergence_curve_iter
display_exercise = str2double( get(handles.edit39,'string') );
exercise_num = str2double( get(handles.edit18,'string') );
if display_exercise>exercise_num
%     disp()
    set(handles.edit38,'string','您设置的显示次数已超过最大值');
else
    set(handles.edit38,'string','马上显示');
end
routes = path_node{1,display_exercise};
diversity = diversity_line{display_exercise,1};
convergence_global = convergence_curve_global{display_exercise,1};
convergence_iter = convergence_curve_iter{display_exercise,1};
[marker_algorithm] = marker_algorithm_function(hObject, eventdata, handles);
figure_path(routes,marker_algorithm,hObject, eventdata, handles);
figure_diversity_line(diversity,handles);
figure_convergence (convergence_global,convergence_iter,handles)
set(handles.radiobutton310,'value',1);
 
% --- Executes when selected object is changed in uipanel18.
function uipanel18_SelectionChangeFcn(hObject, eventdata, handles)
% hObject    handle to the selected object in uipanel18 
% eventdata  structure with the following fields (see UIBUTTONGROUP)
%	EventName: string 'SelectionChanged' (read only)
%	OldValue: handle of the previously selected object or empty if none was selected
%	NewValue: handle of the currently selected object
% handles    structure with handles and user data (see GUIDATA)
global convergence_curve_global convergence_curve_iter
times_displace = str2double( get(handles.edit39,'string') );
convergence_global = convergence_curve_global{times_displace,1};
convergence_iter = convergence_curve_iter{times_displace,1};
switch get(handles.uipanel18,'SelectedObject')
    case handles.radiobutton11
        figure_convergence_iter (convergence_iter,handles)
    case handles.radiobutton12
        figure_convergence_global (convergence_global,handles)
    case handles.radiobutton310
        figure_convergence (convergence_global,convergence_iter,handles)
end
 
 
 
function edit52_Callback(hObject, eventdata, handles)
% hObject    handle to edit52 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit52 as text
%        str2double(get(hObject,'String')) returns contents of edit52 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit52_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit52 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
% --- Executes on button press in radiobutton21.
function radiobutton21_Callback(hObject, eventdata, handles)
% hObject    handle to radiobutton21 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hint: get(hObject,'Value') returns toggle state of radiobutton21
 
 
 
function edit53_Callback(hObject, eventdata, handles)
% hObject    handle to edit53 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit53 as text
%        str2double(get(hObject,'String')) returns contents of edit53 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit53_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit53 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
% --- Executes on button press in radiobutton22.
function radiobutton22_Callback(hObject, eventdata, handles)
% hObject    handle to radiobutton22 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hint: get(hObject,'Value') returns toggle state of radiobutton22
 
 
 
function edit54_Callback(hObject, eventdata, handles)
% hObject    handle to edit54 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit54 as text
%        str2double(get(hObject,'String')) returns contents of edit54 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit54_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit54 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
% --- Executes on button press in radiobutton23.
function radiobutton23_Callback(hObject, eventdata, handles)
% hObject    handle to radiobutton23 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hint: get(hObject,'Value') returns toggle state of radiobutton23
 
 
 
function edit55_Callback(hObject, eventdata, handles)
% hObject    handle to edit55 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit55 as text
%        str2double(get(hObject,'String')) returns contents of edit55 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit55_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit55 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
% --- Executes on button press in radiobutton24.
function radiobutton24_Callback(hObject, eventdata, handles)
% hObject    handle to radiobutton24 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hint: get(hObject,'Value') returns toggle state of radiobutton24
 
 
 
function edit56_Callback(hObject, eventdata, handles)
% hObject    handle to edit56 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit56 as text
%        str2double(get(hObject,'String')) returns contents of edit56 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit56_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit56 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
% --- Executes on button press in radiobutton25.
function radiobutton25_Callback(hObject, eventdata, handles)
% hObject    handle to radiobutton25 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hint: get(hObject,'Value') returns toggle state of radiobutton25
 
 
% --- Executes on button press in pushbutton22.
function pushbutton22_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton22 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
 
 
function edit57_Callback(hObject, eventdata, handles)
% hObject    handle to edit57 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit57 as text
%        str2double(get(hObject,'String')) returns contents of edit57 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit57_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit57 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
% --- Executes on button press in radiobutton26.
function radiobutton26_Callback(hObject, eventdata, handles)
% hObject    handle to radiobutton26 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hint: get(hObject,'Value') returns toggle state of radiobutton26
 
 
 
function edit58_Callback(hObject, eventdata, handles)
% hObject    handle to edit58 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit58 as text
%        str2double(get(hObject,'String')) returns contents of edit58 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit58_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit58 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
% --- Executes on button press in radiobutton27.
function radiobutton27_Callback(hObject, eventdata, handles)
% hObject    handle to radiobutton27 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hint: get(hObject,'Value') returns toggle state of radiobutton27
 
 
 
function edit59_Callback(hObject, eventdata, handles)
% hObject    handle to edit59 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit59 as text
%        str2double(get(hObject,'String')) returns contents of edit59 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit59_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit59 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
% --- Executes on button press in radiobutton28.
function radiobutton28_Callback(hObject, eventdata, handles)
% hObject    handle to radiobutton28 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hint: get(hObject,'Value') returns toggle state of radiobutton28
 
 
 
function edit60_Callback(hObject, eventdata, handles)
% hObject    handle to edit60 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit60 as text
%        str2double(get(hObject,'String')) returns contents of edit60 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit60_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit60 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
% --- Executes on button press in radiobutton29.
function radiobutton29_Callback(hObject, eventdata, handles)
% hObject    handle to radiobutton29 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hint: get(hObject,'Value') returns toggle state of radiobutton29
 
 
 
function edit61_Callback(hObject, eventdata, handles)
% hObject    handle to edit61 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hints: get(hObject,'String') returns contents of edit61 as text
%        str2double(get(hObject,'String')) returns contents of edit61 as a double
 
 
% --- Executes during object creation, after setting all properties.
function edit61_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit61 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called
 
% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
 
 
% --- Executes on button press in radiobutton30.
function radiobutton30_Callback(hObject, eventdata, handles)
% hObject    handle to radiobutton30 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
 
% Hint: get(hObject,'Value') returns toggle state of radiobutton30
 
 
% --- Executes on button press in pushbutton23.
function pushbutton23_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton23 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
% 判断需要进行哪几种算法
axes(handles.axes2)
cla reset
set(handles.axes2,'visible','off')
reason2_ACO = get(handles.radiobutton5,'value'); % ACS
if reason2_ACO==0
    set(handles.edit57,'string',0)
end
reason2_AS = get(handles.radiobutton2,'value');  % AS
if reason2_AS==0
    set(handles.edit58,'string',0)
end
reason2_ACS = get(handles.radiobutton1,'value'); % ACO
if reason2_ACS==0
    set(handles.edit59,'string',0)
end
reason2_RAS = get(handles.radiobutton6,'value'); % RAS
if reason2_RAS==0
    set(handles.edit60,'string',0)
end
reason2_EAS = get(handles.radiobutton7,'value'); % EAS
if reason2_EAS==0
    set(handles.edit61,'string',0)
end
figure_multi_algorithm(hObject, eventdata, handles)
 
% --- Executes on button press in pushbutton24.
function pushbutton24_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton24 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
init_all(handles);
 
 
% --- Executes on button press in pushbutton27.
function pushbutton27_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton27 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
% [f,p]=uiputfile({'*.jpg'},'保存文件');
% str=strcat(p,f);
% axes(handles.axes1);
% pix=getframe(handles.axes1);
% save file1 pix
% saveas(pix,'路径规划图','emf')
% imwrite(pix.cdata,'路径规划图','jpg')
% set(gcf,'CurrentAxes',handles.axes1);
% pix=getimage(gcf);
% imwrite(pix,'路径规划图')
wait_me = waitbar(0,'正在保存');
for i=1:100
    pause(0.0001);
    waitbar(i/110,wait_me);
end
name = '路径规划图';
if exist(name)==0
    mkdir(name);
end
cd('路径规划图')
new_f_handle=figure('visible','off');
new_axes=copyobj(handles.axes1,new_f_handle);
pix=getframe(gcf);
set(new_axes,'units','default','position','default');
myfile_time = datestr(now,30);
saveas(gca,['路径规划图',char(myfile_time)],'fig')
saveas(gca,['路径规划图',char(myfile_time)],'emf')
close(gcf)
cd ..
waitbar(0.99,wait_me);
delete(wait_me);
% delete(new_axes)
% imwrite(pix.cdata,'路径规划图','fig')
% [filename,pathname fileindex]=uiputfile({'*.jpg';'*.bmp'},'save picture as');
 
% --- Executes on button press in pushbutton28.
function pushbutton28_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton28 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
set(handles.edit38,'string','正在保存,请稍后');
wait_me = waitbar(0,'正在保存');
for i=1:100
    pause(0.0001);
    waitbar(i/110,wait_me);
end
global legend_end
name = '迭代曲线图';
if exist(name)==0
    mkdir(name);
end
cd('迭代曲线图')
new_f_handle = figure('visible','off');
set(gcf, 'PaperPositionMode', 'auto'); 
new_axes = copyobj(handles.axes3,new_f_handle);
legend(legend_end);
pix = getframe(gcf);
set(new_axes,'units','default','position','default');
myfile_time = datestr(now,30);
saveas(gca,['迭代曲线图',char(myfile_time)],'fig')
saveas(gca,['迭代曲线图',char(myfile_time)],'emf')
close(gcf)
cd ..
set(handles.edit38,'string','保存成功');
waitbar(0.99,wait_me);
delete(wait_me);
 
% --- Executes on button press in pushbutton29.
function pushbutton29_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton29 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
set(handles.edit38,'string','正在保存,请稍后');
wait_me = waitbar(0,'正在保存');
for i=1:100
    pause(0.001);
    waitbar(i/110,wait_me);
end
global reason
if reason==1
    name = '同一算法的统计结果';
    if exist(name)==0
        mkdir(name);
    end
    cd('同一算法的统计结果')
    handles_tmp = handles.uitable1;
    data = get(handles_tmp,'data');
    column_name = get(handles_tmp,'columnname');
    row_name = get(handles_tmp,'rowname');
    myfile_time = datestr(now,30);
    filename = ['同一算法的统计结果',char(myfile_time)];
    xlswrite(filename,column_name','sheet1','B1:D1');
    xlswrite(filename,row_name,'sheet1','A2');
    xlswrite(filename,data,'sheet1','B2');
    cd ..
end
if reason==2
    name = '不同算法的比较';
    if exist(name)==0
        mkdir(name);
    end
    cd('不同算法的比较')
    handles_tmp = handles.uitable2;
    data = get(handles_tmp,'data');
    column_name = get(handles_tmp,'columnname');
    row_name = get(handles_tmp,'rowname');
    myfile_time = datestr(now,30);
    filename = ['不同算法的统计结果',char(myfile_time)];
    xlswrite(filename,column_name','sheet1','B1:F1');
    xlswrite(filename,row_name,'sheet1','A2');
    xlswrite(filename,data,'sheet1','B2');
    cd ..
    
    cd('不同算法的比较')
    handles_tmp = handles.uitable3;
    data = get(handles_tmp,'data');
    column_name = get(handles_tmp,'columnname');
    row_name = get(handles_tmp,'rowname');
    myfile_time = datestr(now,30);
    filename = ['不同算法的收敛值',char(myfile_time)];
    xlswrite(filename,column_name','sheet1','B1:F1');
    xlswrite(filename,row_name,'sheet1','A2');
    xlswrite(filename,data,'sheet1','B2');
    cd ..
    
    cd('不同算法的比较')
    handles_tmp = handles.uitable4;
    data = get(handles_tmp,'data');
    column_name = get(handles_tmp,'columnname');
    row_name = get(handles_tmp,'rowname');
    myfile_time = datestr(now,30);
    filename = ['不同算法的收敛次数',char(myfile_time)];
    xlswrite(filename,column_name','sheet1','B1:F1');
    xlswrite(filename,row_name,'sheet1','A2');
    xlswrite(filename,data,'sheet1','B2');
    cd ..
end
set(handles.edit38,'string','保存成功');
waitbar(0.99,wait_me);
delete(wait_me);
 
% --- Executes on button press in pushbutton30.
function pushbutton30_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton30 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
set(handles.edit38,'string','正在保存,请稍后');
wait_me = waitbar(0,'正在保存');
for i=1:100
    pause(0.0001);
    waitbar(i/110,wait_me);
end
name = '多样性曲线图';
if exist(name)==0
    mkdir(name);
end
cd('多样性曲线图')
new_f_handle=figure('visible','off');
new_axes=copyobj(handles.axes2,new_f_handle);
pix=getframe(gcf);
set(new_axes,'units','default','position','default');
myfile_time = datestr(now,30);
saveas(gca,['多样性曲线图',char(myfile_time)],'fig')
saveas(gca,['多样性曲线图',char(myfile_time)],'emf')
close(gcf)
cd ..
set(handles.edit38,'string','保存成功');
waitbar(0.99,wait_me);
delete(wait_me);
 
 
% --- Executes on button press in pushbutton31.
function pushbutton31_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton31 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
global permission_goal permission_start
permission_goal = 0;
permission_start = 0;
  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58.
  • 59.
  • 60.
  • 61.
  • 62.
  • 63.
  • 64.
  • 65.
  • 66.
  • 67.
  • 68.
  • 69.
  • 70.
  • 71.
  • 72.
  • 73.
  • 74.
  • 75.
  • 76.
  • 77.
  • 78.
  • 79.
  • 80.
  • 81.
  • 82.
  • 83.
  • 84.
  • 85.
  • 86.
  • 87.
  • 88.
  • 89.
  • 90.
  • 91.
  • 92.
  • 93.
  • 94.
  • 95.
  • 96.
  • 97.
  • 98.
  • 99.
  • 100.
  • 101.
  • 102.
  • 103.
  • 104.
  • 105.
  • 106.
  • 107.
  • 108.
  • 109.
  • 110.
  • 111.
  • 112.
  • 113.
  • 114.
  • 115.
  • 116.
  • 117.
  • 118.
  • 119.
  • 120.
  • 121.
  • 122.
  • 123.
  • 124.
  • 125.
  • 126.
  • 127.
  • 128.
  • 129.
  • 130.
  • 131.
  • 132.
  • 133.
  • 134.
  • 135.
  • 136.
  • 137.
  • 138.
  • 139.
  • 140.
  • 141.
  • 142.
  • 143.
  • 144.
  • 145.
  • 146.
  • 147.
  • 148.
  • 149.
  • 150.
  • 151.
  • 152.
  • 153.
  • 154.
  • 155.
  • 156.
  • 157.
  • 158.
  • 159.
  • 160.
  • 161.
  • 162.
  • 163.
  • 164.
  • 165.
  • 166.
  • 167.
  • 168.
  • 169.
  • 170.
  • 171.
  • 172.
  • 173.
  • 174.
  • 175.
  • 176.
  • 177.
  • 178.
  • 179.
  • 180.
  • 181.
  • 182.
  • 183.
  • 184.
  • 185.
  • 186.
  • 187.
  • 188.
  • 189.
  • 190.
  • 191.
  • 192.
  • 193.
  • 194.
  • 195.
  • 196.
  • 197.
  • 198.
  • 199.
  • 200.
  • 201.
  • 202.
  • 203.
  • 204.
  • 205.
  • 206.
  • 207.
  • 208.
  • 209.
  • 210.
  • 211.
  • 212.
  • 213.
  • 214.
  • 215.
  • 216.
  • 217.
  • 218.
  • 219.
  • 220.
  • 221.
  • 222.
  • 223.
  • 224.
  • 225.
  • 226.
  • 227.
  • 228.
  • 229.
  • 230.
  • 231.
  • 232.
  • 233.
  • 234.
  • 235.
  • 236.
  • 237.
  • 238.
  • 239.
  • 240.
  • 241.
  • 242.
  • 243.
  • 244.
  • 245.
  • 246.
  • 247.
  • 248.
  • 249.
  • 250.
  • 251.
  • 252.
  • 253.
  • 254.
  • 255.
  • 256.
  • 257.
  • 258.
  • 259.
  • 260.
  • 261.
  • 262.
  • 263.
  • 264.
  • 265.
  • 266.
  • 267.
  • 268.
  • 269.
  • 270.
  • 271.
  • 272.
  • 273.
  • 274.
  • 275.
  • 276.
  • 277.
  • 278.
  • 279.
  • 280.
  • 281.
  • 282.
  • 283.
  • 284.
  • 285.
  • 286.
  • 287.
  • 288.
  • 289.
  • 290.
  • 291.
  • 292.
  • 293.
  • 294.
  • 295.
  • 296.
  • 297.
  • 298.
  • 299.
  • 300.
  • 301.
  • 302.
  • 303.
  • 304.
  • 305.
  • 306.
  • 307.
  • 308.
  • 309.
  • 310.
  • 311.
  • 312.
  • 313.
  • 314.
  • 315.
  • 316.
  • 317.
  • 318.
  • 319.
  • 320.
  • 321.
  • 322.
  • 323.
  • 324.
  • 325.
  • 326.
  • 327.
  • 328.
  • 329.
  • 330.
  • 331.
  • 332.
  • 333.
  • 334.
  • 335.
  • 336.
  • 337.
  • 338.
  • 339.
  • 340.
  • 341.
  • 342.
  • 343.
  • 344.
  • 345.
  • 346.
  • 347.
  • 348.
  • 349.
  • 350.
  • 351.
  • 352.
  • 353.
  • 354.
  • 355.
  • 356.
  • 357.
  • 358.
  • 359.
  • 360.
  • 361.
  • 362.
  • 363.
  • 364.
  • 365.
  • 366.
  • 367.
  • 368.
  • 369.
  • 370.
  • 371.
  • 372.
  • 373.
  • 374.
  • 375.
  • 376.
  • 377.
  • 378.
  • 379.
  • 380.
  • 381.
  • 382.
  • 383.
  • 384.
  • 385.
  • 386.
  • 387.
  • 388.
  • 389.
  • 390.
  • 391.
  • 392.
  • 393.
  • 394.
  • 395.
  • 396.
  • 397.
  • 398.
  • 399.
  • 400.
  • 401.
  • 402.
  • 403.
  • 404.
  • 405.
  • 406.
  • 407.
  • 408.
  • 409.
  • 410.
  • 411.
  • 412.
  • 413.
  • 414.
  • 415.
  • 416.
  • 417.
  • 418.
  • 419.
  • 420.
  • 421.
  • 422.
  • 423.
  • 424.
  • 425.
  • 426.
  • 427.
  • 428.
  • 429.
  • 430.
  • 431.
  • 432.
  • 433.
  • 434.
  • 435.
  • 436.
  • 437.
  • 438.
  • 439.
  • 440.
  • 441.
  • 442.
  • 443.
  • 444.
  • 445.
  • 446.
  • 447.
  • 448.
  • 449.
  • 450.
  • 451.
  • 452.
  • 453.
  • 454.
  • 455.
  • 456.
  • 457.
  • 458.
  • 459.
  • 460.
  • 461.
  • 462.
  • 463.
  • 464.
  • 465.
  • 466.
  • 467.
  • 468.
  • 469.
  • 470.
  • 471.
  • 472.
  • 473.
  • 474.
  • 475.
  • 476.
  • 477.
  • 478.
  • 479.
  • 480.
  • 481.
  • 482.
  • 483.
  • 484.
  • 485.
  • 486.
  • 487.
  • 488.
  • 489.
  • 490.
  • 491.
  • 492.
  • 493.
  • 494.
  • 495.
  • 496.
  • 497.
  • 498.
  • 499.
  • 500.
  • 501.
  • 502.
  • 503.
  • 504.
  • 505.
  • 506.
  • 507.
  • 508.
  • 509.
  • 510.
  • 511.
  • 512.
  • 513.
  • 514.
  • 515.
  • 516.
  • 517.
  • 518.
  • 519.
  • 520.
  • 521.
  • 522.
  • 523.
  • 524.
  • 525.
  • 526.
  • 527.
  • 528.
  • 529.
  • 530.
  • 531.
  • 532.
  • 533.
  • 534.
  • 535.
  • 536.
  • 537.
  • 538.
  • 539.
  • 540.
  • 541.
  • 542.
  • 543.
  • 544.
  • 545.
  • 546.
  • 547.
  • 548.
  • 549.
  • 550.
  • 551.
  • 552.
  • 553.
  • 554.
  • 555.
  • 556.
  • 557.
  • 558.
  • 559.
  • 560.
  • 561.
  • 562.
  • 563.
  • 564.
  • 565.
  • 566.
  • 567.
  • 568.
  • 569.
  • 570.
  • 571.
  • 572.
  • 573.
  • 574.
  • 575.
  • 576.
  • 577.
  • 578.
  • 579.
  • 580.
  • 581.
  • 582.
  • 583.
  • 584.
  • 585.
  • 586.
  • 587.
  • 588.
  • 589.
  • 590.
  • 591.
  • 592.
  • 593.
  • 594.
  • 595.
  • 596.
  • 597.
  • 598.
  • 599.
  • 600.
  • 601.
  • 602.
  • 603.
  • 604.
  • 605.
  • 606.
  • 607.
  • 608.
  • 609.
  • 610.
  • 611.
  • 612.
  • 613.
  • 614.
  • 615.
  • 616.
  • 617.
  • 618.
  • 619.
  • 620.
  • 621.
  • 622.
  • 623.
  • 624.
  • 625.
  • 626.
  • 627.
  • 628.
  • 629.
  • 630.
  • 631.
  • 632.
  • 633.
  • 634.
  • 635.
  • 636.
  • 637.
  • 638.
  • 639.
  • 640.
  • 641.
  • 642.
  • 643.
  • 644.
  • 645.
  • 646.
  • 647.
  • 648.
  • 649.
  • 650.
  • 651.
  • 652.
  • 653.
  • 654.
  • 655.
  • 656.
  • 657.
  • 658.
  • 659.
  • 660.
  • 661.
  • 662.
  • 663.
  • 664.
  • 665.
  • 666.
  • 667.
  • 668.
  • 669.
  • 670.
  • 671.
  • 672.
  • 673.
  • 674.
  • 675.
  • 676.
  • 677.
  • 678.
  • 679.
  • 680.
  • 681.
  • 682.
  • 683.
  • 684.
  • 685.
  • 686.
  • 687.
  • 688.
  • 689.
  • 690.
  • 691.
  • 692.
  • 693.
  • 694.
  • 695.
  • 696.
  • 697.
  • 698.
  • 699.
  • 700.
  • 701.
  • 702.
  • 703.
  • 704.
  • 705.
  • 706.
  • 707.
  • 708.
  • 709.
  • 710.
  • 711.
  • 712.
  • 713.
  • 714.
  • 715.
  • 716.
  • 717.
  • 718.
  • 719.
  • 720.
  • 721.
  • 722.
  • 723.
  • 724.
  • 725.
  • 726.
  • 727.
  • 728.
  • 729.
  • 730.
  • 731.
  • 732.
  • 733.
  • 734.
  • 735.
  • 736.
  • 737.
  • 738.
  • 739.
  • 740.
  • 741.
  • 742.
  • 743.
  • 744.
  • 745.
  • 746.
  • 747.
  • 748.
  • 749.
  • 750.
  • 751.
  • 752.
  • 753.
  • 754.
  • 755.
  • 756.
  • 757.
  • 758.
  • 759.
  • 760.
  • 761.
  • 762.
  • 763.
  • 764.
  • 765.
  • 766.
  • 767.
  • 768.
  • 769.
  • 770.
  • 771.
  • 772.
  • 773.
  • 774.
  • 775.
  • 776.
  • 777.
  • 778.
  • 779.
  • 780.
  • 781.
  • 782.
  • 783.
  • 784.
  • 785.
  • 786.
  • 787.
  • 788.
  • 789.
  • 790.
  • 791.
  • 792.
  • 793.
  • 794.
  • 795.
  • 796.
  • 797.
  • 798.
  • 799.
  • 800.
  • 801.
  • 802.
  • 803.
  • 804.
  • 805.
  • 806.
  • 807.
  • 808.
  • 809.
  • 810.
  • 811.
  • 812.
  • 813.
  • 814.
  • 815.
  • 816.
  • 817.
  • 818.
  • 819.
  • 820.
  • 821.
  • 822.
  • 823.
  • 824.
  • 825.
  • 826.
  • 827.
  • 828.
  • 829.
  • 830.
  • 831.
  • 832.
  • 833.
  • 834.
  • 835.
  • 836.
  • 837.
  • 838.
  • 839.
  • 840.
  • 841.
  • 842.
  • 843.
  • 844.
  • 845.
  • 846.
  • 847.
  • 848.
  • 849.
  • 850.
  • 851.
  • 852.
  • 853.
  • 854.
  • 855.
  • 856.
  • 857.
  • 858.
  • 859.
  • 860.
  • 861.
  • 862.
  • 863.
  • 864.
  • 865.
  • 866.
  • 867.
  • 868.
  • 869.
  • 870.
  • 871.
  • 872.
  • 873.
  • 874.
  • 875.
  • 876.
  • 877.
  • 878.
  • 879.
  • 880.
  • 881.
  • 882.
  • 883.
  • 884.
  • 885.
  • 886.
  • 887.
  • 888.
  • 889.
  • 890.
  • 891.
  • 892.
  • 893.
  • 894.
  • 895.
  • 896.
  • 897.
  • 898.
  • 899.
  • 900.
  • 901.
  • 902.
  • 903.
  • 904.
  • 905.
  • 906.
  • 907.
  • 908.
  • 909.
  • 910.
  • 911.
  • 912.
  • 913.
  • 914.
  • 915.
  • 916.
  • 917.
  • 918.
  • 919.
  • 920.
  • 921.
  • 922.
  • 923.
  • 924.
  • 925.
  • 926.
  • 927.
  • 928.
  • 929.
  • 930.
  • 931.
  • 932.
  • 933.
  • 934.
  • 935.
  • 936.
  • 937.
  • 938.
  • 939.
  • 940.
  • 941.
  • 942.
  • 943.
  • 944.
  • 945.
  • 946.
  • 947.
  • 948.
  • 949.
  • 950.
  • 951.
  • 952.
  • 953.
  • 954.
  • 955.
  • 956.
  • 957.
  • 958.
  • 959.
  • 960.
  • 961.
  • 962.
  • 963.
  • 964.
  • 965.
  • 966.
  • 967.
  • 968.
  • 969.
  • 970.
  • 971.
  • 972.
  • 973.
  • 974.
  • 975.
  • 976.
  • 977.
  • 978.
  • 979.
  • 980.
  • 981.
  • 982.
  • 983.
  • 984.
  • 985.
  • 986.
  • 987.
  • 988.
  • 989.
  • 990.
  • 991.
  • 992.
  • 993.
  • 994.
  • 995.
  • 996.
  • 997.
  • 998.
  • 999.
  • 1000.
  • 1001.
  • 1002.
  • 1003.
  • 1004.
  • 1005.
  • 1006.
  • 1007.
  • 1008.
  • 1009.
  • 1010.
  • 1011.
  • 1012.
  • 1013.
  • 1014.
  • 1015.
  • 1016.
  • 1017.
  • 1018.
  • 1019.
  • 1020.
  • 1021.
  • 1022.
  • 1023.
  • 1024.
  • 1025.
  • 1026.
  • 1027.
  • 1028.
  • 1029.
  • 1030.
  • 1031.
  • 1032.
  • 1033.
  • 1034.
  • 1035.
  • 1036.
  • 1037.
  • 1038.
  • 1039.
  • 1040.
  • 1041.
  • 1042.
  • 1043.
  • 1044.
  • 1045.
  • 1046.
  • 1047.
  • 1048.
  • 1049.
  • 1050.
  • 1051.
  • 1052.
  • 1053.
  • 1054.
  • 1055.
  • 1056.
  • 1057.
  • 1058.
  • 1059.
  • 1060.
  • 1061.
  • 1062.
  • 1063.
  • 1064.
  • 1065.
  • 1066.
  • 1067.
  • 1068.
  • 1069.
  • 1070.
  • 1071.
  • 1072.
  • 1073.
  • 1074.
  • 1075.
  • 1076.
  • 1077.
  • 1078.
  • 1079.
  • 1080.
  • 1081.
  • 1082.
  • 1083.
  • 1084.
  • 1085.
  • 1086.
  • 1087.
  • 1088.
  • 1089.
  • 1090.
  • 1091.
  • 1092.
  • 1093.
  • 1094.
  • 1095.
  • 1096.
  • 1097.
  • 1098.
  • 1099.
  • 1100.
  • 1101.
  • 1102.
  • 1103.
  • 1104.
  • 1105.
  • 1106.
  • 1107.
  • 1108.
  • 1109.
  • 1110.
  • 1111.
  • 1112.
  • 1113.
  • 1114.
  • 1115.
  • 1116.
  • 1117.
  • 1118.
  • 1119.
  • 1120.
  • 1121.
  • 1122.
  • 1123.
  • 1124.
  • 1125.
  • 1126.
  • 1127.
  • 1128.
  • 1129.
  • 1130.
  • 1131.
  • 1132.
  • 1133.
  • 1134.
  • 1135.
  • 1136.
  • 1137.
  • 1138.
  • 1139.
  • 1140.
  • 1141.
  • 1142.
  • 1143.
  • 1144.
  • 1145.
  • 1146.
  • 1147.
  • 1148.
  • 1149.
  • 1150.
  • 1151.
  • 1152.
  • 1153.
  • 1154.
  • 1155.
  • 1156.
  • 1157.
  • 1158.
  • 1159.
  • 1160.
  • 1161.
  • 1162.
  • 1163.
  • 1164.
  • 1165.
  • 1166.
  • 1167.
  • 1168.
  • 1169.
  • 1170.
  • 1171.
  • 1172.
  • 1173.
  • 1174.
  • 1175.
  • 1176.
  • 1177.
  • 1178.
  • 1179.
  • 1180.
  • 1181.
  • 1182.
  • 1183.
  • 1184.
  • 1185.
  • 1186.
  • 1187.
  • 1188.
  • 1189.
  • 1190.
  • 1191.
  • 1192.
  • 1193.
  • 1194.
  • 1195.
  • 1196.
  • 1197.
  • 1198.
  • 1199.
  • 1200.
  • 1201.
  • 1202.
  • 1203.
  • 1204.
  • 1205.
  • 1206.
  • 1207.
  • 1208.
  • 1209.
  • 1210.
  • 1211.
  • 1212.
  • 1213.
  • 1214.
  • 1215.
  • 1216.
  • 1217.
  • 1218.
  • 1219.
  • 1220.
  • 1221.
  • 1222.
  • 1223.
  • 1224.
  • 1225.
  • 1226.
  • 1227.
  • 1228.
  • 1229.
  • 1230.
  • 1231.
  • 1232.
  • 1233.
  • 1234.
  • 1235.
  • 1236.
  • 1237.
  • 1238.
  • 1239.
  • 1240.
  • 1241.
  • 1242.
  • 1243.
  • 1244.
  • 1245.
  • 1246.
  • 1247.
  • 1248.
  • 1249.
  • 1250.
  • 1251.
  • 1252.
  • 1253.
  • 1254.
  • 1255.
  • 1256.
  • 1257.
  • 1258.
  • 1259.
  • 1260.
  • 1261.
  • 1262.
  • 1263.
  • 1264.
  • 1265.
  • 1266.
  • 1267.
  • 1268.
  • 1269.
  • 1270.
  • 1271.
  • 1272.
  • 1273.
  • 1274.
  • 1275.
  • 1276.
  • 1277.
  • 1278.
  • 1279.
  • 1280.
  • 1281.
  • 1282.
  • 1283.
  • 1284.
  • 1285.
  • 1286.
  • 1287.
  • 1288.
  • 1289.
  • 1290.
  • 1291.
  • 1292.
  • 1293.
  • 1294.
  • 1295.
  • 1296.
  • 1297.
  • 1298.
  • 1299.
  • 1300.
  • 1301.
  • 1302.
  • 1303.
  • 1304.
  • 1305.
  • 1306.
  • 1307.
  • 1308.
  • 1309.
  • 1310.
  • 1311.
  • 1312.
  • 1313.
  • 1314.
  • 1315.
  • 1316.
  • 1317.
  • 1318.
  • 1319.
  • 1320.
  • 1321.
  • 1322.
  • 1323.
  • 1324.
  • 1325.
  • 1326.
  • 1327.
  • 1328.
  • 1329.
  • 1330.
  • 1331.
  • 1332.
  • 1333.
  • 1334.
  • 1335.
  • 1336.
  • 1337.
  • 1338.
  • 1339.
  • 1340.
  • 1341.
  • 1342.
  • 1343.
  • 1344.
  • 1345.
  • 1346.
  • 1347.
  • 1348.
  • 1349.
  • 1350.
  • 1351.
  • 1352.
  • 1353.
  • 1354.
  • 1355.
  • 1356.
  • 1357.
  • 1358.
  • 1359.
  • 1360.
  • 1361.
  • 1362.
  • 1363.
  • 1364.
  • 1365.
  • 1366.
  • 1367.
  • 1368.
  • 1369.
  • 1370.
  • 1371.
  • 1372.
  • 1373.
  • 1374.
  • 1375.
  • 1376.
  • 1377.
  • 1378.
  • 1379.
  • 1380.
  • 1381.
  • 1382.
  • 1383.
  • 1384.
  • 1385.
  • 1386.
  • 1387.
  • 1388.
  • 1389.
  • 1390.
  • 1391.
  • 1392.
  • 1393.
  • 1394.
  • 1395.
  • 1396.
  • 1397.
  • 1398.
  • 1399.
  • 1400.
  • 1401.
  • 1402.
  • 1403.
  • 1404.
  • 1405.
  • 1406.
  • 1407.
  • 1408.
  • 1409.
  • 1410.
  • 1411.
  • 1412.
  • 1413.
  • 1414.
  • 1415.
  • 1416.
  • 1417.
  • 1418.
  • 1419.
  • 1420.
  • 1421.
  • 1422.
  • 1423.
  • 1424.
  • 1425.
  • 1426.
  • 1427.
  • 1428.
  • 1429.
  • 1430.
  • 1431.
  • 1432.
  • 1433.
  • 1434.
  • 1435.
  • 1436.
  • 1437.
  • 1438.
  • 1439.
  • 1440.
  • 1441.
  • 1442.
  • 1443.
  • 1444.
  • 1445.
  • 1446.
  • 1447.
  • 1448.
  • 1449.
  • 1450.
  • 1451.
  • 1452.
  • 1453.
  • 1454.
  • 1455.
  • 1456.
  • 1457.
  • 1458.
  • 1459.
  • 1460.
  • 1461.
  • 1462.
  • 1463.
  • 1464.
  • 1465.
  • 1466.
  • 1467.
  • 1468.
  • 1469.
  • 1470.
  • 1471.
  • 1472.
  • 1473.
  • 1474.
  • 1475.
  • 1476.
  • 1477.
  • 1478.
  • 1479.
  • 1480.
  • 1481.
  • 1482.
  • 1483.
  • 1484.
  • 1485.
  • 1486.
  • 1487.
  • 1488.
  • 1489.
  • 1490.
  • 1491.
  • 1492.
  • 1493.
  • 1494.
  • 1495.
  • 1496.
  • 1497.
  • 1498.
  • 1499.
  • 1500.
  • 1501.
  • 1502.
  • 1503.
  • 1504.
  • 1505.
  • 1506.
  • 1507.
  • 1508.
  • 1509.
  • 1510.
  • 1511.
  • 1512.
  • 1513.
  • 1514.
  • 1515.
  • 1516.
  • 1517.
  • 1518.
  • 1519.
  • 1520.
  • 1521.
  • 1522.
  • 1523.
  • 1524.
  • 1525.
  • 1526.
  • 1527.
  • 1528.
  • 1529.
  • 1530.
  • 1531.
  • 1532.
  • 1533.
  • 1534.
  • 1535.
  • 1536.
  • 1537.
  • 1538.
  • 1539.
  • 1540.
  • 1541.
  • 1542.
  • 1543.
  • 1544.
  • 1545.
  • 1546.
  • 1547.
  • 1548.
  • 1549.
  • 1550.
  • 1551.
  • 1552.
  • 1553.
  • 1554.
  • 1555.
  • 1556.
  • 1557.
  • 1558.
  • 1559.
  • 1560.
  • 1561.
  • 1562.
  • 1563.
  • 1564.
  • 1565.
  • 1566.
  • 1567.
  • 1568.
  • 1569.
  • 1570.
  • 1571.
  • 1572.
  • 1573.
  • 1574.
  • 1575.
  • 1576.
  • 1577.
  • 1578.
  • 1579.
  • 1580.
  • 1581.
  • 1582.
  • 1583.
  • 1584.
  • 1585.
  • 1586.
  • 1587.
  • 1588.
  • 1589.
  • 1590.
  • 1591.
  • 1592.
  • 1593.
  • 1594.
  • 1595.
  • 1596.
  • 1597.
  • 1598.
  • 1599.
  • 1600.
  • 1601.
  • 1602.
  • 1603.
  • 1604.
  • 1605.
  • 1606.
  • 1607.
  • 1608.
  • 1609.
  • 1610.
  • 1611.
  • 1612.
  • 1613.
  • 1614.
  • 1615.
  • 1616.
  • 1617.
  • 1618.
  • 1619.
  • 1620.
  • 1621.
  • 1622.
  • 1623.
  • 1624.
  • 1625.
  • 1626.
  • 1627.
  • 1628.
  • 1629.
  • 1630.
  • 1631.
  • 1632.
  • 1633.
  • 1634.
  • 1635.
  • 1636.
  • 1637.
  • 1638.
  • 1639.
  • 1640.
  • 1641.
  • 1642.
  • 1643.
  • 1644.
  • 1645.
  • 1646.
  • 1647.
  • 1648.
  • 1649.
  • 1650.
  • 1651.
  • 1652.
  • 1653.
  • 1654.
  • 1655.
  • 1656.
  • 1657.
  • 1658.
  • 1659.
  • 1660.
  • 1661.
  • 1662.
  • 1663.
  • 1664.
  • 1665.
  • 1666.
  • 1667.
  • 1668.
  • 1669.
  • 1670.
  • 1671.
  • 1672.
  • 1673.
  • 1674.
  • 1675.
  • 1676.
  • 1677.
  • 1678.
  • 1679.
  • 1680.
  • 1681.
  • 1682.
  • 1683.
  • 1684.
  • 1685.
  • 1686.
  • 1687.
  • 1688.
  • 1689.
  • 1690.
  • 1691.
  • 1692.
  • 1693.
  • 1694.
  • 1695.
  • 1696.
  • 1697.
  • 1698.
  • 1699.
  • 1700.
  • 1701.
  • 1702.
  • 1703.
  • 1704.
  • 1705.
  • 1706.
  • 1707.
  • 1708.
  • 1709.
  • 1710.
  • 1711.
  • 1712.
  • 1713.
  • 1714.
  • 1715.
  • 1716.
  • 1717.
  • 1718.
  • 1719.
  • 1720.
  • 1721.
  • 1722.
  • 1723.
  • 1724.
  • 1725.
  • 1726.
  • 1727.
  • 1728.
  • 1729.
  • 1730.
  • 1731.
  • 1732.
  • 1733.
  • 1734.
  • 1735.
  • 1736.
  • 1737.
  • 1738.
  • 1739.
  • 1740.
  • 1741.
  • 1742.
  • 1743.
  • 1744.
  • 1745.
  • 1746.
  • 1747.
  • 1748.
  • 1749.
  • 1750.
  • 1751.
  • 1752.
  • 1753.
  • 1754.
  • 1755.
  • 1756.
  • 1757.
  • 1758.
  • 1759.
  • 1760.
  • 1761.
  • 1762.
  • 1763.
  • 1764.
  • 1765.
  • 1766.
  • 1767.
  • 1768.
  • 1769.
  • 1770.
  • 1771.
  • 1772.
  • 1773.
  • 1774.
  • 1775.
  • 1776.
  • 1777.
  • 1778.
  • 1779.
  • 1780.
  • 1781.
  • 1782.
  • 1783.
  • 1784.
  • 1785.
  • 1786.
  • 1787.
  • 1788.
  • 1789.
  • 1790.
  • 1791.
  • 1792.
  • 1793.
  • 1794.
  • 1795.
  • 1796.
  • 1797.
  • 1798.
  • 1799.
  • 1800.
  • 1801.
  • 1802.
  • 1803.
  • 1804.
  • 1805.
  • 1806.
  • 1807.
  • 1808.
  • 1809.
  • 1810.
  • 1811.
  • 1812.
  • 1813.
  • 1814.
  • 1815.
  • 1816.
  • 1817.
  • 1818.
  • 1819.
  • 1820.
  • 1821.
  • 1822.
  • 1823.
  • 1824.
  • 1825.
  • 1826.
  • 1827.
  • 1828.
  • 1829.
  • 1830.
  • 1831.
  • 1832.
  • 1833.
  • 1834.
  • 1835.
  • 1836.
  • 1837.
  • 1838.
  • 1839.
  • 1840.
  • 1841.
  • 1842.
  • 1843.
  • 1844.
  • 1845.
  • 1846.
  • 1847.
  • 1848.
  • 1849.
  • 1850.
  • 1851.
  • 1852.
  • 1853.
  • 1854.
  • 1855.
  • 1856.
  • 1857.
  • 1858.
  • 1859.
  • 1860.
  • 1861.
  • 1862.
  • 1863.
  • 1864.
  • 1865.
  • 1866.
  • 1867.
  • 1868.
  • 1869.
  • 1870.
  • 1871.
  • 1872.
  • 1873.
  • 1874.
  • 1875.
  • 1876.
  • 1877.
  • 1878.
  • 1879.
  • 1880.
  • 1881.
  • 1882.
  • 1883.
  • 1884.
  • 1885.
  • 1886.
  • 1887.
  • 1888.
  • 1889.
  • 1890.
  • 1891.
  • 1892.
  • 1893.
  • 1894.
  • 1895.
  • 1896.
  • 1897.
  • 1898.
  • 1899.
  • 1900.
  • 1901.
  • 1902.
  • 1903.
  • 1904.
  • 1905.
  • 1906.
  • 1907.
  • 1908.
  • 1909.
  • 1910.
  • 1911.
  • 1912.
  • 1913.
  • 1914.
  • 1915.
  • 1916.
  • 1917.
  • 1918.
  • 1919.
  • 1920.
  • 1921.
  • 1922.
  • 1923.
  • 1924.
  • 1925.
  • 1926.
  • 1927.
  • 1928.
  • 1929.
  • 1930.
  • 1931.
  • 1932.
  • 1933.
  • 1934.
  • 1935.
  • 1936.
  • 1937.
  • 1938.
  • 1939.
  • 1940.
  • 1941.
  • 1942.
  • 1943.
  • 1944.
  • 1945.
  • 1946.
  • 1947.
  • 1948.
  • 1949.
  • 1950.
  • 1951.
  • 1952.
  • 1953.
  • 1954.
  • 1955.
  • 1956.
  • 1957.
  • 1958.
  • 1959.
  • 1960.
  • 1961.
  • 1962.
  • 1963.
  • 1964.
  • 1965.
  • 1966.
  • 1967.
  • 1968.
  • 1969.
  • 1970.
  • 1971.
  • 1972.
  • 1973.
  • 1974.
  • 1975.
  • 1976.
  • 1977.
  • 1978.
  • 1979.
  • 1980.
  • 1981.
  • 1982.
  • 1983.
  • 1984.
  • 1985.
  • 1986.
  • 1987.
  • 1988.
  • 1989.
  • 1990.
  • 1991.
  • 1992.
  • 1993.
  • 1994.
  • 1995.
  • 1996.
  • 1997.
  • 1998.
  • 1999.
  • 2000.
  • 2001.
  • 2002.
  • 2003.
  • 2004.
  • 2005.
  • 2006.
  • 2007.
  • 2008.
  • 2009.
  • 2010.
  • 2011.
  • 2012.
  • 2013.
  • 2014.
  • 2015.
  • 2016.
  • 2017.
  • 2018.
  • 2019.
  • 2020.
  • 2021.
  • 2022.
  • 2023.
  • 2024.
  • 2025.
  • 2026.
  • 2027.
  • 2028.
  • 2029.
  • 2030.
  • 2031.
  • 2032.
  • 2033.
  • 2034.
  • 2035.
  • 2036.
  • 2037.
  • 2038.
  • 2039.
  • 2040.
  • 2041.
  • 2042.
  • 2043.
  • 2044.
  • 2045.
  • 2046.
  • 2047.
  • 2048.
  • 2049.
  • 2050.
  • 2051.
  • 2052.
  • 2053.
  • 2054.
  • 2055.
  • 2056.
  • 2057.
  • 2058.
  • 2059.
  • 2060.
  • 2061.
  • 2062.
  • 2063.
  • 2064.
  • 2065.
  • 2066.
  • 2067.
  • 2068.
  • 2069.
  • 2070.
  • 2071.
  • 2072.
  • 2073.
  • 2074.
  • 2075.
  • 2076.
  • 2077.
  • 2078.
  • 2079.
  • 2080.
  • 2081.
  • 2082.
  • 2083.
  • 2084.
  • 2085.
  • 2086.
  • 2087.
  • 2088.
  • 2089.
  • 2090.
  • 2091.
  • 2092.
  • 2093.
  • 2094.
  • 2095.
  • 2096.
  • 2097.
  • 2098.
  • 2099.
  • 2100.
  • 2101.
  • 2102.
  • 2103.
  • 2104.
  • 2105.
  • 2106.
  • 2107.
  • 2108.
  • 2109.
  • 2110.
  • 2111.
  • 2112.
  • 2113.
  • 2114.
  • 2115.
  • 2116.
  • 2117.
  • 2118.
  • 2119.
  • 2120.
  • 2121.
  • 2122.
  • 2123.
  • 2124.
  • 2125.
  • 2126.
  • 2127.
  • 2128.
  • 2129.
  • 2130.
  • 2131.
  • 2132.
  • 2133.
  • 2134.
  • 2135.
  • 2136.
  • 2137.
  • 2138.
  • 2139.
  • 2140.
  • 2141.
  • 2142.
  • 2143.
  • 2144.
  • 2145.
  • 2146.
  • 2147.
  • 2148.
  • 2149.
  • 2150.
  • 2151.
  • 2152.
  • 2153.
  • 2154.
  • 2155.
  • 2156.
  • 2157.
  • 2158.
  • 2159.
  • 2160.
  • 2161.
  • 2162.
  • 2163.
  • 2164.
  • 2165.
  • 2166.
  • 2167.
  • 2168.
  • 2169.
  • 2170.
  • 2171.
  • 2172.
  • 2173.
  • 2174.
  • 2175.
  • 2176.
  • 2177.
  • 2178.
  • 2179.
  • 2180.
  • 2181.
  • 2182.
  • 2183.
  • 2184.
  • 2185.
  • 2186.
  • 2187.
  • 2188.
  • 2189.
  • 2190.
  • 2191.
  • 2192.
  • 2193.
  • 2194.
  • 2195.
  • 2196.
  • 2197.
  • 2198.
  • 2199.
  • 2200.
  • 2201.
  • 2202.
  • 2203.
  • 2204.
  • 2205.
  • 2206.
  • 2207.
  • 2208.
  • 2209.
  • 2210.
  • 2211.
  • 2212.
  • 2213.
  • 2214.
  • 2215.
  • 2216.
  • 2217.
  • 2218.
  • 2219.
  • 2220.
  • 2221.
  • 2222.
  • 2223.
  • 2224.
  • 2225.
  • 2226.
  • 2227.
  • 2228.
  • 2229.
  • 2230.
  • 2231.
  • 2232.
  • 2233.
  • 2234.
  • 2235.
  • 2236.
  • 2237.
  • 2238.
  • 2239.
  • 2240.
  • 2241.
  • 2242.
  • 2243.
  • 2244.
  • 2245.
  • 2246.
  • 2247.
  • 2248.
  • 2249.
  • 2250.
  • 2251.
  • 2252.
  • 2253.
  • 2254.
  • 2255.
  • 2256.
  • 2257.
  • 2258.
  • 2259.
  • 2260.
  • 2261.
  • 2262.
  • 2263.
  • 2264.
  • 2265.
  • 2266.
  • 2267.
  • 2268.
  • 2269.
  • 2270.
  • 2271.
  • 2272.
  • 2273.
  • 2274.
  • 2275.
  • 2276.
  • 2277.
  • 2278.
  • 2279.
  • 2280.
  • 2281.
  • 2282.
  • 2283.
  • 2284.
  • 2285.
  • 2286.
  • 2287.
  • 2288.
  • 2289.
  • 2290.
  • 2291.
  • 2292.
  • 2293.
  • 2294.
  • 2295.
  • 2296.
  • 2297.
  • 2298.
  • 2299.
  • 2300.
  • 2301.
  • 2302.
  • 2303.
  • 2304.
  • 2305.
  • 2306.
  • 2307.
  • 2308.
  • 2309.
  • 2310.
  • 2311.
  • 2312.
  • 2313.
  • 2314.
  • 2315.
  • 2316.
  • 2317.
  • 2318.
  • 2319.
  • 2320.
  • 2321.
  • 2322.
  • 2323.
  • 2324.
  • 2325.
  • 2326.
  • 2327.
  • 2328.
  • 2329.
  • 2330.
  • 2331.
  • 2332.
  • 2333.
  • 2334.
  • 2335.
  • 2336.
  • 2337.
  • 2338.
  • 2339.
  • 2340.
  • 2341.
  • 2342.
  • 2343.
  • 2344.
  • 2345.
  • 2346.
  • 2347.
  • 2348.
  • 2349.
  • 2350.
  • 2351.
  • 2352.
  • 2353.
  • 2354.
  • 2355.
  • 2356.
  • 2357.
  • 2358.
  • 2359.
  • 2360.
  • 2361.
  • 2362.
  • 2363.
  • 2364.
  • 2365.
  • 2366.
  • 2367.
  • 2368.
  • 2369.
  • 2370.
  • 2371.
  • 2372.
  • 2373.
  • 2374.
  • 2375.
  • 2376.
  • 2377.
  • 2378.
  • 2379.
  • 2380.
  • 2381.
  • 2382.
  • 2383.
  • 2384.
  • 2385.
  • 2386.
  • 2387.
  • 2388.
  • 2389.
  • 2390.
  • 2391.
  • 2392.
  • 2393.
  • 2394.
  • 2395.
  • 2396.
  • 2397.
  • 2398.
  • 2399.
  • 2400.
  • 2401.
  • 2402.
  • 2403.
  • 2404.
  • 2405.
  • 2406.
  • 2407.
  • 2408.
  • 2409.
  • 2410.
  • 2411.
  • 2412.
  • 2413.
  • 2414.
  • 2415.
  • 2416.
  • 2417.
  • 2418.
  • 2419.
  • 2420.
  • 2421.
  • 2422.
  • 2423.
  • 2424.
  • 2425.
  • 2426.
  • 2427.
  • 2428.
  • 2429.
  • 2430.
  • 2431.
  • 2432.
  • 2433.
  • 2434.
  • 2435.
  • 2436.
  • 2437.
  • 2438.
  • 2439.
  • 2440.
  • 2441.
  • 2442.
  • 2443.
  • 2444.
  • 2445.
  • 2446.
  • 2447.
  • 2448.
  • 2449.
  • 2450.
  • 2451.
  • 2452.
  • 2453.
  • 2454.
  • 2455.
  • 2456.
  • 2457.
  • 2458.
  • 2459.
  • 2460.
  • 2461.
  • 2462.
  • 2463.
  • 2464.
  • 2465.
  • 2466.
  • 2467.
  • 2468.
  • 2469.
  • 2470.
  • 2471.
  • 2472.
  • 2473.
  • 2474.
  • 2475.
  • 2476.
  • 2477.
  • 2478.
  • 2479.
  • 2480.
  • 2481.
  • 2482.
  • 2483.
  • 2484.
  • 2485.
  • 2486.
  • 2487.
  • 2488.
  • 2489.
  • 2490.
  • 2491.
  • 2492.
  • 2493.
  • 2494.
  • 2495.
  • 2496.
  • 2497.
  • 2498.
  • 2499.
  • 2500.
  • 2501.
  • 2502.
  • 2503.
  • 2504.
  • 2505.
  • 2506.
  • 2507.
  • 2508.
  • 2509.
  • 2510.
  • 2511.
  • 2512.
  • 2513.
  • 2514.
  • 2515.
  • 2516.
  • 2517.
  • 2518.
  • 2519.
  • 2520.
  • 2521.
  • 2522.
  • 2523.
  • 2524.
  • 2525.
  • 2526.
  • 2527.
  • 2528.
  • 2529.
  • 2530.
  • 2531.
  • 2532.
  • 2533.
  • 2534.
  • 2535.
  • 2536.
  • 2537.
  • 2538.
  • 2539.
  • 2540.
  • 2541.
  • 2542.
  • 2543.
  • 2544.
  • 2545.
  • 2546.
  • 2547.
  • 2548.
  • 2549.
  • 2550.
  • 2551.
  • 2552.
  • 2553.
  • 2554.
  • 2555.
  • 2556.
  • 2557.
  • 2558.
  • 2559.
  • 2560.
  • 2561.
  • 2562.
  • 2563.
  • 2564.
  • 2565.
  • 2566.
  • 2567.
  • 2568.
  • 2569.
  • 2570.
  • 2571.
  • 2572.
  • 2573.
  • 2574.
  • 2575.
  • 2576.
  • 2577.
  • 2578.
  • 2579.
  • 2580.

【路径规划】基于蚁群算法栅格地图路径规划matlab_路径规划_10