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 条
  • [31] A genetic algorithm for scheduling directed acyclic graphs in the presence of communication contention
    Dandass, YS
    HIGH PERFORMANCE COMPUTING SYSTEMS AND APPLICATIONS, 2003, : 223 - 230
  • [32] Multiprocessor scheduling algorithm utilizing linear clustering of directed acyclic graphs
    Park, CS
    Choi, SB
    1997 INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED SYSTEMS, PROCEEDINGS, 1997, : 392 - 399
  • [33] MULTILEVEL ALGORITHMS FOR ACYCLIC PARTITIONING OF DIRECTED ACYCLIC GRAPHS
    Herrmann, Julien
    Ozkaya, M. Yusuf
    Ucar, Bora
    Kaya, Kamer
    Catalyurek, Umit, V
    SIAM JOURNAL ON SCIENTIFIC COMPUTING, 2019, 41 (04): : A2117 - A2145
  • [34] PERFORMANCE AND RELIABILITY-ANALYSIS USING DIRECTED ACYCLIC GRAPHS
    SAHNER, RA
    TRIVEDI, KS
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1987, 13 (10) : 1105 - 1114
  • [35] A Modified Inertial Method for Loop-free Decomposition of Acyclic Directed Graphs
    Drexler, Daniel A.
    Arato, Peter
    MACRO 2015: PROCEEDINGS OF THE 5TH INTERNATIONAL CONFERENCE ON RECENT ACHIEVEMENTS IN MECHATRONICS, AUTOMATION, COMPUTER SCIENCES AND ROBOTICS, 2015, : 61 - 72
  • [36] LCA queries in directed acyclic graphs
    Kowaluk, M
    Lingas, A
    AUTOMATA, LANGUAGES AND PROGRAMMING, PROCEEDINGS, 2005, 3580 : 241 - 248
  • [37] Algebras associated to acyclic directed graphs
    Retakh, Vladimir
    Wilson, Robert Lee
    ADVANCES IN APPLIED MATHEMATICS, 2009, 42 (01) : 42 - 59
  • [38] Community detection in directed acyclic graphs
    Speidel, Leo
    Takaguchi, Taro
    Masuda, Naoki
    EUROPEAN PHYSICAL JOURNAL B, 2015, 88 (08):
  • [39] On counting homomorphisms to directed acyclic graphs
    Dyer, Martin
    Goldberg, Leslie Ann
    Paterson, Mike
    JOURNAL OF THE ACM, 2007, 54 (06)
  • [40] Recursive processing of directed acyclic graphs
    Bianchini, M
    Gori, M
    Scarselli, F
    NEURAL NETS WIRN VIETRI-01, 2002, : 96 - 101