• 大小: 9.05MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-11-14
  • 语言: Matlab
  • 标签: BBO  优化算法  matlab  

资源简介

bbocomplex.zip 生物地理学优化算法matlab code,其迁徙模型是较为复杂的非线性模型。

资源截图

代码片段和文件信息

function ResultCompare

close all
S1 = load(‘CODataStorage.mat‘);
S2 = load(‘MDFDataStorage.mat‘);
S3 = load(‘IDFDataStorage.mat‘);
S4 = load(‘BBOComplex1DataStorage.mat‘);
S5 = load(‘BBOComplex2DataStorage.mat‘);

CostPlot(S1.AvgCostArray1 S2.AvgCostArray1 S3.AvgCostArray1 S4.AvgCostArray1 S5.AvgCostArray1 S1.AvgCallArray1 S2.AvgCallArray1 S3.AvgCallArray1 S4.AvgCallArray1 S5.AvgCallArray1 ‘CombustionPropane Cost‘);
CostPlot(S1.AvgCostArray2 S2.AvgCostArray2 S3.AvgCostArray2 S4.AvgCostArray2 S5.AvgCostArray2 S1.AvgCallArray2 S2.AvgCallArray2 S3.AvgCallArray2 S4.AvgCallArray2 S5.AvgCallArray2‘HeartDipole Cost‘);
CostPlot(S1.AvgCostArray3 S2.AvgCostArray3 S3.AvgCostArray3 S4.AvgCostArray3 S5.AvgCostArray3 S1.AvgCallArray3 S2.AvgCallArray3 S3.AvgCallArray3 S4.AvgCallArray3 S5.AvgCallArray3‘PowerConverter Cost‘);
CostPlot(S1.AvgCostArray4 S2.AvgCostArray4 S3.AvgCostArray4 S4.AvgCostArray4 S5.AvgCostArray4 S1.AvgCallArray4 S2.AvgCallArray4 S3.AvgCallArray4 S4.AvgCallArray4 S5.AvgCallArray4‘SpeedReducer Cost‘);

FeasiblePlot(S1.AvgFeasibleArray1 S2.AvgFeasibleArray1 S3.AvgFeasibleArray1 S4.AvgFeasibleArray1 S5.AvgFeasibleArray1 S1.AvgCallArray1 S2.AvgCallArray1 S3.AvgCallArray1 S4.AvgCallArray1 S5.AvgCallArray1 ‘CombustionPropane Feasibility‘);
FeasiblePlot(S1.AvgFeasibleArray2 S2.AvgFeasibleArray2 S3.AvgFeasibleArray2 S4.AvgFeasibleArray2 S5.AvgFeasibleArray2 S1.AvgCallArray2 S2.AvgCallArray2 S3.AvgCallArray2 S4.AvgCallArray2 S5.AvgCallArray2‘HeartDipole Feasibility‘);
FeasiblePlot(S1.AvgFeasibleArray3 S2.AvgFeasibleArray3 S3.AvgFeasibleArray3 S4.AvgFeasibleArray3 S5.AvgFeasibleArray3 S1.AvgCallArray3 S2.AvgCallArray3 S3.AvgCallArray3 S4.AvgCallArray3 S5.AvgCallArray3‘PowerConverter Feasibility‘);
FeasiblePlot(S1.AvgFeasibleArray4 S2.AvgFeasibleArray4 S3.AvgFeasibleArray4 S4.AvgFeasibleArray4 S5.AvgFeasibleArray4 S1.AvgCallArray4 S2.AvgCallArray4 S3.AvgCallArray4 S4.AvgCallArray4 S5.AvgCallArray4‘SpeedReducerFeasibility‘);

return

function CostPlot(CostArray1 CostArray2 CostArray3 CostArray4 CostArray5 CallArray1 CallArray2 CallArray3 CallArray4 CallArray5 title)

[row~] = size(CostArray1);
for t = 1:row
    figure
    plot(CallArray1 CostArray1(t:)‘-r‘);
    grid
    hold on
    plot(CallArray2 CostArray2(t:)‘-ob‘);
    plot(CallArray3 CostArray3(t:)‘--m‘);
    plot(CallArray4 CostArray4(t:)‘-xk‘);
    plot(CallArray5 CostArray5(t:)‘:‘ ‘color‘ [0.6824    0.0078    0.4941]);
    legend(‘CO‘ ‘MDF‘ ‘IDF‘ ‘BBOComplex1‘ ‘BBOComplex2‘);
    title([title‘ ‘num2str(t)]);
    hold off
