Efficient semi-external depth-first search

被引:5
|
作者
Wan, Xiaolong [1 ]
Wang, Hongzhi [1 ]
机构
[1] Harbin Inst Technol, Sch Comp Sci & Technol, Harbin, Peoples R China
关键词
Depth-first search; Semi-external memory; Graph algorithm;
D O I
10.1016/j.ins.2022.03.078
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
As graphs grow in size, many real-world graphs are difficult to load into the primary memory of a computer. Thus, computing depth-first search (DFS) results (i.e., depth-first order or DFS-Tree) on the semi-external memory model is important to investigate. Semi external algorithms assume that the primary memory can at least hold a spanning tree T of a graph G and gradually restructure T into a DFS-Tree, which is nontrivial. In this paper, we present a comprehensive study for the semi-external DFS problem. Based on a theoretical analysis of this problem, we introduce a new semi-external DFS algorithm called EPDFS with a lightweight index N thorn -index. Unlike traditional algorithms, we focus on addressing such a complex problem efficiently with fewer I/Os, simpler CPU calculations (implementation-friendly), and less random I/O accesses (key-to-efficiency). Extensive experimental evaluations are performed on both synthetic and real graphs, and experimental results confirm that the proposed EP-DFS algorithm markedly outperforms existing algorithms. (c) 2022 Elsevier Inc. All rights reserved.
引用
收藏
页码:170 / 191
页数:22
相关论文
共 50 条
  • [1] Efficient Semi-External SCC Computation
    Wan, Xiaolong
    Wang, Hongzhi
    [J]. IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2023, 35 (04) : 3794 - 3807
  • [2] Interleaved depth-first search
    Meseguer, P
    [J]. IJCAI-97 - PROCEEDINGS OF THE FIFTEENTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOLS 1 AND 2, 1997, : 1382 - 1387
  • [3] Divide & Conquer: I/O Efficient Depth-First Search
    Zhang, Zhiwei
    Yu, Jeffrey Xu
    Qin, Lu
    Shang, Zechao
    [J]. SIGMOD'15: PROCEEDINGS OF THE 2015 ACM SIGMOD INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2015, : 445 - 458
  • [4] An efficient method for constructing a distributed depth-first search tree
    Makki, SAM
    Havas, G
    [J]. INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED PROCESSING TECHNIQUES AND APPLICATIONS, VOLS I-III, PROCEEDINGS, 1997, : 660 - 666
  • [5] Depth-First Search with P Systems
    Gutierrez-Naranjo, Miguel A.
    Perez-Jimenez, Mario J.
    [J]. MEMBRANE COMPUTING, 2010, 6501 : 257 - 264
  • [6] Linear Algebraic Depth-First Search
    Spampinato, Daniele G.
    Sridhar, Upasana
    Low, Tze Meng
    [J]. ARRAY '2019: PROCEEDINGS OF THE 6TH ACM SIGPLAN INTERNATIONAL WORKSHOP ON LIBRARIES, LANGUAGES AND COMPILERS FOR ARRAY PROGRAMMING, 2019, : 93 - 104
  • [7] Distributed algorithms for depth-first search
    Makki, SAM
    Havas, G
    [J]. INFORMATION PROCESSING LETTERS, 1996, 60 (01) : 7 - 12
  • [8] An external-memory depth-first search algorithm for general grid graphs
    Her, Jun-Ho
    Ramakrishna, R. S.
    [J]. THEORETICAL COMPUTER SCIENCE, 2007, 374 (1-3) : 170 - 180
  • [9] A Work-Efficient Algorithm for Parallel Unordered Depth-First Search
    Acar, Umut A.
    Chargueraud, Arthur
    Rainey, Mike
    [J]. PROCEEDINGS OF SC15: THE INTERNATIONAL CONFERENCE FOR HIGH PERFORMANCE COMPUTING, NETWORKING, STORAGE AND ANALYSIS, 2015,
  • [10] External-memory depth-first search algorithm for solid grid graphs
    Her, JH
    Ramakrishna, RS
    [J]. INFORMATION PROCESSING LETTERS, 2005, 93 (04) : 177 - 183