首页> 外国专利> Method for finding shortest path to destination in traaffic network using Dijkstra algorithm or Floyd-warshall algorithm

Method for finding shortest path to destination in traaffic network using Dijkstra algorithm or Floyd-warshall algorithm

机译:Dijkstra算法或Floyd-warshall算法在交通网络中寻找到目的地最短路径的方法

摘要

In providing a method for finding a shortest path from a starting place to a destination place in a traffic network including turn restrictions, U-turns and P-turns using a Dijkstra algorithm and a Floyd-warshall algorithm, the Dijkstra algorithm includes the steps of: assigning a virtual arc connection value from a starting node to a destination node based on traffic information in order to do the turn restriction, the U-turn and the P-turn, wherein the starting node indicates the starting place and the destination node indicates the destination place; selecting a smallest travel time value out of total travel time value for a temporary label node from the starting node to all nodes except for the starting node and assigning the smallest travel time value to a permanent label node; and determining the shortest path by tracing a permanent node stating from the destination node. The Floyd-warshall algorithm includes the steps of: computing a travel time value between two nodes for all pairs of nodes; if a left-turn restriction is included in continuous three nodes, adding a virtual node L in the continuous three nodes, wherein let the three nodes be nodes V, L and W; computing matrix of the pairs of nodes based on the virtual node L; and finding a smallest travel time using the matrix of the pairs of nodes.
机译:在提供一种使用Dijkstra算法和Floyd-warshall算法在交通网络中查找从起点到目的地的最短路径的方法(包括转弯限制,U形转弯和P形转弯)时,Dijkstra算法包括以下步骤: :基于交通信息从起始节点到目的节点分配虚拟弧线连接值,以进行转弯限制,U形转弯和P形转弯,其中起始节点指示起始位置,目的节点指示目的地从起始节点到除起始节点之外的所有节点的临时标签节点的总行程时间值中选择最小行程时间值,并将最小行程时间值分配给永久标签节点;通过追踪从目的节点陈述的永久节点来确定最短路径。 Floyd-warshall算法包括以下步骤:计算所有节点对在两个节点之间的传播时间值;如果在连续的三个节点中包括左转限制,则在连续的三个节点中添加虚拟节点L,其中,所述三个节点为节点V,L和W;基于虚拟节点L计算节点对的矩阵;并使用节点对矩阵找到最小的旅行时间。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号