模擬退火算法來源于固體退火原理,將固體加溫至充分高,再讓其徐徐冷卻,加溫時,固體內部粒子隨溫升變為無序狀,內能增大,而徐徐冷卻時粒子漸趨有序,在每個溫度都達到平衡態,最后在常溫時達到基態,內能減為最小。根據Metropolis準則,粒子在溫度T時趨于平衡的概率為e-ΔE/(kT),其中E為溫度T時的內能,ΔE為其改變量,k為Boltzmann常數。用固體退火模擬組合優化問題,將內能E模擬為目標函數值f,溫度T演化成控制參數t,即得到解組合優化問題的模擬退火算法:由初始解i和控制參數初值t開始,對當前解重復“產生新解→計算目標函數差→接受或舍棄”的迭代,并逐步衰減t值,算法終止時的當前解即為所得近似最優解,這是基于蒙特卡羅迭代求解法的一種啟發式隨機搜索過程。退火過程由冷卻進度表(Cooling Schedule)控制,包括控制參數的初值t及其衰減因子Δt、每個t值時的迭代次數L和停止條件S。
標簽: 模擬退火算法
上傳時間: 2014-12-19
上傳用戶:TRIFCT
分而治之方法還可以用于實現另一種完全不同的排序方法,這種排序法稱為快速排序(quick sort)。在這種方法中, n 個元素被分成三段(組):左段l e f t,右段r i g h t和中段m i d d l e。中段僅包含一個元素。左段中各元素都小于等于中段元素,右段中各元素都大于等于中段元素。因此l e f t和r i g h t中的元素可以獨立排序,并且不必對l e f t和r i g h t的排序結果進行合并。m i d d l e中的元素被稱為支點( p i v o t )。圖1 4 - 9中給出了快速排序的偽代碼
上傳時間: 2015-04-27
上傳用戶:kristycreasy
為DELL的layer 2 Switch的Web server中java applet的源始碼,功能為利用java applet主動傳送訊息到browser,借著此訊息轉換成網頁,再顯現在browser。
標簽: Switch applet server layer
上傳時間: 2014-01-19
上傳用戶:cc1
A Java virtual machine instruction consists of an opcode specifying the operation to be performed, followed by zero or more operands embodying values to be operated upon. This chapter gives details about the format of each Java virtual machine instruction and the operation it performs.
標簽: instruction specifying operation performed
上傳時間: 2014-01-11
上傳用戶:yiwen213
A Java virtual machine instruction consists of an opcode specifying the operation to be performed, followed by zero or more operands embodying values to be operated upon. This chapter gives details about the format of each Java virtual machine instruction and the operation it performs.
標簽: instruction specifying operation performed
上傳時間: 2015-05-02
上傳用戶:daoxiang126
A Java virtual machine instruction consists of an opcode specifying the operation to be performed, followed by zero or more operands embodying values to be operated upon. This chapter gives details about the format of each Java virtual machine instruction and the operation it performs.
標簽: instruction specifying operation performed
上傳時間: 2015-05-02
上傳用戶:shawvi
A Java virtual machine instruction consists of an opcode specifying the operation to be performed, followed by zero or more operands embodying values to be operated upon. This chapter gives details about the format of each Java virtual machine instruction and the operation it performs.
標簽: instruction specifying operation performed
上傳時間: 2013-12-12
上傳用戶:朗朗乾坤
設計說明:1。數據結構和表示:程序用1、2、3、4分別表示將右、上、左、下的數字塊移動到空格之中。采用典型的樹+鏈表結構,每種局面產生一個BoardState類。出于避免走法順序列表被過多復制的考慮,在樹結構中保存局面的繼承關系。每種新的局面產生后,引用估值函數產生f的值,再根據大小將其插入鏈表之中,以便實現“優先展開f值小的節點”。Solve()函數在成功解決問題之后保存一個走法序列供輸出并返回零,而失敗則返回失敗處的節點層數。(具體的判斷方法見后文)
上傳時間: 2015-05-02
上傳用戶:xieguodong1234
本程序用資源分配網(Resource_Allocation Network,簡稱RAN)實現了Hermit多項式在線學習問題。訓練樣本產生方式如下,樣本數400,每個樣本輸入Xi在區間[-4,4]內隨機產生(均勻分布),相關樣本輸出為F(Xi) = 1.1(1-Xi + Xi2)exp(-Xi2/2),測試樣本輸入在[-4,+4]內以0.04為間隔等距產生,共201個樣本。訓練結束后的隱節點為:11個,訓練結束后的平均誤差可達:0.03
標簽: Resource_Allocation Network Hermit RAN
上傳時間: 2014-01-14
上傳用戶:pompey
[書籍] Microsoft SQL Server 2005 Reporting Services For Dummies 書籍名稱:Microsoft SQL Server 2005 Reporting Services For Dummies 出版社 :Wiley 作者 :Mark Robinson 書籍語言:English 書籍類型:教學 - 軟件教學 檔案格式:PDF 檔案大小:7.75MB 發行日期:December 2005
上傳時間: 2015-05-04
上傳用戶:小鵬