首页> 外文会议>Science and Information Conference >Traversing directed cyclic and acyclic graphs using modified BFS algorithm
【24h】

Traversing directed cyclic and acyclic graphs using modified BFS algorithm

机译:使用改进的BFS算法遍历有向图和有环图

获取原文

摘要

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.
机译:给定一个图G = {V,E}和一个显着的源顶点',传统的BFS算法系统地探索G的边缘以发现从源顶点'可以到达的每个顶点,并产生“宽度-首先是“树”,根为“ s”。运行传统算法后形成的广度优先树可能无法访问某些图形(例如定向循环图和非循环图)中的所有顶点。结果,遍历可能不完整。使用改进的BFS算法,我们可以遍历图,而我们可能无法完全遍历现有的BFS,但是输出中可能包含形成跨越林的多棵树。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号