数据结构实验4代码新.pdfVIP

  • 3
  • 0
  • 约4.96千字
  • 约 4页
  • 2023-08-07 发布于北京
  • 举报
/*实验四:最短路径*/ #includestdio.h #define MAXVEXNUM 50 //最大顶点个数 #define INFINITY 65535 // INFINITY 表示没有邻接的顶点间弧长 typedef char VertexType[3]; typedef struct vertex { int adjvex;//顶点编号 VertexType data;//顶点信息 }Vertex_Type;//顶点类型 typedef struct graph { int Vertex_Num;//顶点

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档