• 中国精品科技期刊
  • CCF推荐A类中文期刊
  • 计算领域高质量科技期刊T1类
高级检索

时态图最短路径查询方法

张天明, 徐一恒, 蔡鑫伟, 范菁

张天明, 徐一恒, 蔡鑫伟, 范菁. 时态图最短路径查询方法[J]. 计算机研究与发展, 2022, 59(2): 362-375. DOI: 10.7544/issn1000-1239.20210893
引用本文: 张天明, 徐一恒, 蔡鑫伟, 范菁. 时态图最短路径查询方法[J]. 计算机研究与发展, 2022, 59(2): 362-375. DOI: 10.7544/issn1000-1239.20210893
Zhang Tianming, Xu Yiheng, Cai Xinwei, Fan Jing. A Shortest Path Query Method over Temporal Graphs[J]. Journal of Computer Research and Development, 2022, 59(2): 362-375. DOI: 10.7544/issn1000-1239.20210893
Citation: Zhang Tianming, Xu Yiheng, Cai Xinwei, Fan Jing. A Shortest Path Query Method over Temporal Graphs[J]. Journal of Computer Research and Development, 2022, 59(2): 362-375. DOI: 10.7544/issn1000-1239.20210893
张天明, 徐一恒, 蔡鑫伟, 范菁. 时态图最短路径查询方法[J]. 计算机研究与发展, 2022, 59(2): 362-375. CSTR: 32373.14.issn1000-1239.20210893
引用本文: 张天明, 徐一恒, 蔡鑫伟, 范菁. 时态图最短路径查询方法[J]. 计算机研究与发展, 2022, 59(2): 362-375. CSTR: 32373.14.issn1000-1239.20210893
Zhang Tianming, Xu Yiheng, Cai Xinwei, Fan Jing. A Shortest Path Query Method over Temporal Graphs[J]. Journal of Computer Research and Development, 2022, 59(2): 362-375. CSTR: 32373.14.issn1000-1239.20210893
Citation: Zhang Tianming, Xu Yiheng, Cai Xinwei, Fan Jing. A Shortest Path Query Method over Temporal Graphs[J]. Journal of Computer Research and Development, 2022, 59(2): 362-375. CSTR: 32373.14.issn1000-1239.20210893

时态图最短路径查询方法

基金项目: 国家重点研发计划项目(2018YFB1402802)
详细信息
  • 中图分类号: TP311.131

A Shortest Path Query Method over Temporal Graphs

Funds: This work was supported by the National Key Research and Development Program of China (2018YFB1402802).
  • 摘要: 最短路径查询问题已被研究多年,然而,目前已有大部分工作主要集中在普通图上,针对时态图最短路径查询的研究工作相对较少.时态图中,2个顶点之间有多条边,每条边附带有时态区间,记录着边上代表事件的发生时间和结束时间.时态图最短路径查询在城市交通路径规划、社交网络分析、通信网络挖掘等领域有着广泛的应用.由于最短时态路径的子路径不能保证是最优子结构,传统的普通图最短路径计算方法不再适用于时态图.因此提出了基于压缩转化图树(CTG-tree)索引的查询方法,该方法包含预处理和在线查询2个阶段.预处理阶段将时态图转化为普通图,提出了一种无损压缩方法将转化图压缩以减小图规模,采用层次划分技术将压缩有向图分解为若干个子图,并基于子图建立CTG-tree索引.CTG-tree中的节点保存相应子图内部分顶点之间的最短路径、孩子节点对应子图的边界点之间的最短路径、孩子节点对应子图的边界点与当前节点相应子图的边界点之间的最短路径信息.在线查询阶段基于构建的CTG-tree索引,提出了一种高效的最短路径查询方法.基于4个真实的时态图数据集实验结果表明,与现有方法相比,提出的方法具有更优的查询性能.
    Abstract: Shortest path query has been extensively studied for decades of years. However, most of existing works focus on shortest path query over general graphs, a paucity of studies aim at temporal graphs, where there are multi-edges between two nodes and each edge is associated with a temporal interval, recording the start time and the end time of an event. Shortest path query over temporal graphs has a plethora of applications in urban traffic route planning, social network analysis, and communication network mining, to name but a few. Traditional shortest path algorithms on general graphs are not suitable for temporal graphs because subpaths of a shortest temporal path are not guaranteed to be the optimal substructures. Hence, in this paper, we propose a Compressed Transformed Graph tree (CTG-tree) based query method, which consists of a preprocessing stage and an online query stage. In the preprocessing stage, we transform the temporal graph into a general graph, propose a lossless compression method to reduce the scale of the transformed graph, use hierarchical partitioning technique to divide the compressed directed graph into subgraphs, and then build a CTG-tree index based on the partitioned subgraphs. The nodes of CTG-tree maintain shortest paths between some vertices in the corresponding subgraphs,save shortest paths between boundaries in the subgraphs of children nodes, and record shortest paths between boundaries of the subgraphs corresponding to the children nodes and those corresponding to the current node. In the online query stage, based on the constructed CTG-tree index, we develop an efficient shortest temporal path query method. Using four real-life temporal graphs, we experimentally demonstrate that our proposed method has the best query performance compared with the state-of-the-art methods.
  • 期刊类型引用(8)

    1. 王晶晶,王延昊,姜文君,曾一夫,祝团飞. 时序图流上的快速子图近似计数算法. 计算机研究与发展. 2025(03): 709-719 . 本站查看
    2. 李源,林秋兰,陈安之,杨国利,宋威,王国仁. 基于树分解的时序最短路径计数查询算法. 计算机应用. 2024(08): 2446-2454 . 百度学术
    3. 李艳红,毛德权,欧昱宏,曹阳. 考虑偏好的空间文本对象多目标最短路径查询. 中南民族大学学报(自然科学版). 2024(05): 642-649 . 百度学术
    4. 轩瑞,陈磊,石海鹤. 图类算法可重用设计及其实现. 江西师范大学学报(自然科学版). 2023(01): 52-60 . 百度学术
    5. 张艳秋,黎邓根,王民安,陶翠. 列车自动监控系统调度路径查找方法及其应用. 控制与信息技术. 2023(01): 119-124 . 百度学术
    6. 杜明,郝燕,周军锋,谭玉婷. 一种高效的周期团挖掘方法. 计算机工程. 2023(04): 68-76 . 百度学术
    7. 邓超,陈志,张欣,陆史堃,刘迪,张云彬,叶朝文,李派禹,许良本,肖骏,郑传增. 卷烟零售终端走访路径规划算法集成与应用. 中国烟草学报. 2023(03): 94-103 . 百度学术
    8. 金浩宇,霍宏,方涛. 时序优先级约束的时序模式图强模拟匹配. 计算机技术与发展. 2023(06): 88-94 . 百度学术

    其他类型引用(8)

计量
  • 文章访问数:  477
  • HTML全文浏览量:  6
  • PDF下载量:  212
  • 被引次数: 16
出版历程
  • 发布日期:  2022-01-31

目录

    /

    返回文章
    返回