亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? stsp.m

?? matlab模擬退火算法
?? M
字號:
function varargout = stsp(varargin)
% STSP M-file for stsp.fig
%      STSP, by itself, creates a new STSP or raises the existing
%      singleton*.
%
%      H = STSP returns the handle to a new STSP or the handle to
%      the existing singleton*.
%
%      STSP('CALLBACK',hObject,eventData,handles,...) calls the local
%      function named CALLBACK in STSP.M with the given input arguments.
%
%      STSP('Property','Value',...) creates a new STSP or raises the
%      existing singleton*.  Starting from the left, property value pairs are
%      applied to the GUI before stsp_OpeningFunction gets called.  An
%      unrecognized property name or invalid value makes property application
%      stop.  All inputs are passed to stsp_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 stsp

% Last Modified by GUIDE v2.5 12-Jan-2006 22:46:00

% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name',       mfilename, ...
                   'gui_Singleton',  gui_Singleton, ...
                   'gui_OpeningFcn', @stsp_OpeningFcn, ...
                   'gui_OutputFcn',  @stsp_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 stsp is made visible.
function stsp_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 stsp (see VARARGIN)

% Choose default command line output for stsp
handles.output = hObject;

% Update handles structure
guidata(hObject, handles);

% UIWAIT makes stsp wait for user response (see UIRESUME)
% uiwait(handles.figure1);


% --- Outputs from this function are returned to the command line.
function varargout = stsp_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;



