引用本文:马慧,汤庸,梁瑞仕.公交网络下的一种费用限制最小时态路径查询索引.软件学报,2019,30(11):3469-3485
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 2378次   下载 5034 本文二维码信息
码上扫一扫!
分享到: 微信 更多
公交网络下的一种费用限制最小时态路径查询索引
马慧1, 汤庸2, 梁瑞仕1
1.电子科技大学 中山学院 计算机学院, 广东 中山 528400;2.华南师范大学 计算机学院, 广东 广州 510631
摘要:
私人交通网络下的最短路径查询主要考虑路径长度、行驶时间等因素,而公共交通网络下的路径查询需要考虑路径上相邻的边的时间顺序约束以及路径的费用.研究了公共交通网络下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个数量级,并分析了影响建立索引时间和空间大小的因素.
关键词:  时间信息图  最小时态路径  费用限制  图索引  hub-labelling
DOI:10.13328/j.cnki.jos.005623
分类号:TP393
基金项目:国家自然科学基金(U1811263,61772211);广东省高等学校优秀青年教师项目(YQ2015241,YQ2015242);中山市科技计划(2015B2307)
Indexing Method for Approximate Cost Constrained Minimal Temporal Paths Queries in Public Transportation Networks
MA Hui1, TANG Yong2, LIANG Rui-Shi1
1.School of Computer Science, University of Electronic Science and Technology of China, Zhongshan Institute, Zhongshan 528402, China;2.School of Computer Science, South Normal University, Guangzhou 510631, China
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.
Key words:  time information graph  minimal temporal path  cost constrained  graph index  hub-labelling

引用本文:
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览次   下载  
分享到: 微信 更多
摘要:
关键词:  
DOI:
分类号:
基金项目:
Abstract:
Key words: