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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? stsp_v61.m

?? 模擬退火的原程序,其中還用了GUI界面設(shè)計
?? M
字號:
function varargout = stsp_v61(varargin)
% STSP_V61 M-file for stsp_v61.fig
%      STSP_V61, by itself, creates a new STSP_V61 or raises the existing
%      singleton*.
%
%      H = STSP_V61 returns the handle to a new STSP_V61 or the handle to
%      the existing singleton*.
%
%      STSP_V61('CALLBACK',hObject,eventData,handles,...) calls the local
%      function named CALLBACK in STSP_V61.M with the given input arguments.
%
%      STSP_V61('Property','Value',...) creates a new STSP_V61 or raises the
%      existing singleton*.  Starting from the left, property value pairs are
%      applied to the GUI before stsp_v61_OpeningFunction gets called.  An
%      unrecognized property name or invalid value makes property application
%      stop.  All inputs are passed to stsp_v61_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_v61

% 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_v61_OpeningFcn, ...
                   'gui_OutputFcn',  @stsp_v61_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_v61 is made visible.
function stsp_v61_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_v61 (see VARARGIN)

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

% Update handles structure
guidata(hObject, handles);

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


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


?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91精品国产欧美日韩| 成人免费视频国产在线观看| 色综合欧美在线视频区| 亚洲欧美综合在线精品| 一本久久精品一区二区| 亚洲18女电影在线观看| 日韩精品一区二区三区在线观看 | 欧美日韩视频在线第一区 | 精品av综合导航| 激情久久五月天| 国产亚洲成年网址在线观看| eeuss鲁一区二区三区| 玉足女爽爽91| 日韩精品专区在线影院重磅| 国产精品主播直播| 亚洲小说春色综合另类电影| 一本大道久久a久久综合| 日本午夜精品一区二区三区电影| 久久综合成人精品亚洲另类欧美| 不卡视频在线看| 日本成人在线看| 国产精品久久综合| 欧美精品在线观看一区二区| 国产乱码精品一区二区三| 亚洲美女淫视频| www精品美女久久久tv| 91亚洲国产成人精品一区二区三| 日韩专区中文字幕一区二区| 国产精品日韩成人| 在线成人小视频| 不卡一区二区三区四区| 青青青爽久久午夜综合久久午夜| 国产精品不卡视频| 日韩欧美黄色影院| 91高清在线观看| 国产精品18久久久| 亚洲高清一区二区三区| 久久这里只有精品首页| 欧美日韩国产综合草草| 成人国产精品免费观看| 久久精品国产精品亚洲红杏| 一区二区成人在线| 国产精品久久久久久亚洲伦| 欧美一级夜夜爽| 欧美色电影在线| jlzzjlzz欧美大全| 久久精品国产99国产精品| 九色porny丨国产精品| 亚洲一区二区在线免费观看视频 | 国产精品自拍一区| 日日摸夜夜添夜夜添亚洲女人| 国产精品久久久久一区 | 97国产一区二区| 国产乱子轮精品视频| 日韩av在线发布| 亚洲影视资源网| 亚洲欧洲日韩一区二区三区| 久久久99免费| 精品处破学生在线二十三| 欧美一区二区三区在线视频| 在线看日韩精品电影| 91性感美女视频| av在线播放不卡| 99国产精品视频免费观看| 国产精品18久久久久久久久久久久 | 欧美视频中文字幕| 色猫猫国产区一区二在线视频| 国产suv精品一区二区883| 国产丶欧美丶日本不卡视频| 激情偷乱视频一区二区三区| 久久国产精品一区二区| 喷水一区二区三区| 青青草国产成人99久久| 免费国产亚洲视频| 久久草av在线| 国产麻豆午夜三级精品| 国产美女精品一区二区三区| 精品一区二区三区免费播放| 久久99在线观看| 国产精品亚洲一区二区三区在线| 韩国av一区二区三区| 国产高清成人在线| 成人app在线| 91免费版在线| 欧美撒尿777hd撒尿| 精品视频在线免费| 欧美久久久一区| 精品久久久久久最新网址| 久久嫩草精品久久久精品一| 国产欧美一区二区精品性| 国产精品久久一卡二卡| 一区二区三区美女| 日本视频中文字幕一区二区三区| 九九**精品视频免费播放| 粉嫩高潮美女一区二区三区| 色综合天天视频在线观看| 色吊一区二区三区| 91麻豆精品91久久久久同性| 久久欧美中文字幕| 亚洲另类色综合网站| 日韩精品色哟哟| 国产盗摄精品一区二区三区在线| 99久久国产免费看| 欧美精品高清视频| 国产日本欧洲亚洲| 亚洲成人av福利| 国产精品亚洲成人| 在线精品视频免费播放| 日韩一区二区精品| 国产精品久久久久天堂| 日日摸夜夜添夜夜添亚洲女人| 国产综合色精品一区二区三区| 99视频国产精品| 日韩三级在线免费观看| 国产精品电影一区二区三区| 日韩高清在线一区| av成人老司机| 精品成人私密视频| 亚洲一区二区三区四区的| 黄色小说综合网站| 91黄色免费版| 国产亚洲视频系列| 日日夜夜精品免费视频| heyzo一本久久综合| 日韩一区二区免费在线观看| 一区二区中文视频| 国产一区二区日韩精品| 欧美日韩国产综合视频在线观看| 国产色91在线| 日本成人中文字幕| 欧美综合欧美视频| 国产精品欧美一区喷水| 久久91精品久久久久久秒播| 91国产成人在线| 亚洲欧洲成人自拍| 国产一区二区女| 日韩视频免费观看高清在线视频| 日韩久久一区二区| 丁香婷婷综合激情五月色| 欧美成人官网二区| 五月天欧美精品| 日本丰满少妇一区二区三区| 国产欧美日韩另类视频免费观看| 轻轻草成人在线| 欧美日韩黄色一区二区| 亚洲欧美日韩国产手机在线| 国产精品亚洲成人| 久久蜜桃一区二区| 国精产品一区一区三区mba视频| 3d动漫精品啪啪一区二区竹菊 | 亚洲成人自拍偷拍| 色屁屁一区二区| 亚洲免费观看在线视频| 成人午夜伦理影院| 国产情人综合久久777777| 激情综合色播五月| 日韩精品一区二区三区视频在线观看 | 国产精品拍天天在线| 国产成人鲁色资源国产91色综| 精品国产污污免费网站入口| 日本欧美在线观看| 日韩三级视频在线观看| 全国精品久久少妇| 91精品午夜视频| 捆绑变态av一区二区三区| 日韩一区二区在线看| 久久精品国产秦先生| 精品国产乱码久久久久久久久 | 国产高清亚洲一区| 国产欧美一区二区在线观看| 国产v日产∨综合v精品视频| 国产日韩精品一区二区浪潮av| 国产精品一品二品| 国产精品国模大尺度视频| 91在线观看污| 亚洲综合在线第一页| 欧美日韩免费高清一区色橹橹| 性做久久久久久免费观看| 91精品国产欧美一区二区成人| 毛片av一区二区| 久久女同精品一区二区| 99久久免费精品高清特色大片| 亚洲免费高清视频在线| 欧美精品自拍偷拍| 国产精品中文字幕欧美| 日韩一区中文字幕| 欧美日韩综合在线免费观看| 日本免费新一区视频| 国产亚洲综合av| 91久久香蕉国产日韩欧美9色| 偷偷要91色婷婷| www欧美成人18+| 色偷偷久久人人79超碰人人澡| 日韩激情视频在线观看| 久久久久国产精品免费免费搜索| 99久久精品免费| 日韩精品乱码免费| 国产蜜臀97一区二区三区| 在线这里只有精品| 久久99国内精品|