改进的基于关系数据库技术的公交查询算法

来源期刊:中南大学学报(自然科学版)2009年第3期

论文作者:伍雁鹏 彭小奇 杨恒伏

文章页码:763 - 766

关键词:公交网络;关系数据库;换乘;最优路径;路径查询

Key words:public transit network; relational database; transfer; optimal path; path query

摘    要:为满足公众对出行路径的多样性需求,针对目前公交查询算法的不足,提出改进的基于关系数据库技术的公交查询算法。该算法依据“最优路径的子路径都是最优路径”理论,通过换乘次数小的最优路径逐步求取换乘次数大的最优路径,并利用关系数据库技术进行最优路径集合的生成和优化,从而实现大规模公交网络的多目标路径搜索。以北京公汽网络作为算例,分别以最短出行时间、最小换乘次数、最少出行费用为评价标准编制程序搜索最优路径,结果表明最短出行时间算法的多目标搜索结果最优,查询速度快,具有推广价值。

Abstract: Aiming at some shortcomings of existing algorithms, improved querying transit network algorithm based on relational database technology was proposed to meet people’s various demands of travel path. Based on the theory “all sub-paths of optimal path are optimal paths”, optimal paths were acquired step by step in accordance with transfer time from minimum to maximum, and optimal path sets were generated and optimized by use of relational database technology. This algorithm can be used to realize multi-objective path searching of large-scale transit network. Taking Beijing bus network as an example, programs were made with different assessing standard of minimum travel time, fewest transfer time, and least travel cost to search optimal paths. The results show that the algorithm of minimum travel time is optimal for multi-objective path searching, efficient in querying and valuable to apply.

基金信息:湖南省教育厅科研基金资助项目
湖南省科技厅科技计划项目

有色金属在线官网  |   会议  |   在线投稿  |   购买纸书  |   科技图书馆

中南大学出版社 技术支持 版权声明   电话:0731-88830515 88830516   传真:0731-88710482   Email:administrator@cnnmol.com

互联网出版许可证:(署)网出证(京)字第342号   京ICP备17050991号-6      京公网安备11010802042557号