代码搜索:PATH
找到约 10,000 项符合「PATH」的源代码
代码结果 10,000
www.eeworm.com/read/175791/9531040
cpp 导游图最终版.cpp
#include
#include
using namespace std;
#define M 10000 //定义无穷大
#define n 15 //顶点数
typedef struct {
string vexs[n]; //顶点表
int edges[n][n]; //邻接矩阵,可看作边表
int b,e
www.eeworm.com/read/175501/9544027
frm frmdatabackup.frm
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form frmDataBackup
Caption = "数据备份"
ClientHeight = 3255
ClientLeft =
www.eeworm.com/read/174696/9577582
bas mduglobal.bas
Attribute VB_Name = "mduGlobal"
Option Explicit
Public Function GetAppPath() As String
If Right(App.Path, 1) = "\" Then
GetAppPath = App.Path
Else
GetAppPath = App.Path
www.eeworm.com/read/366615/9807256
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/366615/9807260
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/366615/9807264
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/366615/9807286
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/366576/9808587
h server.h
/*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2004-2008 Marcel Holtmann
*
*
* This program is free software; you can redistribute it and/or modif
www.eeworm.com/read/170126/9818296
bas mduglobal.bas
Attribute VB_Name = "mduGlobal"
Option Explicit
Public Function GetAppPath() As String
If Right(App.Path, 1) = "\" Then
GetAppPath = App.Path
Else
GetAppPath = App.Path