[英]Shortest path problem with certain conditions
I have been searching for a shortest path algorithm with some conditions for 2 days but I'm not finding it. 我一直在搜索具有某些条件的最短路径算法已有2天了,但没有找到。 The algorithm should take 3 parameters, a beginning point, an ending point, a graph and should return the minimum time used to go from beginning point to ending point.
该算法应采用3个参数,即起点,终点,图形,并应返回从起点到终点的最短时间。 But Djikstra's algorithm can't be used I think because I want the algorithm to use waiting nodes.
但是我认为不能使用Djikstra的算法,因为我希望该算法使用等待节点。 Could someone give me some advice ?
有人可以给我一些建议吗?
PS: Sorry for my English I'm French :/ Illustration to my problem PS:很抱歉我的英语是法语:/ 问题的插图
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.