代码搜索:PATH
找到约 10,000 项符合「PATH」的源代码
代码结果 10,000
www.eeworm.com/read/163715/10148402
cpp shortestpath.cpp
// ShortestPath.cpp: implementation of the ShortestPath class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "ShortPath.h"
#include "Sho
www.eeworm.com/read/359263/10159071
m pathlong.m
function pathlong=pathlong(path,TSPMatrix)
%计算路径长度
[row,col]=size(path);
for i=1:row
pathlong(i)=0;
for j=1:(col-1)
pathlong(i)=pathlong(i)+TSPMatrix(path(i,j),path(i,j+1));
www.eeworm.com/read/359263/10159075
m select.m
function path=Select(path,SelectP)
[row,col]=size(path);
roulette=cumsum(SelectP);
for i=1:row
tempP=rand(1);
for j=1:length(roulette)
if tempP
www.eeworm.com/read/359263/10159079
m mutationreverse.m
function path=MutationReverse(path,Pm)
[row,col]=size(path);
childpath=path;
for i=1:row
point=randperm(col)-1;
point1=min(point(1),point(2));
point2=max(point(1),point(2));
tem
www.eeworm.com/read/359263/10159091
m fitness.m
function FP=Fitness(path,TSPMatrix)
[row,col]=size(path);
for i=1:row
pathlong(i)=0;
for j=1:(col-1)
pathlong(i)=pathlong(i)+TSPMatrix(path(i,j),path(i,j+1));
end
pathlo
www.eeworm.com/read/359212/10161117
m loadpgm.m
%LOADPGM Load a PGM image
%
% I = loadpgm(filename)
%
% Returns a matrix containing the image loaded from the PGM format
% file filename. Handles ASCII (P2) and binary (P5) PGM file formats.
%
% If t
www.eeworm.com/read/163351/10165570
frm frmbackup.frm
VERSION 5.00
Begin VB.Form frmbackup
BorderStyle = 1 'Fixed Single
Caption = "数据备份...."
ClientHeight = 1860
ClientLeft = 45
ClientTop = 330
www.eeworm.com/read/359019/10169848
c volume.c
/*
* hfsutils - tools for reading and writing Macintosh HFS volumes
* Copyright (C) 1996, 1997 Robert Leslie
*
* This program is free software; you can redistribute it and/or modify
* it under th
www.eeworm.com/read/358850/10177838
frm frmrestore.frm
VERSION 5.00
Object = "{CE671F01-259E-40DA-92FE-95803E2ECBB5}#1.0#0"; "SmartXPButton.ocx"
Begin VB.Form FrmRestore
BackColor = &H00E7DFE7&
BorderStyle = 1 'Fixed Single
C
www.eeworm.com/read/358549/10184844
c syncupload.c
/*
syncupload -- Send files to a slave.
AUTHOR
Jeroen C. Kessels
Internet Engineer
http://www.kessels.com/
Copyright: Jeroen C. Kessels
Date: