Title :
Traversing directed cyclic and acyclic graphs using modified BFS algorithm
Author :
Baidari, Ishwar ; Hanagawadimath, Ajith
Author_Institution :
Dept. of Comput. Sci., Karnatak Univ. Dharwad, Dharwad, India
Abstract :
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.
Keywords :
directed graphs; tree searching; trees (mathematics); acyclic graphs; breadth-first-tree; instance directed cyclic graphs; modified BFS algorithm; multiple trees; source vertex; spanning forest; Algorithm design and analysis; Color; Computer science; Educational institutions; Paints; Time complexity; Vegetation; BFS; cyclic; source vertex; spanning forest; tree;
Conference_Titel :
Science and Information Conference (SAI), 2014
Conference_Location :
London
Print_ISBN :
978-0-9893-1933-1
DOI :
10.1109/SAI.2014.6918187