arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1510.04590cs.DS
收藏

一种改进的动态图连通性随机数据结构

An Improved Randomized Data Structure for Dynamic Graph Connectivity

Zhengyu Wang

摘要:

我们提出了一个随机算法的动态图的连通性。当失败概率小于$1/n^c$(对于我们选择的任何常数$c$)时,我们的解决方案在最坏情况下的运行时间为每个边插入的$O(\log^3 n)$,每个边删除的$O(\log^4 n)$和每个查询的$O(\log n/\log\log n)$,其中$n$是顶点数。之前的最佳算法在最坏情况下的运行时间为每次边插入的$O(\log^4 n)$和每次边删除的$O(\log^5 n)$。改进是通过减少前面结果中使用的随机性来实现的,这样我们在更新时间中节省了一个$\log n$因子。具体地,\cite{kapron2013dynamic}使用数据结构的$\log n$副本,以便将成功概率从$1/2$提高到$1-n^{-c}$。我们表明,事实上,由于他们的算法的特殊结构,这种通过重复的提升是不必要的。相反,我们仍然可以通过一个新的不变量来获得相同的正确性保证,而不需要重复。

英文摘要:

We present a randomized algorithm for dynamic graph connectivity. With failure probability less than $1/n^c$ (for any constant $c$ we choose), our solution has worst case running time $O(\log^3 n)$ per edge insertion, $O(\log^4 n)$ per edge deletion, and $O(\log n/\log\log n)$ per query, where $n$ is the number of vertices. The previous best algorithm has worst case running time $O(\log^4 n)$ per edge insertion and $O(\log^5 n)$ per edge deletion. The improvement is made by reducing the randomness used in the previous result, so that we save a $\log n$ factor in update time. Specifically, \cite{kapron2013dynamic} uses $\log n$ copies of a data structure in order to boost a success probability from $1/2$ to $1-n^{-c}$. We show that, in fact though, because of the special structure of their algorithm, this boosting via repetition is unnecessary. Rather, we can still obtain the same correctness guarantee with high probability by arguing via a new invariant, without repetition.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