www.gusucode.com > matlab编程遗传算法计算匹配电路源码程序 > code1/code/MATLAB源代码/mutation_change_by_gen.m

    function mut_probability = mutation_change_by_gen( gen )
%UNTITLED3 此处显示有关此函数的摘要
%   此处显示详细说明
      if gen<50
         mut_probability=0.5;
      end
      if (gen>=50)&&(gen<100)
         mut_probability=0.4;
      end
      if (gen>=100)&&(gen<150)
         mut_probability=0.3;
      end
      if (gen>=150)&&(gen<200)
         mut_probability=0.20;
      end

end