arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1504.00954cs.DS
收藏

次线性时间内三角形的近似计数

Approximately Counting Triangles in Sublinear Time

Talya Eden, Amit Levi, Dana Ron, C. Seshadhri

摘要:

我们考虑的问题估计的三角形的数量在一个图。这个问题已经在理论和实践中得到了广泛的研究,但所有现有的算法都读取整个图。在这项工作中,我们设计了一个{ \em次线性时间\/}算法近似图中的三角形的数量,该算法被赋予查询访问图。允许的查询是度查询、顶点对查询和邻居查询。我们表明,对于任何给定的近似参数$0<ε<1$,该算法提供了一个估计$\widehat{t}$,使具有高的恒定概率,$(1-ε)\cdot t< \widehat{t}<(1+ε)\cdot t$,其中$t$是图$G$中的三角形的数量。该算法的预期查询复杂度为$\!\left(\frac{n}{t^{1/3}} + \min\left\{m, \frac{m^{3/2}}{t}\right\}\right)\cdot {\rm poly}(\log n, 1/ε)$,其中$n$是图中的顶点数,$m$是图中的边数,预期运行时间为$\!\left(\frac{n}{t^{1/3}} + \frac{m^{3/2}}{t}\right)\cdot {\rm poly}(\log n, 1/ε)$。我们还证明了$Ω\!\left(\frac{n}{t^{1/3}} + \min\left\{m, \frac{m^{3/2}}{t}\right\}\right)$查询是必要的,从而建立该算法的查询复杂性是最佳的$n$(和依赖于$1/ε$)的多对数因子。

英文摘要:

We consider the problem of estimating the number of triangles in a graph. This problem has been extensively studied in both theory and practice, but all existing algorithms read the entire graph. In this work we design a {\em sublinear-time\/} algorithm for approximating the number of triangles in a graph, where the algorithm is given query access to the graph. The allowed queries are degree queries, vertex-pair queries and neighbor queries. We show that for any given approximation parameter $0<ε<1$, the algorithm provides an estimate $\widehat{t}$ such that with high constant probability, $(1-ε)\cdot t< \widehat{t}<(1+ε)\cdot t$, where $t$ is the number of triangles in the graph $G$. The expected query complexity of the algorithm is $\!\left(\frac{n}{t^{1/3}} + \min\left\{m, \frac{m^{3/2}}{t}\right\}\right)\cdot {\rm poly}(\log n, 1/ε)$, where $n$ is the number of vertices in the graph and $m$ is the number of edges, and the expected running time is $\!\left(\frac{n}{t^{1/3}} + \frac{m^{3/2}}{t}\right)\cdot {\rm poly}(\log n, 1/ε)$. We also prove that $Ω\!\left(\frac{n}{t^{1/3}} + \min\left\{m, \frac{m^{3/2}}{t}\right\}\right)$ queries are necessary, thus establishing that the query complexity of this algorithm is optimal up to polylogarithmic factors in $n$ (and the dependence on $1/ε$).

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

↑