代码搜索:PATH
找到约 10,000 项符合「PATH」的源代码
代码结果 10,000
www.eeworm.com/read/184062/9124577
m ugeneratenewpath.m
function path=UGenerateNewpath(path,MemoryLab)
%一起生成新群体
[row,col]=size(path);
[row1,col1]=size(MemoryLab);
[rowindex,colindex]=find(0==MemoryLab);
if(find(0==MemoryLab))
if(rowindex>1)
www.eeworm.com/read/184062/9124586
m iatsp.m
function [bestpath,minpath]=IATSP(TSPMatrix,CM,Popsize,TC,Pc,Pm)
%使用免疫算法解决旅行商问题
path=Initpath(TSPMatrix,Popsize);%初始化路径
MemoryLab=InitLab(TSPMatrix,CM);%初始化记忆库
[ktjqhl,ktyqhl]=qinheliCalculate(pat
www.eeworm.com/read/184062/9124590
m output.m
function [bestpath,minpathlong]=Output(path,TSPMatrix)
%输出优化结果
[row,col]=size(path);
FP=Fitness(path,TSPMatrix);
[temp,index]=max(FP);
bestpath=path(index,:);
minpathlong=0;
for i=1:col-1
www.eeworm.com/read/184062/9124594
asv iatsp.asv
function [bestpath,minpath]=IATSP(TSPMatrix,CM,Popsize,TC,Pm,Pc)
path=Initpath(TSPMatrix,Popsize);
MemoryLab=InitLab(TSPMatrix,CM);
[ktjqhl,ktyqhl]=qinheliCalculate(path,TSPMatrix);
MemoryLab=Gene
www.eeworm.com/read/184062/9124607
m ggeneratenewpath.m
function path=GGenerateNewpath(path,Pc,Pm)
[row,col]=size(path);
for j=1:2:row
[path(j,:),path(j+1,:)]=CXCrossover(path(j,:),path(j+1,:),Pc);
end
path=Mutation(path,Pm);
www.eeworm.com/read/380488/9144979
cpp ne-test.cpp
// ne-test.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "aine.h"
#include "debug.h"
ofstream tron( "result.txt" );
namespace Didactic
{
int B
www.eeworm.com/read/183672/9145783
epj loadgif.epj
#====================================================================
# File automatically generated by EISC Studio
# This file regenerated each time you run EISC Studio, so save under a
# new na