...
首页> 外文期刊>Theoretical computer science >Semi-dynamic breadth-first search in digraphs
【24h】

Semi-dynamic breadth-first search in digraphs

机译:有向图的半动态广度优先搜索

获取原文
获取原文并翻译 | 示例
           

摘要

In this paper we propose dynamic algorithms for maintaining a breadth-first search tree from a given source vertex of a directed graph G in either an incremental or a decremental setting. During a sequence of q edge insertions or a sequence of q edge deletions the total time required is O(m(.)min{q, n}), where n is the number of vertices of G, and m is the final number of edges of G in the case of insertions or the initial number of edges of G in the case of deletions. This gives O(n) amortized time for each operation if the sequence has length Omega (m). Our algorithms require O(n + m) space. These are the first results in the literature concerning the dynamic maintenance of a breadth-first search tree for directed graphs, As a straightforward application of such algorithms we can maintain a shortest path tree for a directed graph in the case of unit edge weights within the same time bounds. In this case distance queries can be answered in constant time, while shortest path queries can be answered in time linear in the length of the retrieved path, (C) 2001 Elsevier Science B.V. All rights reserved. [References: 30]
机译:在本文中,我们提出了一种动态算法,用于以递增或递减设置从有向图G的给定源顶点维护广度优先搜索树。在q个边缘插入序列或q个边缘删除序列中,所需的总时间为O(m(。)min {q,n}),其中n是G的顶点数量,m是G的最终数量。如果是插入,则为G边;如果是删除,则为G边的初始数目。如果序列的长度为Omega(m),则为每个操作提供O(n)摊销时间。我们的算法需要O(n + m)空间。这些是文献中有关动态维护有向图的广度优先搜索树的第一个结果。作为此类算法的直接应用,我们可以在有单位边权重的情况下维护有向图的最短路径树。同一时间范围。在这种情况下,距离查询可以在恒定时间内回答,而最短路径查询可以在与所检索路径长度成线性关系的时间里回答,(C)2001 Elsevier Science B.V. [参考:30]

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号