資源簡介
Chicken Swarm Optimization(CSO)雞群算法,于2014年10月剛在ICSI 2014上見刊!
這是一個全新的群智能優化算法,具有簡單,良好擴展性的特點,是一種天然的多種群,自適應算法!
作為剛提出的新算法,很適合進行各種改進研究,發表論文。
http://www.mathworks.cn/matlabcentral/fileexchange/48204-chicken-swarm-optimization-algorithm--demo-
關于算法源代碼及介紹,可在上述網站下載!
希望對大家有用!

代碼片段和文件信息
%?-----------------------------------------------------------------------------------------------------------
%?Chicken?Swarm?Optimization?(CSO)?(demo)
%?Programmed?by?Xian-bing?Meng????
%?Updated?25?Aug?2014.?????????????????????
%
%?This?is?a?simple?demo?version?only?implemented?the?basic?????????
%?idea?of?the?CSO?for?solving?the?unconstrained?problem?namely?Sphere?function.????
%?The?details?about?CSO?are?illustratred?in?the?following?paper.????
%?(Citation?details):????????????????????????????????????????????????
%?Xian-bing?Meng?Xiao-zhi?Gao.?A?new?bio-inspired?algorithm:?Chicken?Swarm?Optimization
%????in:?ICSI?2014?Part?I?LNCS?8794?pp.?86-94?
%?Email:?x.b.meng12@gmail.com;??xiao-zhi.gao@aalto.fi
%
%?The?parameters?in?CSO?are?presented?as?follows.
%?fitness????%?The?fitness?function
%?M??????????%?Maxmimal?generations?(iterations)
%?pop????????%?Population?size
%?dim????????%?Number?of?dimensions?
%?G??????????%?How?often?the?chicken?swamr?can?be?updated.
%?rPercent???%?The?population?size?of?roosters?accounts?for?“rPercent“?percent?of?the?total?population?size
%?hPercent???%?The?population?size?of?hens?accounts?for?“hPercent“?percent?of?the?total?population?size
%?mPercent???%?The?population?size?of?mother?hens?accounts?for?“mPercent“?percent?of?the?population?size?of?hens
%
%?Using?the?default?value?you?can?execute?this?algorithm?using?the?following?code.
%?[?bestX?fMin?]?=?CSO
%?-----------------------------------------------------------------------------------------------------------
?
%?Main?programs?starts?here
function?[?bestX?fMin?]?=?CSO(?fitness?M?pop?dim?G?rPercent?hPercent?mPercent?)
%?Display?help
help?CSO.m
?%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%?set?the?parameter?values
if?nargin?1
????Func?=?@Sphere;
????M?=?1000;???%?Maxmimal?generations?(iterations)
????pop?=?100;??%?Population?size
????dim?=?20;??%?Number?of?dimensions?
????G?=?10;????????????????????????????%?How?often?the?chicken?swamr?can?be?updated.?The?details?of?its?meaning?are?illustrated?at?the?following?codes.?????????
????rPercent?=?0.2;????%?The?population?size?of?roosters?accounts?for?“rPercent“?percent?of?the?total?population?size
????hPercent?=?0.6;???%?The?population?size?of?hens?accounts?for?“hPercent“?percent?of?the?total?population?size
????mPercent?=?0.1;??%?The?population?size?of?mother?hens?accounts?for?“mPercent“?percent?of?the?population?size?of?hens??????????????????
end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
rNum?=?round(?pop?*?rPercent?);????%?The?population?size?of?roosters
hNum?=?round(?pop?*?hPercent?);????%?The?population?size?of?hens
cNum?=?pop?-?rNum?-?hNum;??????????%?The?population?size?of?chicks
mNum?=?round(?hNum?*?mPercent?);???%?The?population?size?of?mother?hens
lb=?-100*ones(?1dim?);????%?Lower?limit/bounds/?????a?vector
ub=?100*ones(?1dim?);????%?Upper?limit/bounds/?????a?vector
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????219489??2014-10-21?01:00??Chicken?Swarm?Optimization?Algorithm\A?new?bio-inspired?algorithm?Chicken?swarm?optimization.pdf
?????文件???????10530??2014-10-21?01:00??Chicken?Swarm?Optimization?Algorithm\CSO.m
?????文件????????1314??2014-10-21?01:00??license.txt
評論
共有 條評論