亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
日本韩国一区二区三区视频| 精品一区二区国语对白| 欧美一区二区三区婷婷月色| 不卡av在线网| 国产在线一区观看| 麻豆精品一区二区三区| 国产激情一区二区三区桃花岛亚洲| 亚洲国产精品精华液网站| 亚洲国产精品二十页| 精品久久久三级丝袜| 日韩欧美成人激情| 91精品国产综合久久小美女| 91久久奴性调教| 色狠狠综合天天综合综合| 成人一区二区三区视频在线观看| 美女视频黄 久久| 男女男精品视频| 欧美aaa在线| 久久99久久99| 国内国产精品久久| 国产91对白在线观看九色| 国产成人综合亚洲91猫咪| 美腿丝袜亚洲色图| 国产主播一区二区三区| 麻豆精品久久精品色综合| 奇米色777欧美一区二区| 免费成人在线视频观看| 韩国欧美国产1区| 国产成人日日夜夜| 99精品欧美一区二区蜜桃免费| 91麻豆高清视频| 91精品国产综合久久精品麻豆 | 亚洲毛片av在线| 一区二区三区国产精品| 日日摸夜夜添夜夜添国产精品| 激情伊人五月天久久综合| 成人丝袜18视频在线观看| 欧美日韩中文字幕一区二区| 日韩一区二区免费电影| 国产精品不卡一区| 亚洲成年人网站在线观看| 国产精品自拍在线| 色伊人久久综合中文字幕| 欧美一区二区三区人| 亚洲青青青在线视频| 国产资源在线一区| 欧美色老头old∨ideo| 久久精品亚洲精品国产欧美| 亚洲一区av在线| 不卡一区二区中文字幕| 日韩三级.com| 青青草伊人久久| 欧美日韩国产影片| 一色屋精品亚洲香蕉网站| 久久不见久久见免费视频7| 色悠久久久久综合欧美99| 国产精品久线在线观看| 久久狠狠亚洲综合| 日韩一区二区三区在线视频| 亚洲猫色日本管| www.爱久久.com| 中文字幕欧美激情一区| 国产成人一区二区精品非洲| 91.麻豆视频| 日韩激情在线观看| 欧美一级在线观看| 极品少妇一区二区三区精品视频| 欧美高清一级片在线| 午夜影视日本亚洲欧洲精品| 精品视频在线免费| 日韩激情一二三区| 欧美大片在线观看一区| 国产精品自拍在线| 亚洲人精品午夜| 欧美在线观看视频在线| 亚洲午夜精品在线| 日韩欧美一区二区免费| 国产一区91精品张津瑜| 久久九九全国免费| 91视频观看视频| 亚洲成人av一区二区| 精品国偷自产国产一区| 国产精品香蕉一区二区三区| 亚洲视频一区二区在线| 欧美日韩中文字幕一区| 精品一区免费av| 亚洲美女少妇撒尿| 久久久久久久久久久久久久久99| 成人av手机在线观看| 亚洲成a人片在线观看中文| 日韩视频在线观看一区二区| 91美女在线观看| 国产综合色在线| 亚洲午夜影视影院在线观看| 欧美成人video| 99久久国产综合精品女不卡| 日韩福利电影在线| 亚洲人成网站精品片在线观看| 91精品国产色综合久久久蜜香臀| 不卡视频一二三四| 日日摸夜夜添夜夜添亚洲女人| 中文字幕日韩一区| 国产日韩欧美亚洲| 欧美电影免费观看高清完整版| 91国产成人在线| 国产亚洲午夜高清国产拍精品| av电影天堂一区二区在线观看| 秋霞av亚洲一区二区三| 亚洲图片欧美色图| 伊人婷婷欧美激情| 国产精品不卡在线观看| 欧美高清一级片在线观看| 久久久久久久久一| 久久久久久97三级| 久久精品综合网| 精品国产乱码久久久久久久久| 日韩一级精品视频在线观看| 欧美一区二区三区男人的天堂| 欧美色电影在线| 欧美久久久久久久久中文字幕| 99视频有精品| 色婷婷久久综合| 欧美日韩一区二区在线视频| 日本丶国产丶欧美色综合| 色噜噜久久综合| 亚洲国产精品久久人人爱蜜臀| 亚洲欧洲日韩女同| 亚洲三级小视频| 丝袜脚交一区二区| 久久精品噜噜噜成人av农村| 激情小说欧美图片| 91麻豆免费观看| 精品理论电影在线| 国产精品久久久久久妇女6080 | 在线观看亚洲精品视频| 欧美日韩电影一区| 久久久久国产精品厨房| 亚洲一线二线三线久久久| 天堂av在线一区| 国产精品伊人色| 欧美亚洲国产一区二区三区| 欧美一卡2卡三卡4卡5免费| 国产精品久久久一本精品| 亚洲第一av色| av一区二区久久| 日韩欧美成人激情| 亚洲福利视频三区| 国产精品一区久久久久| 欧美美女网站色| 欧美激情在线观看视频免费| 91蝌蚪porny成人天涯| 91精品免费在线观看| 亚洲欧洲国产日韩| 精品一区二区久久| 欧美美女喷水视频| 亚洲日本中文字幕区| 国产盗摄视频一区二区三区| 3d成人动漫网站| 一区二区欧美视频| av电影天堂一区二区在线观看| 久久久久综合网| 蜜桃91丨九色丨蝌蚪91桃色| 欧美吻胸吃奶大尺度电影| 国产精品毛片高清在线完整版| 国模少妇一区二区三区| 精品国精品国产尤物美女| 天天亚洲美女在线视频| 欧美视频日韩视频在线观看| 亚洲人一二三区| 色香蕉久久蜜桃| 一区二区三区日韩欧美精品 | 国产精品一区二区在线观看网站| 精品国精品自拍自在线| 国内精品视频一区二区三区八戒| 日韩欧美的一区| 国产风韵犹存在线视精品| 日本一区二区综合亚洲| 成人看片黄a免费看在线| 亚洲国产激情av| 91在线观看地址| 日本视频一区二区| 尤物av一区二区| 欧美精品色综合| 日本成人在线电影网| 久久综合狠狠综合| 99久久99久久精品国产片果冻| 亚洲日本在线视频观看| 欧美日韩一区三区| 久热成人在线视频| 亚洲区小说区图片区qvod| 91精品国产综合久久国产大片| 久草这里只有精品视频| 国产精品第五页| 欧美久久久久久蜜桃| 国产激情视频一区二区在线观看| 亚洲欧美区自拍先锋| 日韩精品一区二区三区在线| 99久久免费精品高清特色大片| 日本欧美大码aⅴ在线播放| 国产精品白丝在线|