% % ------------------------------ 装甲兵工程学院 -------------------------------
x=[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16];
y=[1 1 1 5 4 24 6 14 33 1 30 22 13 22 77 7];
g = ((x)+sqrt((x)-cos((x)+sin(x))))+cot((x)+sqrt(x))
% g = abs(((x)-sin((x)+sin((x)-sqrt(x))))+tan((((x)-sin(x)).*sin((x).^tan(x)))./tan(((x).^cos(x))-exp((x)./cot(x)))))
plot(x,g,'LineWidth',1,'Color','r','LineStyle',':');
hold on;
plot(x,y,'LineWidth',1,'Color','b','LineStyle',':');
hold off
% ------------------------------ 装甲兵工程学院 ---leiji----------------------------
x = [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16];
w = [1 1 1 5 4 24 6 14 33 1 30 22 13 22 77 7];
y = cumsum(w);
g = ((x).*sqrt((x)-cos((((x)-log(x))+sin((x).^cot(x))).*tan(x)))).*sqrt(x) % 1687.3
plot(x,g,'LineWidth',1,'Color','r','LineStyle',':');
hold on;
plot(x,y,'LineWidth',1,'Color','b','LineStyle',':');
hold off
legend('GP演化模型结构','实际失效数据序列',2);
title('软件错误统计数据--装甲兵工程学院测试用例','FontName','楷体_GB2312' ,'FontSize',16);
xlabel('软件测试序列号','FontName','楷体_GB2312' ,'FontSize',12);
ylabel('失效数据累积故障时间','FontName','楷体_GB2312' ,'FontSize',12);
grid on
% -------------------------------------------------------------------------
(x).*sqrt(((x)-sin((x)./sqrt(x)))./sqrt(x)) 3.9888e+003
((x)+log(((x)-cos(x)).*exp(x)))-sqrt(x) 3.9883e+003
(x).*sqrt((x)./sqrt(x)) 3.9919e+003
(x).*sqrt((x)./sqrt((x)-cos((x).^cos(x)))) 3.9514e+003
((x).*log(x))-cot(x) 3.8454e+003
(x)+log((x).*exp((x)-cot(x))) 3.6853e+003
((x)+sqrt((x)-cos((x)+sin(x))))+cot((x)+sqrt(x)) 1.9320e+003
((x)-cot(x)).*log(x) 3.0992e+003
(x).*sqrt((((x)-cos(x))-log((x)+sin(x)))./log((x)-cos((x).*cot(x)))) 3.9066e+003
(x)+tan((x).*sqrt(x)) 2.5633e+003
((((x)-log(x))-cot(x))-sqrt(x)).*sqrt(x) 2.7082e+003
(x)./sqrt((x).^cos((x)-cos(x))) 2.0362e+003
% -------------------------------------------------------------------------
1.5949e+003 ((x)-sin((x)+sin((x)-sqrt(x))))+tan((((x)-sin(x)).*sin((x).^tan(x)))./tan(((x).^cos(x))-exp((x)./cot(x))))
% ------------ 2006.5.15 -----单独执行一代个体产生的最优结果---------------
(x)+tan((x).*sqrt(x)) 2.5633e+003
((x)-cot(((x).^sin(x))-log(x)))+tan((x).^sqrt(x)) 2.8025e+003
((x)+sin(x))+cot((x)+cos(((x).^tan(x)).*cot((x).^cos(x)))) 2.0865e+003
% ----------------------- 循环 50 代结果 --------------------------------------------------
((x).^cot(x)).^cos((x)-tan(((x)-cot(x))./cot(x))) 4685.1
% ----------------------- 循环 30 代结果 --------------------------------------------------
(((x)-exp(((x)+tan(x))-cos(((x).*cos(x))./sin((x).^sqrt(x)))))./sqrt(x)).^sin(x) 6029.9
% % ------------------------------ 装甲兵工程学院 -------------------------------
% % -------------------------- NTDS ------------------------------------------
10461 ((x)./exp(((x)+sqrt(x)).^tan(x)))+log(x)
10990 (x)+cot((((x)+sin(((x).*cos(x))./sqrt(x))).*log(x))+cot(x))
(x)-sin((x)-tan((x).^sqrt(x)))
(x)-cos((x)./sin(x)) 10533
10785 (x)-cot((x)+tan((((x)-tan(x)).*exp(x))+cos(((x)+cot(x))-sin((x).*exp(x)))))
9541.3 (x)+cot((x)-sqrt(((x)+log(x))+sin(x)))
8645.8 (x)-cot(((x).*sqrt(x)).*tan((x).^sqrt((x).*log(x))))
8439.8 (x)-tan((x)./sin((((x)./sqrt(x))-log(x))-sin(x)))
11172 (x).^sqrt((((x).^sqrt(x)).^sqrt(x))+cot(x))
10327 (((x)+exp(((x)./log(x)).^cot((x)-sqrt(x)))).^sin(((x).^sin((x)-tan(x))).^cot(x))).^sqrt((x)+tan(((x).^sin(x))./log(((x).*cos(x))-log(x))))
12378 (x)-tan((((x)+log((x)-tan(x)))./cot((x)./tan((x).*tan(x))))./log(x))
10533 (x).*sin((x)-sqrt(x))
11439 (x).^cos((x).^sin(((((x).^sqrt(x))-tan((x).^sqrt(x)))./sqrt(x))+cot((x)-tan(x))))
% % -------------------------- NTDS ------------------------------------------
x=[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30];
y=[9 12 11 4 7 2 5 8 5 7 1 6 1 9 4 1 3 3 6 1 11 33 7 91 2 1 87 47 12 9];
% g = abs(((x)-cos((x)-cos(x))).^sin(((((x).^cos(x))./log(x)).^tan(x))./tan((x)./tan(x))))
% g = abs((x).*sin((x)-sqrt(x)))
% g = (x).^cos(((x).^tan(x))+cos(x)) % better solution
% g = (x).^cos((x).^sin(((((x).^sqrt(x))-tan((x).^sqrt(x)))./sqrt(x))+cot((x)-tan(x))))
plot(x,g,'LineWidth',1,'Color','r','LineStyle',':');
hold on;
plot(x,y,'LineWidth',1,'Color','b','LineStyle',':');
hold off
% ------------- NYDS 累积失效序列 -----------------
61067 (x).*sqrt((x).*log(x))
2.5105e+005 (x).*sqrt((x)+log(x))
50885 (x).*log(((x)-cos(x)).^log(x))
51453 ((x).*log(x)).*log(x)
50889 (((x).*log((x)+log(x)))-sqrt(x)).*log(x)
52030 (x).*sqrt((x).*sqrt(x))
53060 (x)+sqrt((x).^log(x))
51554 ((x).*sqrt((x).*log(((x)+cos(x))-cos(x))))-log((x)./exp(x))
61067 ((x)+log(x)).*tan((x).^log(((((x)-log(x)).^cot(x)).^log(((x)./sqrt(x))./sqrt((x).^sin(x)))).^sqrt((((x).*sqrt(x))-tan(x))-exp(x))))
33275 (x).^log(((x)+log(x))./sqrt(x))
49700 (((x)-cos(x)).*log((x)-sin(x))).*log(x)
51772 ((x).^exp((x)./exp(x))).*sqrt((((x).*sqrt(x)).*cos(x))./cos(x))
% -------------------------------------------------
x = [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30];
w = [9 12 11 4 7 2 5 8 5 7 1 6 1 9 4 1 3 3 6 1 11 33 7 91 2 1 87 47 12 9];
y = cumsum(w);
% g = (x)+sqrt(((x)-sin((((x)-exp(x))./cot(x)).*tan(x))).^log(x))
g = 1.1752.*((x)+sqrt(((x)-sin((((x)-exp(x))./cot(x)).*tan(x))).^log(x)))+2.9988
plot(x,g,'LineWidth',1,'Color','k','LineStyle','-');
hold on;
plot(x,y,'LineWidth',1,'Color','k','LineStyle',':');
hold off
legend('GP演化模型结构','实际失效数据序列',2);
title('软件错误统计数据--NTDS','FontName','楷体_GB2312' ,'FontSize',16);
xlabel('软件测试序列号','FontName','楷体_GB2312' ,'FontSize',12);
ylabel('失效数据累积故障时间','FontName','楷体_GB2312' ,'FontSize',12);
grid on
% g = 6.5.*abs(((x)+log(x)).*tan((x).^log(((((x)-log(x)).^cot(x)).^log(((x)./sqrt(x))./sqrt((x).^sin(x)))).^sqrt((((x).*sqrt(x))-tan(x))-exp(x)))))
% g = (((x)-cos(x)).*log((x)-sin(x))).*log(x)
% g = (x)+sqrt(((x)-sin((((x)-exp(x))./cot(x)).*tan(x))).^log(x))
% g = (((x).*log(x))+cot((x)+cot(x))).*log(x)
% g = ((x).^exp((x)./exp(x))).*sqrt((((x).*sqrt(x)).*cos(x))./cos(x))
% g = (x).^log(((x)+log(x))./sqrt(x))
plot(x,g,'LineWidth',1,'Color','r','LineStyle',':');
hold on;
plot(x,y,'LineWidth',1,'Color','b','LineStyle',':');
hold off
% --------------------------------------------------
% --------------------------- SYS1 ---------------------------------
((x)-cos(x)).*sqrt(x) 1.0662e+008
((x).*sqrt(x))+sqrt(x) 1.0683e+008
(((x).*sqrt(x))-log(x))+sqrt(x) 1.0684e+008
(x)+cos(x) 1.0669e+008
abs((x)./cos((x).*exp(((x).*log(x))+cos(x)))) 2.0863e+008
% --------------------------- SYS1 --------------------------------------
x=[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136];
y=[3 30 113 81 115 9 2 91 112 15 138 50 77 24 108 88 670 120 26 114 325 55 242 68 422 180 10 1146 600 15 36 4 0 8 227 65 176 58 457 300 97 263 452 255 197 193 6 79 816 1351 148 21 233 134 357 193 236 31 369 748 0 232 330 365 1222 543 10 16 529 379 44 129 810 290 300 529 281 160 828 1011 445 296 1755 1064 1783 860 983 707 33 868 724 2323 2930 1461 843 12 261 1800 865 1435 30 143 108 0 3110 1247 943 700 875 245 729 1897 447 386 446 122 990 948 1082 22 75 482 5509 100 10 1071 371 790 6150 3321 1045 648 5485 1160 1864 4116];
g = abs((x)./cos((x).*exp(((x).*log(x))+cos(x))))
plot(x,g,'LineWidth',1,'Color','r','LineStyle',':');
hold on;
plot(x,y,'LineWidth',1,'Color','b','Line
GP.rar_genetic programming_交叉 matlab_交叉变异_遗传程序GP_遗传编码代码
版权申诉
5星 · 超过95%的资源 43 浏览量
2022-09-24
00:01:14
上传
评论
收藏 28KB RAR 举报
钱亚锋
- 粉丝: 88
- 资源: 1万+
最新资源
- Screenshot_2024-05-21-17-06-42-64_2332cb9b27b851b548ba47a91682926c.jpg
- 毕业设计参考 - 基于树莓派、OpenCV及Python的人脸识别
- node-v18.20.2-linux-arm64
- 222222222222
- 16张相机标定图片,可复现本文畸变矫正
- dbeaver-ce-23.3.1-x86_64-setup.zip
- 基于X86 AVX2指令的快速卷积实现
- VMware-ESXi-7.0U3n-21930508-depot.zip文件
- MySQL 在 Windows 系统下的安装教程.zip
- Access文件数据库访问的客户端
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