資源簡介
部分代碼:
function Population1=GA_tubian(Population,pe_tubian)
%遺傳算法突變算子
%pe為突變概率
Population1=Population;
n=length(Population(:,1));
m=length(Population(1,:));
for i=1:n
for j=1:m
test=rand;
if test<pe_tubian
Population1(i,j)=1-Popula

代碼片段和文件信息
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????1690??2020-03-17?14:40??背包問題遺傳算法matlab源程序代碼.rar
-----------?---------??----------?-----??----
?????文件????????1690??2020-03-17?14:40??背包問題遺傳算法matlab源程序代碼.rar
- 上一篇:fisher判別matlab源程序代碼
- 下一篇:模糊聚類matlab源程序代碼
評論
共有 條評論