end

return

function FeasiblePlot(FeasibleArray1 FeasibleArray2 FeasibleArray3 FeasibleArray4 FeasibleArray5 CallArray1 CallArray2 CallArray3 CallArray4 CallArray5 title)
figure
plot(CallArray1 FeasibleArray1‘-r‘);
grid
hold on
plot(CallArray2 FeasibleArray2‘-ob‘);
plot(CallArray3 FeasibleArray3‘--m‘);

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件     505312  2013-06-07 15:33  BBOcomplex\100000 calls\BBOComplex1DataStorage.mat

     文件     487633  2013-06-07 00:58  BBOcomplex\100000 calls\BBOComplex2DataStorage.mat

     文件     597176  2013-06-07 01:07  BBOcomplex\100000 calls\CODataStorage.mat

     文件      17005  2013-07-16 17:24  BBOcomplex\100000 calls\CombustionPropane Cost1.fig

     文件      16941  2013-07-16 17:24  BBOcomplex\100000 calls\CombustionPropane Cost2.fig

     文件      17039  2013-07-16 17:24  BBOcomplex\100000 calls\CombustionPropane Cost3.fig

     文件      13636  2013-07-16 17:24  BBOcomplex\100000 calls\CombustionPropane Feasibility.fig

     文件      19747  2013-07-16 17:24  BBOcomplex\100000 calls\HeartDipole Cost1.fig

     文件      19724  2013-07-16 17:24  BBOcomplex\100000 calls\HeartDipole Cost2.fig

     文件      15153  2013-07-16 17:24  BBOcomplex\100000 calls\HeartDipole Feasibility.fig

     文件    7849901  2013-06-07 01:58  BBOcomplex\100000 calls\IDFDataStorage.mat

     文件     123208  2013-06-06 19:08  BBOcomplex\100000 calls\MDFDataStorage.mat

     文件      18117  2013-07-16 17:24  BBOcomplex\100000 calls\PowerConverter Cost1.fig

     文件      18043  2013-07-16 17:24  BBOcomplex\100000 calls\PowerConverter Cost2.fig

     文件      15078  2013-07-16 17:24  BBOcomplex\100000 calls\PowerConverter Feasibility.fig

     文件       3878  2013-08-09 13:19  BBOcomplex\100000 calls\ResultCompare.m

     文件      12386  2013-07-16 17:24  BBOcomplex\100000 calls\SpeedReducer Cost1.fig

     文件      12338  2013-07-16 17:24  BBOcomplex\100000 calls\SpeedReducer Cost2.fig

     文件      12333  2013-07-16 17:24  BBOcomplex\100000 calls\SpeedReducer Cost3.fig

     文件      11002  2013-07-16 17:24  BBOcomplex\100000 calls\SpeedReducerFeasibility.fig

     文件       2976  2013-08-09 09:49  BBOcomplex\BBO-Complex\Version1(Separated Systems)\allcomb.m

     文件       6129  2013-08-09 10:32  BBOcomplex\BBO-Complex\Version1(Separated Systems)\BBO.m

     文件       1257  2013-08-09 14:00  BBOcomplex\BBO-Complex\Version1(Separated Systems)\BBOComplex.m

     文件       5097  2013-08-08 15:35  BBOcomplex\BBO-Complex\Version1(Separated Systems)\CombustionPropane.m

     文件        378  2013-08-09 09:49  BBOcomplex\BBO-Complex\Version1(Separated Systems)\CombustionPropaneSubSystem.m

     文件       3320  2013-08-09 09:50  BBOcomplex\BBO-Complex\Version1(Separated Systems)\CombustionPropaneSubSystemCostFunction.m

     文件       1866  2013-08-09 09:50  BBOcomplex\BBO-Complex\Version1(Separated Systems)\Elitism.m

     文件       6274  2013-08-09 10:24  BBOcomplex\BBO-Complex\Version1(Separated Systems)\HeartDipole.m

     文件        308  2013-08-09 09:50  BBOcomplex\BBO-Complex\Version1(Separated Systems)\HeartDipoleSubSystem.m

     文件       3646  2013-08-09 10:25  BBOcomplex\BBO-Complex\Version1(Separated Systems)\HeartDipoleSubSystemCostFunction.m

............此处省略88个文件信息

评论

共有 条评论