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 条
  • [41] Temporal resolution using a breadth-first search algorithm
    Dixon, C
    ANNALS OF MATHEMATICS AND ARTIFICIAL INTELLIGENCE, 1998, 22 (1-2) : 87 - 115
  • [42] THE ANTI-COLLISION ALGORITHM OF RFID BASE ON BREADTH-FIRST DYNAMIC BINARY SEARCH
    Cui, Yifeng
    Xu, Zuoping
    INTERNATIONAL SYMPOSIUM ON COMPUTER SCIENCE & TECHNOLOGY, PROCEEDINGS, 2009, : 530 - 532
  • [43] A New Chaotic Image Encryption Scheme Using Breadth-First Search and Dynamic Diffusion
    Yin, Qi
    Wang, Chunhua
    INTERNATIONAL JOURNAL OF BIFURCATION AND CHAOS, 2018, 28 (04):
  • [44] Parallel breadth-first search LTL model-checking
    Barnat, J
    Brim, L
    Chaloupka, J
    18TH IEEE INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, 2003, : 106 - 115
  • [45] Orthopedic disease classification based on breadth-first search algorithm
    Elshewey, Ahmed M.
    Osman, Ahmed M.
    SCIENTIFIC REPORTS, 2024, 14 (01):
  • [46] Crossing Rivers Problem Solution with Breadth-First Search Approach
    Ratnadewi, R.
    Sartika, E. M.
    Rahim, R.
    Anwar, B.
    Syahril, M.
    Winata, H.
    2ND ANNUAL APPLIED SCIENCE AND ENGINEERING CONFERENCE (AASEC 2017), 2018, 288
  • [47] Virtual network embedding algorithm based on breadth-first search
    Peng, Limin
    Sichuan Daxue Xuebao (Gongcheng Kexue Ban)/Journal of Sichuan University (Engineering Science Edition), 2015, 47 (02): : 117 - 122
  • [48] XBFS: eXploring Runtime Optimizations for Breadth-First Search on GPUs
    Gaihre, Anil
    Wu, Zhenlin
    Yao, Fan
    Liu, Hang
    HPDC'19: PROCEEDINGS OF THE 28TH INTERNATIONAL SYMPOSIUM ON HIGH-PERFORMANCE PARALLEL AND DISTRIBUTED COMPUTING, 2019, : 121 - 131
  • [49] A Breadth-first Search Tree Construction for Multiplicative Circulant Graphs
    Antalan, John Rafael M.
    Campena, Francis Joseph H.
    EUROPEAN JOURNAL OF PURE AND APPLIED MATHEMATICS, 2021, 14 (01): : 248 - 264
  • [50] Grid breadth-first search algorithm based on asynchronous automation
    Bu, Guan-Ying
    Xu, Zhi-Wei
    2002, Science Press (39):