/*交通图最短路径程序*/ #include "string.h" #include "stdio.h" typedef struct ArcCell{ int adj; /*相邻接的城市序号*/ }ArcCell; /*定义边的类型…
VEX 源代码
汇集 VEX 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
#include #include #define INFINITY 0 #define MaxEdge 50 #define MAX_VERTEX_NUM 10 typedef struct { /*…
/*交通图最短路径程序*/ #include "string.h" #include "stdio.h" typedef struct ArcCell{ int adj; /*相邻接的城市序号*/ }ArcCell; /*定义边的类型…
/*交通图最短路径程序*/ #include "string.h" #include "stdio.h" typedef struct ArcCell{ int adj; /*相邻接的城市序号*/ }ArcCell; /*定义边的类型…
/*交通图最短路径程序*/ #include "string.h" #include "stdio.h" typedef struct ArcCell{ int adj; /*相邻接的城市序号*/ }ArcCell; /*定义边的类型…
/*交通图最短路径程序*/ #include "string.h" #include "stdio.h" typedef struct ArcCell{ int adj; /*相邻接的城市序号*/ }ArcCell; /*定义边的类型…
#include "stdio.h" # include #define INFINITY 10000 #define MAX_VERTEX_NUM 20 /*typedef struct ArcCell{//弧的定义 int adj;…
#include #include #define outmax 3//最大出度 #define inmax 2//最大入度 #define vex 9//顶点个数 #define max 10000//定义极大值 int linjie_0[vex…
#include #include #define outmax 3//最大出度 #define inmax 2//最大入度 #define vex 9//顶点个数 #define max 10000//定义极大值 int linjie_0[vex…
#define M 20 #include #include #include /*定义图*/ typedef struct{ int V ; int R ; int vexnum; }Graph; /*…