Semi-dynamic breadth-first search in digraphs

被引:6
|
作者
Franciosa, PG
Frigioni, D
Giaccio, R
机构
[1] Univ Roma La Sapienza, Dipartimento Informat & Sistemist, I-00198 Rome, Italy
[2] Univ Aquila, Dipartimento Ingn Elettr, I-67040 Laquila, Italy
关键词
breadth-first search tree; incremental algorithms; decremental algorithms; shortest paths; amortized analysis;
D O I
10.1016/S0304-3975(99)00132-2
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In this paper we propose dynamic algorithms for maintaining a breadth-first search tree from a given source vertex of a directed graph G in either an incremental or a decremental setting. During a sequence of q edge insertions or a sequence of q edge deletions the total time required is O(m(.)min{q, n}), where n is the number of vertices of G, and m is the final number of edges of G in the case of insertions or the initial number of edges of G in the case of deletions. This gives O(n) amortized time for each operation if the sequence has length Omega (m). Our algorithms require O(n + m) space. These are the first results in the literature concerning the dynamic maintenance of a breadth-first search tree for directed graphs, As a straightforward application of such algorithms we can maintain a shortest path tree for a directed graph in the case of unit edge weights within the same time bounds. In this case distance queries can be answered in constant time, while shortest path queries can be answered in time linear in the length of the retrieved path, (C) 2001 Elsevier Science B.V. All rights reserved.
引用
收藏
页码:201 / 217
页数:17
相关论文
共 50 条
  • [31] Implementing Breadth-First Search on a compact supercomputer Suiren
    Mitsuishi, Takuji
    Kaneda, Takahiro
    Torii, Sunao
    Amano, Hideharu
    2016 FOURTH INTERNATIONAL SYMPOSIUM ON COMPUTING AND NETWORKING (CANDAR), 2016, : 395 - 401
  • [32] CyGraph: A Reconfigurable Architecture for Parallel Breadth-First Search
    Attia, Osama G.
    Johnson, Tyler
    Townsend, Kevin
    Jones, Philip
    Zambreno, Joseph
    PROCEEDINGS OF 2014 IEEE INTERNATIONAL PARALLEL & DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS (IPDPSW), 2014, : 228 - 235
  • [33] Breadth-First Search with A Multi-Core Computer
    Belova, Maryia
    Ouyang, Ming
    2017 IEEE INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS (IPDPSW), 2017, : 579 - 587
  • [34] Load-Balanced Breadth-First Search on GPUs
    Zhu, Zhe
    Li, Jianjun
    Li, Guohui
    WEB-AGE INFORMATION MANAGEMENT, WAIM 2014, 2014, 8485 : 435 - 447
  • [35] SlimSell: A Vectorizable Graph Representation for Breadth-First Search
    Besta, Maciej
    Marending, Florian
    Solomonik, Edgar
    Hoefler, Torsten
    2017 31ST IEEE INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM (IPDPS), 2017, : 32 - 41
  • [36] An adaptive breadth-first search algorithm on integrated architectures
    Feng Zhang
    Heng Lin
    Jidong Zhai
    Jie Cheng
    Dingyi Xiang
    Jizhong Li
    Yunpeng Chai
    Xiaoyong Du
    The Journal of Supercomputing, 2018, 74 : 6135 - 6155
  • [37] Temporal resolution using a breadth-first search algorithm
    Dixon, C
    ANNALS OF MATHEMATICS AND ARTIFICIAL INTELLIGENCE, 1998, 22 (1-2) : 87 - 115
  • [38] Distributed breadth-first search LTL model checking
    Jiří Barnat
    Ivana Černá
    Formal Methods in System Design, 2006, 29 : 117 - 134
  • [39] Breadth-first search and the Andrews-Curtis conjecture
    Havas, G
    Ramsay, C
    INTERNATIONAL JOURNAL OF ALGEBRA AND COMPUTATION, 2003, 13 (01) : 61 - 68
  • [40] Fast Breadth-First Search in Still Less Space
    Hagerup, Torben
    GRAPH-THEORETIC CONCEPTS IN COMPUTER SCIENCE (WG 2019), 2019, 11789 : 93 - 105