-
大小: 45KB文件類型: .zip金幣: 2下載: 0 次發(fā)布日期: 2021-05-28
- 語言: Matlab
- 標簽:
資源簡介
粒子群算法,包含各種適用度函數(shù),可以自己選擇,并且可生成迭代動態(tài)圖,更方便學習,

代碼片段和文件信息
function?state?=?evolutioncomplete(optionsstateflag)
%?Plays?a?notification?when?genetic?algorithm?finishes.?Requires?a
%?Starcraft?installation?in?its?default?directory?typically:
%?C:\Program?Files\Starcraft
%
%?Works?with?Windows?not?tested?on?other?platforms.
if?ispc?&&?strcmp(flag‘done‘)?&&?~strcmp(options.Display‘off‘)
????sounddir?=?[getenv(‘ProgramFiles‘)?‘\Starcraft\Sound\Zerg\Advisor‘]?;
????if?isdir(sounddir)?&&?exist([sounddir?‘\ZAdUpd02.wav‘]‘file‘)
????????[y?Fs?nbits]?=?audioread([sounddir?‘\ZAdUpd02.wav‘])?;
????????obj?=?audioplayer(y?Fs?nbits);
????????playblocking(obj)
????end
end
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-11-05?22:11??psomatlab-master\
?????文件????????4913??2018-11-05?22:11??psomatlab-master\README.md
?????文件?????????633??2018-11-05?22:11??psomatlab-master\evolutioncomplete.m
?????文件?????????764??2018-11-05?22:11??psomatlab-master\license.txt
?????目錄???????????0??2018-11-05?22:11??psomatlab-master\private\
?????文件?????????182??2018-11-05?22:11??psomatlab-master\private\heart.m
?????文件?????????718??2018-11-05?22:11??psomatlab-master\private\initstate.m
?????文件?????????585??2018-11-05?22:11??psomatlab-master\private\overlaycontour.m
?????文件????????1993??2018-11-05?22:11??psomatlab-master\private\overlaysurface.m
?????文件????????4726??2018-11-05?22:11??psomatlab-master\private\psocheckbounds.m
?????文件????????5269??2018-11-05?22:11??psomatlab-master\private\psocheckinitialpopulation.m
?????文件?????????730??2018-11-05?22:11??psomatlab-master\private\psocheckpopulationinitrange.m
?????文件?????????800??2018-11-05?22:11??psomatlab-master\private\psocreationbinary.m
?????文件?????????948??2018-11-05?22:11??psomatlab-master\private\psocreationuniform.m
?????文件????????1811??2018-11-05?22:11??psomatlab-master\private\psogenerateoutputmessage.m
?????文件?????????805??2018-11-05?22:11??psomatlab-master\private\psogetinitialpopulation.m
?????文件????????2809??2018-11-05?22:11??psomatlab-master\private\psorunhybridfcn.m
?????文件?????????444??2018-11-05?22:11??psomatlab-master\private\quadrifolium.m
?????文件?????????288??2018-11-05?22:11??psomatlab-master\private\unitcircle.m
?????文件?????????286??2018-11-05?22:11??psomatlab-master\private\unitdisk.m
?????文件??????????38??2018-11-05?22:11??psomatlab-master\private\void.m
?????文件???????26039??2018-11-05?22:11??psomatlab-master\pso.m
?????文件????????1461??2018-11-05?22:11??psomatlab-master\psobinary.m
?????文件????????1814??2018-11-05?22:11??psomatlab-master\psoboundsabsorb.m
?????文件????????2971??2018-11-05?22:11??psomatlab-master\psoboundspenalize.m
?????文件?????????540??2018-11-05?22:11??psomatlab-master\psoboundsreflect.m
?????文件????????2454??2018-11-05?22:11??psomatlab-master\psoboundssoft.m
?????文件?????????723??2018-11-05?22:11??psomatlab-master\psocalculatepenalties.m
?????文件????????2301??2018-11-05?22:11??psomatlab-master\psodemo.m
?????文件????????2254??2018-11-05?22:11??psomatlab-master\psoiterate.m
?????文件????????9936??2018-11-05?22:11??psomatlab-master\psooptimset.m
............此處省略18個文件信息
- 上一篇:markdown完整的
- 下一篇:多機器人編隊控制matlab仿真程序
評論
共有 條評論