資源簡介
遺傳算法必備工具包,matlab自身并不提供。
使用說明:下載之后,解壓放在matlab的安裝目錄下的toolbox中,然后在matlab的主頁,選擇‘設置路徑’-》添加并包含子文件夾,選擇剛才那個解壓的文件,然后保存,關閉。接下來到主頁中的‘預設’,選擇常規,點擊更新工具箱路徑緩存,然后確定即可完成工具箱的安裝。

代碼片段和文件信息
function?[child]?=?adjswapmutation(parboundsgenInfoOps)
%?Adjswap?mutation?performs?a?swap?of?two?adjacent
%?genes?in?a?permutation
%
%?function?[newSol]?=?adjswapmutation(parentboundsOps)
%?parent??-?the?first?parent?(?[solution?string?function?value]?)
%?bounds??-?the?bounds?matrix?for?the?solution?space
%?Ops?????-?Options?for?binaryMutation?[gen?prob_of_mutation]
%?Binary?and?Real-Valued?Simulation?Evolution?for?Matlab?
%?Copyright?(C)?1996?C.R.?Houck?J.A.?Joines?M.G.?Kay?
%
%?C.R.?Houck?J.Joines?and?M.Kay.?A?genetic?algorithm?for?function
%?optimization:?A?Matlab?implementation.?ACM?Transactions?on?Mathmatical
%?Software?Submitted?1996.
%
%?This?program?is?free?software;?you?can?redistribute?it?and/or?modify
%?it?under?the?terms?of?the?GNU?General?Public?License?as?published?by
%?the?Free?Software?Foundation;?either?version?1?or?(at?your?option)
%?any?later?version.
%
%?This?program?is?distributed?in?the?hope?that?it?will?be?useful
%?but?WITHOUT?ANY?WARRANTY;?without?even?the?implied?warranty?of
%?MERCHANTABILITY?or?FITNESS?FOR?A?PARTICULAR?PURPOSE.??See?the
%?GNU?General?Public?License?for?more?details.?A?copy?of?the?GNU?
%?General?Public?License?can?be?obtained?from?the?
%?Free?Software?Foundation?Inc.?675?Mass?Ave?Cambridge?MA?02139?USA.
sz?=?size(par2)-1;
pos?=?round(rand*(sz-1)?+?0.5);?%Generate?U(1n-1)
child?=?par;
child(pos:pos+1)=[par(pos+1)?par(pos)];
????
???
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2019-03-26?08:47??gaot\
?????文件????????4761??1998-04-17?09:46??gaot\Contents.m
?????文件????????1586??1998-04-14?13:26??gaot\EER.m
?????文件????????1110??1998-04-17?08:59??gaot\README
?????文件????????1419??1998-04-14?13:26??gaot\adjswapMutation.m
?????文件????????1487??1998-04-15?08:46??gaot\arithXover.m
?????文件????????1495??1998-04-14?13:26??gaot\b2f.m
?????文件????????2080??1998-04-14?13:26??gaot\binaryExample.m
?????文件????????1504??1998-04-15?08:48??gaot\binaryMutation.m
?????文件????????1639??1998-04-14?13:26??gaot\boundaryMutation.m
?????文件????????1382??1998-04-14?13:26??gaot\calcbits.m
?????文件????????1451??1998-04-14?13:26??gaot\coranaEval.m
?????文件????????1538??1998-04-14?13:26??gaot\coranaFeval.m
?????文件????????1222??1998-04-14?13:26??gaot\coranaMin.m
?????文件????????1654??1998-04-14?13:26??gaot\cyclicXover.m
?????文件????????1471??1998-04-14?13:26??gaot\delta.m
?????文件????????6837??1998-04-28?08:17??gaot\dists.m
?????文件????????2348??1998-04-14?13:26??gaot\enhancederXover.m
?????文件????????2118??1998-04-14?13:26??gaot\erXover.m
?????文件????????1501??1998-04-14?13:26??gaot\f2b.m
?????文件????????2322??1998-04-14?13:26??gaot\floatExample.m
?????文件????????2137??1998-04-14?13:26??gaot\floatGradExample.m
?????文件???????10805??1998-04-14?13:26??gaot\ga.m
?????文件?????????193??1998-04-14?13:26??gaot\gaMichEval.m
?????文件?????????174??1998-04-14?13:26??gaot\gaZBGrad.m
?????文件?????????684??1998-04-14?13:26??gaot\gaZBGradEval.m
?????文件????????4213??1998-04-14?13:26??gaot\gademo.m
?????文件????????3887??1998-04-14?13:26??gaot\gademo1.m
?????文件????????1275??1998-04-14?13:26??gaot\gademo1eval1.m
?????文件????????2840??1998-09-08?09:17??gaot\gademo2.m
?????文件????????6262??1998-04-14?13:26??gaot\gademo3.m
............此處省略27個文件信息
- 上一篇:Matlab版本的卷積神經網絡案例
- 下一篇:matlab正弦信號高斯處理
評論
共有 條評論