按照不同需求,比如时间少、换乘点少、票价便宜、路径最短等规划出一条线路采用Dijkstra算法实现
https://blog.csdn.net/xiaogechengxuyuan/article/details/8696837https://blog.csdn.net/guaodebeijixing/article/details/8681135