公交网络下的一种费用限制最小时态路径查询索引
作者:
作者单位:

作者简介:

马慧(1981-),女,广东中山人,博士,副教授,CCF专业会员,主要研究领域为数据库管理,图数据库与查询分析,算法设计;梁瑞仕(1982-),男,博士,副教授,CCF专业会员,主要研究领域为智能规划及其应用,大数据;汤庸(1961-),男,博士,教授,博士生导师,CCF杰出会员,主要研究领域为学术社交网络,教育大数据服务.

通讯作者:

汤庸,E-mail:ytang@m.scnu.edu.cn

中图分类号:

TP393

基金项目:

国家自然科学基金(U1811263,61772211);广东省高等学校优秀青年教师项目(YQ2015241,YQ2015242);中山市科技计划(2015B2307)


Indexing Method for Approximate Cost Constrained Minimal Temporal Paths Queries in Public Transportation Networks
Author:
Affiliation:

Fund Project:

National Natural Science Foundation of China (U1811263, 61772211); Foundation for Excellent Young Teachers in Higher Education of Guangdong Province (YQ2015241, YQ2015242); Science and Technology Plan of Zhongshan City (2015B2307)

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    私人交通网络下的最短路径查询主要考虑路径长度、行驶时间等因素,而公共交通网络下的路径查询需要考虑路径上相邻的边的时间顺序约束以及路径的费用.研究了公共交通网络下3种查询:给定起点、终点、时间区间和费用上限,查找在时间区间内不超过费用上限的最早到达路径、最晚出发路径和最短耗时路径.首先给出一种Dijkstra变种算法Dijk-CCMTP,在此基础上给出3类查询的查询算法.然后提出一种高效的索引结构ACCTL(approximate cost constrained time labelling).ACCTL采用Dijk-CCMTP对图中的每个顶点预先计算部分从该顶点出发的和到达该顶点的基本路径.对于任意从起点s到终点d的查询,可以采用类似数据库表连接的方式从ACCTL中连接从a出发的和到达d的路径生成近似解,避免遍历原图搜索路径.ACCTL建立索引的时间复杂度是O(|Vmax·|E|·(log|E|+max)),其中,|V|表示顶点数,|E|表示边数,max表示顶点的最大度数.实验验证ACCTL索引支持的查询速度比Dijkstra的变种算法的查询速度快2~3个数量级,并分析了影响建立索引时间和空间大小的因素.

    Abstract:

    In contrast to the paths queries under private transportation, which mainly concern the length or the driving time of a path, the paths queries under public transportation have to consider the time sequences between subsequent edges, as well as the total cost over a path. This study looks into three types of queries:given a source node, a destination node, a time interval, and a cost constraint, to find out a path within the given time interval which is restricted by the cost constraint, and has (i) the earliest arrival time, or (ii) the latest departure time, or (iii) the shortest duration. Firstly, a modified Dijkstra's algorithm called Dijk-CCMTP is presented based on derived algorithms respectively for the three types of queries above. After that, an effective indexing structure ACCTL (approximate cost constrained time labelling) is proposed. ACCTL invokes Dijk-CCMTP to precompute some canonical paths from (and, to) each node in the graph. For any query from source node s to destination node d, the approximate answer path can be obtain by matching those canonical paths that are from s (and, to d) in a database table join manner, so as to avoid traversing on the entire graph. The preprocessing time to build ACCTL is O(|Vmax·|E|·(log|E|+max)), where|V|is the number of nodes,|E|the number of edges, and max the maximal degree among the nodes in the graph. Finally, the efficiency and effectiveness of ACCTL are confirmed. Experimental results show that the query algorithm under ACCTL is 2~3 orders of magnitude faster than the Dijkstra variant methods. The index preprocessing time and index size are also analyzed.

    参考文献
    相似文献
    引证文献
引用本文

马慧,汤庸,梁瑞仕.公交网络下的一种费用限制最小时态路径查询索引.软件学报,2019,30(11):3469-3485

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2017-11-21
  • 最后修改日期:2018-04-16
  • 录用日期:
  • 在线发布日期: 2019-11-06
  • 出版日期:
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京市海淀区中关村南四街4号,邮政编码:100190
电话:010-62562563 传真:010-62562533 Email:jos@iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号