On Mining Dynamic Graphs for k Shortest Paths

被引:0
作者
D'Ascenzo, Andrea [1 ]
D'Emidio, Mattia [2 ]
机构
[1] Luiss Univ, Rome, Italy
[2] Univ Aquila, Laquila, Italy
来源
SOCIAL NETWORKS ANALYSIS AND MINING, ASONAM 2024, PT I | 2025年 / 15211卷
关键词
Graph Algorithms; Dynamic Networks; Algorithm Engineering; Experimental Algorithmics; DISTANCE QUERIES; NETWORKS;
D O I
10.1007/978-3-031-78541-2_20
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Mining graphs, upon query, for k shortest paths between vertex pairs is a prominent primitive to support several analytics tasks on complex networked datasets. The state-of-the-art method to implement this primitive is KPLL, a framework that provides very fast query answering, even for large inputs and volumes of queries, by pre-computing and exploiting an appropriate index of the graph. However, if the graph's topology undergoes changes over time, such index might become obsolete and thus yield incorrect query results. Re-building the index from scratch, upon every modification, induces unsustainable time overheads, incompatible with applications using k shortest paths for analytics purposes. Motivated by this limitation, in this paper, we introduce DECKPLL, the first dynamic algorithm to maintain a KPLL index under decremental modifications. We assess the effectiveness and scalability of our algorithm through extensive experimentation and show it updates KPLL indices orders of magnitude faster than the re-computation from scratch, while preserving its compactness and query performance. We also combine DECKPLL with INCKPLL, the only known dynamic algorithm to maintain a KPLL index under incremental modifications, and hence showcase, on real-world datasets, the first method to support fast extraction of k shortest paths from graphs that evolve by arbitrary topological changes.
引用
收藏
页码:320 / 336
页数:17
相关论文
共 50 条
  • [1] Replacement Paths and k Simple Shortest Paths in Unweighted Directed Graphs
    Roditty, Liam
    Zwick, Uri
    ACM TRANSACTIONS ON ALGORITHMS, 2012, 8 (04)
  • [2] The Number of Shortest Paths in the (n, k)-Star Graphs
    Cheng, Eddie
    Qiu, Ke
    Shen, Zhi Zhang
    COMBINATORIAL OPTIMIZATION AND APPLICATIONS, PT 1, 2010, 6508 : 222 - +
  • [4] Reconfiguring Shortest Paths in Graphs
    Gajjar, Kshitij
    Jha, Agastya Vibhuti
    Kumar, Manish
    Lahiri, Abhiruk
    THIRTY-SIXTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE / THIRTY-FOURTH CONFERENCE ON INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE / TWELVETH SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2022, : 9758 - 9766
  • [5] Reconfiguring Shortest Paths in Graphs
    Gajjar, Kshitij
    Jha, Agastya Vibhuti
    Kumar, Manish
    Lahiri, Abhiruk
    ALGORITHMICA, 2024, 86 (10) : 3309 - 3338
  • [6] Texture analysis and classification using shortest paths in graphs
    de Mesquita Sa, Jarbas Joaci Junior
    Backes, Andre Ricardo
    Cortez, Paulo Cesar
    PATTERN RECOGNITION LETTERS, 2013, 34 (11) : 1314 - 1319
  • [7] A Quadratic Algorithm for Finding Next-to-Shortest Paths in Graphs
    Kuo-Hua Kao
    Jou-Ming Chang
    Yue-Li Wang
    Justie Su-Tzu Juan
    Algorithmica, 2011, 61 : 402 - 418
  • [8] MAINTAINING SHORTEST PATHS UNDER DELETIONS IN WEIGHTED DIRECTED GRAPHS
    Bernstein, Aaron
    SIAM JOURNAL ON COMPUTING, 2016, 45 (02) : 548 - 574
  • [9] A Quadratic Algorithm for Finding Next-to-Shortest Paths in Graphs
    Kao, Kuo-Hua
    Chang, Jou-Ming
    Wang, Yue-Li
    Juan, Justie Su-Tzu
    ALGORITHMICA, 2011, 61 (02) : 402 - 418
  • [10] Shortest Path Tree Computation in Dynamic Graphs
    Chan, Edward P. F.
    Yang, Yaya
    IEEE TRANSACTIONS ON COMPUTERS, 2009, 58 (04) : 541 - 557