Traversing directed cyclic and acyclic graphs using modified BFS algorithm

被引:0
|
作者
Baidari, Ishwar [1 ]
Hanagawadimath, Ajith [1 ]
机构
[1] Karnatak Univ, Dept Comp Sci, Dharwad, Karnataka, India
关键词
BFS; source vertex; cyclic; tree; spanning forest;
D O I
暂无
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Given a graph G={V, E} and a distinguished source vertex 's', the traditional BFS algorithm systematically explores the edges of G to discover every vertex that is reachable from the source vertex 's' and it produces a "Breadth - First - Tree" with root 's'. The Breadth-First-Tree formed after running the traditional algorithm may not visit all the vertices in some graphs for instance Directed cyclic and acyclic graphs. As a consequence the traversing may be incomplete. With modified BFS algorithm we can traverse the graphs, which we may not traverse with existing BFS completely but the output may contain multiple trees forming a spanning forest.
引用
收藏
页码:175 / 181
页数:7
相关论文
共 50 条
  • [41] Ternary directed acyclic word graphs
    Miyamoto, S
    Inenaga, S
    Takeda, M
    Shinohara, A
    IMPLEMENTATION AND APPLICATION OF AUTOMATA, PROCEEDINGS, 2003, 2759 : 120 - 130
  • [42] HEURISTIC CHAINING IN DIRECTED ACYCLIC GRAPHS
    VENUGOPAL, R
    SRIKANT, YN
    COMPUTER LANGUAGES, 1993, 19 (03): : 169 - 184
  • [43] On compact directed acyclic word graphs
    Crochemore, M
    Verin, R
    STRUCTURES IN LOGIC AND COMPUTER SCIENCE: A SELECTION OF ESSAYS IN HONOR OF A. EHRENFEUCHT, 1997, 1261 : 192 - 211
  • [44] Broadcasting on Random Directed Acyclic Graphs
    Makur, Anuran
    Mossel, Elchanan
    Polyanskiy, Yury
    IEEE TRANSACTIONS ON INFORMATION THEORY, 2020, 66 (02) : 780 - 812
  • [45] Information Flow on Directed Acyclic Graphs
    Donders, Michael
    More, Sara Miner
    Naumov, Pavel
    LOGIC, LANGUAGE, INFORMATION AND COMPUTATION, WOLLIC 2011, 2011, 6642 : 95 - 109
  • [46] Community detection in directed acyclic graphs
    Leo Speidel
    Taro Takaguchi
    Naoki Masuda
    The European Physical Journal B, 2015, 88
  • [47] Covering Pairs in Directed Acyclic Graphs
    Beerenwinkel, Niko
    Beretta, Stefano
    Bonizzoni, Paola
    Dondi, Riccardo
    Pirola, Yuri
    COMPUTER JOURNAL, 2015, 58 (07): : 1673 - 1686
  • [48] On counting homomorphisms to directed acyclic graphs
    Dyer, Martin
    Goldberg, Leslie Ann
    Paterson, Mike
    AUTOMATA, LANGUAGES AND PROGRAMMING, PT 1, 2006, 4051 : 38 - 49
  • [49] Transformers over Directed Acyclic Graphs
    Luo, Yuankai
    Thost, Veronika
    Shi, Lei
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 36 (NEURIPS 2023), 2023,
  • [50] Directed Acyclic Graphs in Surgical Research
    Gongola, AlleaBelle
    Bradshaw, Jace C.
    JOURNAL OF SURGICAL RESEARCH, 2023, 282 : 285 - 288