文件名称:graph
介绍说明--下载内容来自于网络,使用问题请自行百度
运用graph;寻找最短路径(最短时间/最少换乘)(Suppose following weighted directed graph representing a local subway route network, the vertices in the graph represent the important sites in the area, the arcs represents the existing subway routs, and the weight represent the time duration from one site to another one. Try to design a subway route query system to help the users find
(a) the way to go from one site to another one in shortest time(weighted shortest path)
(b) the way to go from one site to another one with minimal transfer(unweighted shortest path), for the routes with same transfer times choose the one costing shortest time.)
(a) the way to go from one site to another one in shortest time(weighted shortest path)
(b) the way to go from one site to another one with minimal transfer(unweighted shortest path), for the routes with same transfer times choose the one costing shortest time.)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
lab6.cpp | 9414 | 2017-12-30 |
lab6.exe | 376382 | 2017-12-30 |
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.