一种新的增量周期检测方法及相关问题
A New Approach to Incremental Cycle Detection and Related Problems
摘要:
我们考虑的问题,检测一个循环的有向图,弧插入增长,以及相关的问题,保持拓扑秩序和强组件这样的图。对于这些问题,我们给出了两个算法,一个适用于稀疏图,另一个适用于稠密图。在n-顶点图中插入m条弧,前者的时间复杂度为O(m^2/2})和O(mn^2/3}),后者的时间复杂度为O(n^2 log(n))。我们的稀疏算法比以前的O(m^{3/2})时间算法简单得多;它在足够密度的图上也更快。我们的稠密算法的时间界限击败了以前的最佳时间界限O(n^{5/2})的稠密图。我们的算法依赖于他们的效率拓扑有序顶点编号的大小上的界限的数字给运行时间上的界限。
英文摘要:
We consider the problem of detecting a cycle in a directed graph that grows by arc insertions, and the related problems of maintaining a topological order and the strong components of such a graph. For these problems, we give two algorithms, one suited to sparse graphs, and the other to dense graphs. The former takes the minimum of O(m^{3/2}) and O(mn^{2/3}) time to insert m arcs into an n-vertex graph; the latter takes O(n^2 log(n)) time. Our sparse algorithm is considerably simpler than a previous O(m^{3/2})-time algorithm; it is also faster on graphs of sufficient density. The time bound of our dense algorithm beats the previously best time bound of O(n^{5/2}) for dense graphs. Our algorithms rely for their efficiency on topologically ordered vertex numberings; bounds on the size of the numbers give bound on running times.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。