全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:886
推到 Plurk!
推到 Facebook!

關於 Simulated Annealing 的問題要如何用BCB來做 ?

尚未結案
JPTseng
一般會員


發表:14
回覆:22
積分:7
註冊:2004-10-27

發送簡訊給我
#1 引用回覆 回覆 發表時間:2004-11-21 20:58:29 IP:140.124.xxx.xxx 未訂閱
我查看過本站文章 http://delphi.ktop.com.tw/topic.php?topic_id=20719 但是還是不知道要怎麼開始去寫這種程式 我的問題是這樣 目前在做所謂的Hardware and Software Codesign的問題 我上層是一些規格的輸入(例如有5個block,由於每個block可能由軟體或硬體完成,未決定,因此每一個block有各自軟體與硬體的Specification) 而 Simulated Annealing 就是要設計一個initial Temperature 以及Cost Function,經過一連串運算來達成. <模擬退火法演算法> function SIMULATED-ANNEALING(problem,schedule)returns a solution state inputs: problem , a problem schedule, a mapping from time to " temperature" static current, a node next , a node T , a "temperature" controlling the probability of downward steps current<---Make-None(Initial_state[problem]) for t <--1 to 無限大 do T<---schedule[t] ifT=0 then return current next<---a randomly selected successor of current E<--- Value[next]-Value[current] if E>0 then current<--- next else current <--- next only with probability e 的 E/T 次方 只是我還是不了解我的Specifications要怎麼變成我要編輯Simulated Annealing 裡面的可運算資料,頭快爆炸了XD !!希望若有人了解能夠告訴我一聲~~謝謝您!!
系統時間:2024-06-22 4:29:38
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!