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 条
  • [21] Maximum Flows by Incremental Breadth-First Search
    Goldberg, Andrew V.
    Hed, Sagi
    Kaplan, Haim
    Tarjan, Robert E.
    Werneck, Renato F.
    ALGORITHMS - ESA 2011, 2011, 6942 : 457 - 468
  • [22] Efficient breadth-first search on the Cell/BE processor
    Scarpazza, Daniele Paolo
    Villa, Oreste
    Petrini, Fabrizio
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2008, 19 (10) : 1381 - 1395
  • [23] Extreme Scale Breadth-First Search on Supercomputers
    Ueno, Koji
    Suzumura, Toyotaro
    Maruyama, Naova
    Fujisawa, Katsuki
    Matsuoka, Satoshi
    2016 IEEE INTERNATIONAL CONFERENCE ON BIG DATA (BIG DATA), 2016, : 1040 - 1047
  • [24] An Effective GPU Implementation of Breadth-First Search
    Luo, Lijuan
    Wong, Martin
    Hwu, Wen-mei
    PROCEEDINGS OF THE 47TH DESIGN AUTOMATION CONFERENCE, 2010, : 52 - 55
  • [25] Accelerating breadth-first graph search on a single server by dynamic edge trimming
    Zhang, Guangyan
    Cheng, Shuhan
    Shu, Jiwu
    Hu, Qingda
    Zheng, Weimin
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2018, 120 : 383 - 394
  • [26] An adaptive breadth-first search algorithm on integrated architectures
    Zhang, Feng
    Lin, Heng
    Zhai, Jidong
    Cheng, Jie
    Xiang, Dingyi
    Li, Jizhong
    Chai, Yunpeng
    Du, Xiaoyong
    JOURNAL OF SUPERCOMPUTING, 2018, 74 (11): : 6135 - 6155
  • [27] Evaluation and Optimization of Breadth-First Search on NUMA Cluster
    Cui, Zehan
    Chen, Licheng
    Chen, Mingyu
    Bao, Yungang
    Huang, Yongbing
    Lv, Huiwei
    2012 IEEE INTERNATIONAL CONFERENCE ON CLUSTER COMPUTING (CLUSTER), 2012, : 438 - 448
  • [28] Distributed breadth-first search LTL model checking
    Barnat, Jiri
    Cerna, Ivana
    FORMAL METHODS IN SYSTEM DESIGN, 2006, 29 (02) : 117 - 134
  • [29] Optimal Algebraic Breadth-First Search for Sparse Graphs
    Burkhardt, Paul
    ACM TRANSACTIONS ON KNOWLEDGE DISCOVERY FROM DATA, 2021, 15 (05)
  • [30] A breadth-first search applied to the minimization of the open stacks
    Moreira de Carvalho, Marco Antonio
    Soma, Nei Yoshihiro
    JOURNAL OF THE OPERATIONAL RESEARCH SOCIETY, 2015, 66 (06) : 936 - 946