• 大小: 17KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-05-14
  • 语言: Matlab
  • 标签: 遗传算法  

资源简介

遗传算法求解车辆调度问题,matlab仿真程序

资源截图

代码片段和文件信息

path=children(il1:l2-1);
l=length(path);
data(path3);
sum(data(path3));
for k=1:l
    if k==1
        fitness_value_c(i)=fitness_value_c(i)+sum(data(path3))*dis(1path(1))*3;
    else
        fitness_value_c(i)=fitness_value_c(i)+sum(data(path(k:l)3))*dis(path(k-1)path(k))*3;
    end
        
end 
fitness_value_c(i)=fitness_value_c(i)+dis(path(l)1)*2;

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

     文件        372  2013-08-02 20:52  GAforVRP\fitness_c.m

     文件        335  2013-08-02 20:52  GAforVRP\fitness_P.m

     文件        372  2013-08-02 20:52  GAforVRP\GAforVRP\fitness_c.m

     文件        335  2013-08-02 20:52  GAforVRP\GAforVRP\fitness_P.m

     文件       3704  2013-08-02 20:52  GAforVRP\GAforVRP\GAVRP.m

     文件       1330  2013-08-02 20:52  GAforVRP\GAforVRP\jiaocha.m

     文件       4980  2013-08-02 20:52  GAforVRP\GAforVRP\matlab.mat

     文件       3704  2013-08-02 20:52  GAforVRP\GAVRP.m

     文件         52  2008-08-05 10:20  GAforVRP\geneticVRP\exchange.m

     文件       4621  2008-08-19 12:58  GAforVRP\geneticVRP\geneticVRP.m

     文件        165  2008-08-05 10:20  GAforVRP\geneticVRP\immuni.m

     文件       1912  2008-08-05 10:20  GAforVRP\geneticVRP\intercross.m

     文件        113  2008-08-05 10:20  GAforVRP\geneticVRP\mutate.m

     文件       1013  2008-08-19 15:55  GAforVRP\geneticVRP\myLength.asv

     文件       1013  2008-08-19 15:57  GAforVRP\geneticVRP\myLength.m

     文件        739  2008-08-19 13:06  GAforVRP\geneticVRP\VRP.m

     文件       1330  2013-08-02 20:52  GAforVRP\jiaocha.m

     文件       4980  2013-08-02 20:52  GAforVRP\matlab.mat

     目录          0  2013-08-03 12:56  GAforVRP\GAforVRP

     目录          0  2013-08-03 12:56  GAforVRP\geneticVRP

     目录          0  2013-08-03 12:56  GAforVRP

----------- ---------  ---------- -----  ----

                31070                    21


评论

共有 条评论