代码搜索:PATH

找到约 10,000 项符合「PATH」的源代码

代码结果 10,000
www.eeworm.com/read/345676/11795405

m router.m

%配合floyd算法的后续程序,s为源点,t为宿点 %L为长度,R为路由 function [L,R]=router(D,path,s,t) L=zeros(0,0); R=s; while 1 if s==t L=fliplr(L); L=[0,L]; return end L=[L,D(s,t)];
www.eeworm.com/read/156173/11823680

h string_funcs.h

/* * string_funcs.h * * String manipulation functions. */ #ifndef _STRING_FUNCS_H #define _STRING_FUNCS_H #include #include /* * strip_char() * * Strips a given stri
www.eeworm.com/read/345224/11825428

c srchpath.c

/* * 68K/386 32-bit C compiler. * * copyright (c) 1997, David Lindauer * * This compiler is intended for educational use. It may not be used * for profit without the express written cons
www.eeworm.com/read/258897/11833550

cpp graph.cpp

#include"graph.h" #include #include using namespace std; MGraph::MGraph(char a[], int n, int e) //a[]由just_do_it()函数实现初始化 { //cout
www.eeworm.com/read/155766/11849385

cpp floyd.cpp

/* * * * * * * * * * * * * * * * * * * * * * * * * * * FLOYD ALGORITHEM * * VERSION 1.0 * * Writt
www.eeworm.com/read/155680/11855452

cpp 整数的划分个数及显示.cpp

#include const int size=20; int path[size]; int getlist(int m,int n,int &floor) { int sum=0; if(m
www.eeworm.com/read/155674/11855597

m decode.m

function path=Decode(Gpath) %进行解码 [row,col]=size(Gpath); for i=1:row temptable=1:col; for j=1:col for k=1:length(temptable) if Gpath(i,j)==k path(i
www.eeworm.com/read/155674/11855611

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)); en
www.eeworm.com/read/155674/11855631

m gtrans.m

function Gpath=GTrans(path) %进行Grefenstette编码转换 [row,col]=size(path); for i=1:row temptable=1:col; for j=1:col for k=1:length(temptable) if path(i,j)==temptable(k)
www.eeworm.com/read/155674/11855635

asv gtrans.asv

function Gpath=GTrans(path) Gpath=length(path)*ones(size(path)); [row,col]=size(path); for i=1:row for j=1:col k=1; while(k Gpath(i,j)=path(i,j)-length(find(Gpath(i,