function initial_temperature_Callback(hObject, eventdata, handles)
% hObject    handle to initial_temperature (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 initial_temperature as text
%        str2double(get(hObject,'String')) returns contents of initial_temperature as a double
s = str2double(get(hObject,'String'));
if isnan(s)
    set(hObject,'String','1000')
end
if s < 0 | s > 10000
    set(hObject,'String','1000')
end

% --- Executes during object creation, after setting all properties.
function initial_temperature_CreateFcn(hObject, eventdata, handles)
% hObject    handle to initial_temperature (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 maximum_iterations_Callback(hObject, eventdata, handles)
% hObject    handle to maximum_iterations (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 maximum_iterations as text
%        str2double(get(hObject,'String')) returns contents of maximum_iterations as a double
s = str2double(get(hObject,'String'));
if isnan(s)
    set(hObject,'String','10000')
end
if s < 1000 | s > 1000000
    set(hObject,'String','10000')
end

% --- Executes during object creation, after setting all properties.
function maximum_iterations_CreateFcn(hObject, eventdata, handles)
% hObject    handle to maximum_iterations (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 slider movement.
function cooling_rate_Callback(hObject, eventdata, handles)
% hObject    handle to cooling_rate (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,'Value') returns position of slider
%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
s = sprintf('Cooling Rate : %0.3f',get(hObject,'Value'));
set(handles.cooling_rate_display, 'String', s);
% --- Executes during object creation, after setting all properties.
function cooling_rate_CreateFcn(hObject, eventdata, handles)
% hObject    handle to cooling_rate (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


% --- Executes on slider movement.
function cities_to_swap_Callback(hObject, eventdata, handles)
% hObject    handle to cities_to_swap (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,'Value') returns position of slider
%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
s = sprintf('Cities to swap : %d',get(hObject,'Value'));
set(handles.cities_to_swap_display,'String',s)

% --- Executes during object creation, after setting all properties.
function cities_to_swap_CreateFcn(hObject, eventdata, handles)
% hObject    handle to cities_to_swap (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




% --- Executes during object creation, after setting all properties.
function cooling_rate_display_CreateFcn(hObject, eventdata, handles)
% hObject    handle to cooling_rate_display (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 cities_to_swap_display_CreateFcn(hObject, eventdata, handles)
% hObject    handle to cities_to_swap_display (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called




% --- Executes on button press in start_button.
function start_button_Callback(hObject, eventdata, handles)
% hObject    handle to start_button (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
selection = get(handles.select_data_set, 'Value');
switch selection
    case 2
        data_file;
    case 3
        loadbays29;
    case 4
        loadatt48;
    case 5
        loadst70;
    case 6
        loadpr76;
    case 7
        loadgr96;
    case 8
        loadeil101;
    case 9
        loadpcb442;
    case 10
        loadeil535;
end
if selection ~= 1
    set(handles.initial_temperature, 'Enable', 'Off')
    set(handles.cooling_rate, 'Enable', 'Off')
    set(handles.maximum_iterations, 'Enable', 'Off')
    set(handles.cities_to_swap, 'Enable', 'Off')
    set(handles.start_button, 'Enable', 'Off')
    set(handles.select_data_set, 'Enable', 'Off')
    cities = load ('cities.mat');
    cities = cities.cities;
    simulatedannealing(cities,...
        str2double(get(handles.initial_temperature,'String')),...
        get(handles.cooling_rate,'Value'),...
        str2double(get(handles.maximum_iterations,'String')),...
        get(handles.cities_to_swap,'Value'));
    set(handles.initial_temperature, 'Enable', 'On')
    set(handles.cooling_rate, 'Enable', 'On')
    set(handles.maximum_iterations, 'Enable', 'On')
    set(handles.cities_to_swap, 'Enable', 'On')
    set(handles.start_button, 'Enable', 'On')
    set(handles.select_data_set, 'Enable', 'On')
end

% --- Executes on selection change in select_data_set.
function select_data_set_Callback(hObject, eventdata, handles)
% hObject    handle to select_data_set (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: contents = get(hObject,'String') returns select_data_set contents as cell array
%        contents{get(hObject,'Value')} returns selected item from select_data_set

% --- Executes during object creation, after setting all properties.
function select_data_set_CreateFcn(hObject, eventdata, handles)
% hObject    handle to select_data_set (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


?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色综合久久久久久久久| 精品国产免费一区二区三区四区 | 国产精品1区2区| 91网站最新地址| 91精品国产入口| 亚洲精品视频一区| 国产麻豆精品95视频| 欧美日韩中文字幕精品| 国产精品少妇自拍| 久久机这里只有精品| 欧美性受xxxx| 亚洲图片你懂的| 国产精品影音先锋| 日韩免费福利电影在线观看| 亚洲精选视频在线| 成人av网址在线| 精品成人一区二区| 午夜激情久久久| 色综合久久中文综合久久97| 亚洲国产精品二十页| 国产在线精品一区二区夜色| 777午夜精品视频在线播放| 亚洲综合色噜噜狠狠| 成人app软件下载大全免费| 久久夜色精品国产欧美乱极品| 日欧美一区二区| 欧美日韩一级二级三级| 亚洲综合一区二区精品导航| heyzo一本久久综合| 亚洲国产精品黑人久久久 | 亚洲成人动漫精品| 在线观看日产精品| 亚洲一区二区三区免费视频| 欧洲视频一区二区| 亚洲免费av在线| 日本丶国产丶欧美色综合| 国产精品卡一卡二| 91蜜桃传媒精品久久久一区二区| 国产日韩欧美一区二区三区乱码| 国产一区二区三区在线观看免费| 欧美大片一区二区三区| 国产一区二区在线观看免费| 国产欧美视频在线观看| gogogo免费视频观看亚洲一| 日韩一区日韩二区| 欧美色视频一区| 日本va欧美va精品| 久久尤物电影视频在线观看| 国产成人三级在线观看| 18欧美亚洲精品| 欧美日韩国产区一| 久久精品国产精品亚洲精品| 久久久久久久久久久电影| 国产电影精品久久禁18| 亚洲色图欧洲色图| 欧美另类一区二区三区| 久久er99热精品一区二区| 久久久久国产精品麻豆ai换脸| 成人美女在线视频| 亚洲国产视频一区二区| 欧美成人伊人久久综合网| 国产精品123区| 亚洲精品国产品国语在线app| 91麻豆精品国产91久久久| 极品少妇xxxx偷拍精品少妇| 国产精品五月天| 在线观看av一区二区| 青青草原综合久久大伊人精品优势| 久久久精品国产免大香伊| 成a人片亚洲日本久久| 亚洲成人tv网| 国产精品麻豆一区二区| 69堂精品视频| 成人午夜在线免费| 日韩国产欧美三级| 亚洲欧美在线视频观看| 欧美成人女星排行榜| 成人av电影在线播放| 日韩成人av影视| 综合婷婷亚洲小说| ww久久中文字幕| 欧美日韩亚州综合| 成人av网址在线观看| 狠狠色综合色综合网络| 亚洲五月六月丁香激情| 国产精品美日韩| 日韩精品中文字幕一区二区三区 | 国产一区二区免费在线| 亚洲国产裸拍裸体视频在线观看乱了 | 亚洲精品ww久久久久久p站| 久久一区二区三区四区| 日韩视频一区在线观看| 欧美日韩中文字幕精品| 91美女在线看| 丁香另类激情小说| 国产永久精品大片wwwapp | 国产高清亚洲一区| 日本美女视频一区二区| 亚洲.国产.中文慕字在线| 18欧美亚洲精品| 欧美肥大bbwbbw高潮| 99国产麻豆精品| 国产精品123区| 日韩av不卡一区二区| 亚洲免费在线看| 欧美国产成人精品| 日韩精品在线网站| www.66久久| 国产精品影视在线| 裸体歌舞表演一区二区| 亚洲成人av一区二区| 中文字幕日本不卡| 国产亚洲va综合人人澡精品| 精品国产乱码久久久久久牛牛| 欧美日韩国产一级片| 色香色香欲天天天影视综合网| 国产成人精品aa毛片| 精品亚洲免费视频| 六月丁香综合在线视频| 黑人巨大精品欧美黑白配亚洲| 性做久久久久久久久| 一区二区三区高清不卡| 综合精品久久久| 中文字幕一区二区三区四区 | 国产美女视频一区| 国产在线麻豆精品观看| 国产一区二区三区电影在线观看| 日本亚洲免费观看| 日韩av高清在线观看| 日本一道高清亚洲日美韩| 亚洲一区二区中文在线| 日本不卡一区二区| 石原莉奈一区二区三区在线观看| 亚洲国产成人va在线观看天堂| 夜夜爽夜夜爽精品视频| 一区二区视频在线| 天堂一区二区在线| 麻豆国产精品视频| 国产在线精品一区二区夜色 | 精品视频一区三区九区| 欧美视频一区二区三区在线观看| 日本丰满少妇一区二区三区| 欧美午夜理伦三级在线观看| 一本到不卡免费一区二区| 69堂国产成人免费视频| 精品国产一区二区三区不卡| 久久尤物电影视频在线观看| 中文字幕av一区 二区| 亚洲欧洲成人精品av97| 1区2区3区国产精品| 日本亚洲免费观看| 国产专区欧美精品| 99久久婷婷国产| 欧美疯狂做受xxxx富婆| 久久久www成人免费无遮挡大片| 日韩一区二区在线看片| 日韩欧美国产三级| 国产精品久久久久四虎| 国产精品成人网| 日韩中文欧美在线| 国产91精品一区二区麻豆网站| 99精品视频一区| 91精品婷婷国产综合久久性色 | 成人免费在线视频观看| 亚洲一区av在线| 狠狠久久亚洲欧美| 91精品国产丝袜白色高跟鞋| 久久久久国产精品麻豆| 亚洲综合一区二区三区| 精品一区二区在线视频| 色欧美88888久久久久久影院| 亚洲精品在线电影| 一区二区三区日韩欧美精品| 免费成人美女在线观看.| av男人天堂一区| 日韩一区二区三区在线观看| 久久久精品免费观看| 亚洲成av人片www| 成人va在线观看| 欧美一级片免费看| 亚洲男人的天堂网| av色综合久久天堂av综合| 日韩欧美激情四射| 亚洲国产成人精品视频| 成人精品一区二区三区四区 | 99久久精品久久久久久清纯| 欧美一区二区日韩| 亚洲精品伦理在线| 国产成人无遮挡在线视频| 色狠狠av一区二区三区| 亚洲你懂的在线视频| 国产精品一级片在线观看| 欧美在线观看你懂的| 国产精品白丝在线| 国产成人在线免费观看| 日韩欧美国产系列| 日韩福利电影在线| 欧美少妇性性性| 一区二区三区在线播放| 成人sese在线|