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 条
  • [1] Semi-dynamic shortest paths and breadth-first search in digraphs
    Franciosa, PG
    Frigioni, D
    Giaccio, R
    STACS 97 - 14TH ANNUAL SYMPOSIUM ON THEORETICAL ASPECTS OF COMPUTER SCIENCE, 1997, 1200 : 33 - 46
  • [2] Breadth-first search
    Swaine, M
    DR DOBBS JOURNAL, 2000, 25 (06): : 100 - +
  • [3] Breadth-first heuristic search
    Zhou, R
    Hansen, EA
    ARTIFICIAL INTELLIGENCE, 2006, 170 (4-5) : 385 - 408
  • [4] On dynamic breadth-first search in external-memory
    Meyer, Ulrich
    STACS 2008: PROCEEDINGS OF THE 25TH INTERNATIONAL SYMPOSIUM ON THEORETICAL ASPECTS OF COMPUTER SCIENCE, 2008, : 551 - 560
  • [5] Breadth-First Search on Dynamic Graphs using Dynamic Parallelism on the GPU
    Toedling, Dominik
    Winter, Martin
    Steinberger, Markus
    2019 IEEE HIGH PERFORMANCE EXTREME COMPUTING CONFERENCE (HPEC), 2019,
  • [6] Efficient Breadth-First Reduct Search
    Boonjing, Veera
    Chanvarasuth, Pisit
    MATHEMATICS, 2020, 8 (05)
  • [7] A compressed breadth-first search for satisfiability
    Motter, DRB
    Markov, IL
    ALGORITHM ENGINEERING AND EXPERIMENTS, 2002, 2409 : 29 - 42
  • [8] Faster and More Dynamic Maximum Flow by Incremental Breadth-First Search
    Goldberg, Andrew V.
    Hed, Sagi
    Kaplan, Haim
    Kohli, Pushmeet
    Tarjan, Robert E.
    Werneck, Renato F.
    ALGORITHMS - ESA 2015, 2015, 9294 : 619 - 630
  • [9] Measuring the Search Effectiveness of a Breadth-First Crawl
    Fetterly, Dennis
    Craswell, Nick
    Vinay, Vishwa
    ADVANCES IN INFORMATION RETRIEVAL, PROCEEDINGS, 2009, 5478 : 388 - +
  • [10] Direction-optimizing breadth-first search
    Beamer, Scott
    Asanovic, Krste
    Patterson, David
    SCIENTIFIC PROGRAMMING, 2013, 21 (3-4) : 137 - 148