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 条
  • [1] A PARALLEL SEARCH ALGORITHM FOR DIRECTED ACYCLIC GRAPHS
    GHOSH, RK
    BHATTACHARJEE, GP
    BIT, 1984, 24 (02): : 134 - 150
  • [2] Genetic algorithm for drawing directed acyclic graphs
    Zhou, Weihua
    Huang, Jingwei
    Duan, Yuchun
    Journal of Information and Computational Science, 2007, 4 (04): : 1119 - 1125
  • [3] TRAVERSING GRAPHS IN A PAGING-ENVIRONMENT, BFS OR DFS
    JIANG, B
    INFORMATION PROCESSING LETTERS, 1991, 37 (03) : 143 - 147
  • [4] A dynamic algorithm for topologically sorting directed acyclic graphs
    Pearce, DJ
    Kelly, PHJ
    EXPERIMENTAL AND EFFICIENT ALGORITHMS, 2004, 3059 : 383 - 398
  • [5] Robustification of the PC-Algorithm for Directed Acyclic Graphs
    Kalisch, Markus
    Buehlmann, Peter
    JOURNAL OF COMPUTATIONAL AND GRAPHICAL STATISTICS, 2008, 17 (04) : 773 - 789
  • [6] PARALLEL SEARCH ALGORITHM FOR DIRECTED ACYCLIC GRAPHS.
    Ghosh, Ratan K.
    Bhattacharjee, G.P.
    BIT (Copenhagen), 1984, 24 (02): : 134 - 150
  • [7] A discovery algorithm for directed cyclic graphs
    Richardson, T
    UNCERTAINTY IN ARTIFICIAL INTELLIGENCE, 1996, : 454 - 461
  • [8] Asymptotic behavior of acyclic and cyclic orientations of directed lattice graphs
    Chang, Shu-Chiuan
    Shrock, Robert
    PHYSICA A-STATISTICAL MECHANICS AND ITS APPLICATIONS, 2020, 540
  • [9] Exploring Directed Acyclic Graphs Using dagR
    Breitling, L. P.
    GESUNDHEITSWESEN, 2011, 73 (12) : 901 - 902
  • [10] Scheduling of directed acyclic graphs by a genetic algorithm with a repairing mechanism
    Amirjanov, Adil
    Sobolev, Konstantin
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2017, 29 (05):