计算机工程与应用 ›› 2008, Vol. 44 ›› Issue (10): 10-12.

• 博士论坛 • 上一篇    下一篇

一种基于转向限制的城市交通网最短路径算法

陆克中1,孙宏元1,林晓辉2,李旭阳3   

  1. 1.深圳大学 超级计算中心,广东 深圳 518060
    2.深圳大学 信息工程学院,广东 深圳 518060
    3.深圳腾讯科技有限公司,广东 深圳 518085
  • 收稿日期:2007-11-20 修回日期:2007-12-28 出版日期:2008-04-01 发布日期:2008-04-01
  • 通讯作者: 陆克中

Shortest path algorithm of urban traffic network based on turning restriction

LU Ke-zhong1,SUN Hong-yuan1,LIN Xiao-hui2,LI Xu-yang3   

  1. 1.Super Computing Center,Shenzhen University,Shenzhen,Guangdong 518060,China
    2.College of Information Engineering,Shenzhen University,Shenzhen,Guangdong 518060,China
    3.Shenzhen Tencent Science and Technology Co. Ltd.,Shenzhen,Guangdong 518085,China
  • Received:2007-11-20 Revised:2007-12-28 Online:2008-04-01 Published:2008-04-01
  • Contact: LU Ke-zhong

摘要: 针对城市交通网导航的实际需要,提出了有向加权图的模型,图中顶点不仅包括路口,还包括起点和终点,并对Dijkstra算法进行改进,提出了一种基于转向限制的城市交通网最短路径算法,通过加入虚拟顶点,从而适应转向限制的条件。实验表明了该算法的正确性。

关键词: 城市交通网, 转向限制, 最短路径, 有向加权图

Abstract: A model of weighted digraph is proposed to satisfy actual navigation requirement of urban traffic network.Vertices in digraph not only include crossing,but also include start point and end point.A shortest path algorithm of urban traffic network based on turning restriction is proposed.The algorithm is improved on Dijkstra algorithm.The condition of turning restriction is adapted by adding virtual vertices.Experiment shows the algorithm is right.

Key words: urban traffic network, turning restriction, shortest path, weighted digraph