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 条
  • [21] Causal Directed Acyclic Graphs
    Lipsky, Ari M.
    Greenland, Sander
    JAMA-JOURNAL OF THE AMERICAN MEDICAL ASSOCIATION, 2022, 327 (11): : 1083 - 1084
  • [22] Directed Acyclic Graphs With Tears
    Chen Z.
    Ge Z.
    IEEE Transactions on Artificial Intelligence, 2023, 4 (04): : 972 - 983
  • [23] Treemaps for directed acyclic graphs
    Tsiaras, Vassilis
    Triantafilou, Sofia
    Tollis, Loannis G.
    GRAPH DRAWING, 2008, 4875 : 377 - 388
  • [24] Copula directed acyclic graphs
    Eugen Pircalabelu
    Gerda Claeskens
    Irène Gijbels
    Statistics and Computing, 2017, 27 : 55 - 78
  • [25] Collapsibility for Directed Acyclic Graphs
    Xie, Xianchao
    Geng, Zhi
    SCANDINAVIAN JOURNAL OF STATISTICS, 2009, 36 (02) : 185 - 203
  • [26] Contextual Directed Acyclic Graphs
    Thompson, Ryan
    Bonilla, Edwin V.
    Kohn, Robert
    arXiv, 2023,
  • [27] Tutorial on directed acyclic graphs
    Digitale, Jean C.
    Martin, Jeffrey N.
    Glymour, Medellena Maria
    JOURNAL OF CLINICAL EPIDEMIOLOGY, 2022, 142 : 264 - 267
  • [28] Copula directed acyclic graphs
    Pircalabelu, Eugen
    Claeskens, Gerda
    Gijbels, Irene
    STATISTICS AND COMPUTING, 2017, 27 (01) : 55 - 78
  • [29] A Generic Algorithm for Traversing a Directed Acyclic Graph: An Application to the Home Health Care Scheduling Problem
    Chaieb, Marouene
    Jemai, Jaber
    Ben Sassi, Dhekra
    Mellouli, Khaled
    IETE JOURNAL OF RESEARCH, 2024, 70 (01) : 257 - 268
  • [30] A sequential algorithm for false discovery rate control on directed acyclic graphs
    Ramdas, Aaditya
    Chen, Jianbo
    Wainwright, Martin J.
    Jordan, Michael I.
    BIOMETRIKA, 2019, 106 (01) : 69 - 86