资源简介
殖民竞争算法代码(CCA)也被称为帝国主义的竞争算法(ICA),这是其在matlab中的实现。
代码片段和文件信息
function TheEmpire = AssimilateColonies(TheEmpireAlgorithmParamsProblemParams)
% for i = 1:numel(Imperialists)
% Imperialists{i}.Number_of_Colonies_matrix = [Imperialists{i}.Number_of_Colonies_matrix Imperialists{i}.Number_of_Colonies];
%
% Imperialists_cost_matrix (i) = Imperialists{i}.cost_just_by_itself;
%
% Imperialists_position_matrix(i:) = Imperialists{i}.position;
NumOfColonies = size(TheEmpire.ColoniesPosition1);
Vector = repmat(TheEmpire.ImperialistPositionNumOfColonies1)-TheEmpire.ColoniesPosition;
TheEmpire.ColoniesPosition = TheEmpire.ColoniesPosition + 2 * AlgorithmParams.AssimilationCoefficient * rand(size(Vector)) .* Vector;
MinVarMatrix = repmat(ProblemParams.VarMinNumOfColonies1);
MaxVarMatrix = repmat(ProblemParams.VarMaxNumO
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 965 2008-11-05 01:53 Chared ICA Code\AssimilateColonies.m
文件 995 2008-11-05 05:10 Chared ICA Code\BenchmarkFunction.m
文件 1845 2008-11-05 05:15 Chared ICA Code\CreateInitialEmpires.m
文件 2410 2008-11-05 04:17 Chared ICA Code\DisplayEmpires.m
文件 322 2012-10-25 00:49 Chared ICA Code\GenerateNewCountry.asv
文件 352 2012-10-25 00:51 Chared ICA Code\GenerateNewCountry.m
文件 7985 2012-11-06 00:30 Chared ICA Code\ImperialistCompetitveAlgorithm_GlobalOptimizationStrategy.asv
文件 8109 2012-11-14 01:07 Chared ICA Code\ImperialistCompetitveAlgorithm_GlobalOptimizationStrategy.m
文件 1987 2008-11-05 05:22 Chared ICA Code\ImperialisticCompetition.m
文件 320 2008-02-29 19:48 Chared ICA Code\myrandint.m
文件 658 2008-11-05 01:57 Chared ICA Code\PossesEmpire.m
文件 2044 2008-11-05 05:26 Chared ICA Code\PSOClass4.m
文件 585 2008-11-10 13:55 Chared ICA Code\Read ME.txt
文件 412 2008-11-05 03:39 Chared ICA Code\RevolveColonies.m
文件 21524 2008-11-05 03:58 Chared ICA Code\testfunction11.m
文件 1884 2008-11-05 03:27 Chared ICA Code\UniteSimilarEmpires.m
目录 0 2012-10-25 00:49 Chared ICA Code
----------- --------- ---------- ----- ----
52397 17
评论
共有 条评论