模擬退火算法的matlab示例源代碼程序
大?。?/span>433 人氣: 2010-02-08 需要積分:0
推薦 + 挑錯(cuò) + 收藏(0) + 用戶評(píng)論(0)
標(biāo)簽:matlab(228030)
模擬退火算法的matlab示例:function s = simulatedannealing(inputcities,initial_temperature,...??? cooling_rate,threshold,numberofcitiestoswap)
% SIMULATEDANNEALING
% S = SIMULATEDANNEALING(inputcities,initial_temperature,cooling_rate)
% returns the new configuration of cities with an optimal solution for the
% traveling salesman problem for n cities.
%
%The input arguments are
% INPUTCITIES???????? - The cordinates for n cities are represented as 2
%?????????????????????? rows and n columns and is passed as an argument for
%?????????????????????? SIMULATEDANNEALING.
% INITIAL_TEMPERATURE - The initial temperature to start the
%?????????????????????? simulatedannealing process.
% COOLING_RATE??????? - Cooling rate for the simulatedannealing process.
%?????????????????????? Cooling rate should always be less than one.
% THRESHOLD?????????? - Threshold is the stopping criteria and it is the
%?????????????????????? acceptable distance for n cities.
% NUMBEROFCITIESTOSWAP- Specify the maximum number of pair of cities to
%?????????????????????? swap. As temperature decreases the number of cities
%?????????????????????? to be swapped decreases and eventually reaches one
%?????????????????????? pair of cities.
非常好我支持^.^
(10) 83.3%
不好我反對(duì)
(2) 16.7%
下載地址
模擬退火算法的matlab示例源代碼程序下載
相關(guān)電子資料下載
- MATLAB程序算法實(shí)例 65
- matlab怎么取三位數(shù)的每一位 85
- 現(xiàn)代永磁同步電機(jī)原理及matlab仿真 136
- 應(yīng)用衛(wèi)星通信領(lǐng)域的一個(gè)坐標(biāo)轉(zhuǎn)換過(guò)程—機(jī)體坐標(biāo)系與ENU坐標(biāo)系的轉(zhuǎn)換 97
- ZEMAX與MATLAB動(dòng)態(tài)數(shù)據(jù)交換及其應(yīng)用 314
- 無(wú)線通信空間調(diào)制的基本原理 200
- 利用MATLAB進(jìn)行天線陣列方向圖綜合 558
- FPGA圖像處理—ISP算法BLC知識(shí)詳解 475
- 虛擬驗(yàn)證輔助工具助力抗震建筑物設(shè)計(jì) 231
- 基于Simulink的迷你無(wú)人機(jī)飛行控制系統(tǒng)設(shè)計(jì) 142