全国交通咨询模拟系统源代码.docVIP

  • 39
  • 0
  • 约2.51万字
  • 约 77页
  • 2020-11-23 发布于天津
  • 举报
(郭晓湛,李佳豪,廖川,杨鹤) 课题:全国交通系统咨询模拟 源程序代码: #include windows.h #include stdio.h #include string.h #include vector #includeiostream #include malloc.h #define INF 65535 //定义一个最大数定为无穷值 #define MAX 23 using namespace std; static int c_number=10; static int k=0; static int v=0,z=0,r=0,t=0; typedef struct search { int c_transer; int c_cost; int c_time; int f_cost; int f_time; }search; search m[20],x[20],n[20]; typedef int costAdj[MAX+1][MAX+1];//图邻接矩阵从1开始记数 int Path[MAX+1][MAX+1];//图邻接矩阵从1开始记数 typedef struct unDiGraph { int numVerts; //结点 cos

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档