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

三角形计数的混合抽样方案

A Hybrid Sampling Scheme for Triangle Counting

John Kallaugher, Eric Price

摘要:

我们研究了图流中三角形个数的估计问题。没有流算法可以在所有图上获得次线性空间,因此该领域的方法根据输入图的参数(例如共享单条边的三角形的最大数量)来限制空间。我们给出了一个采样算法,另外参数化的最大数量的三角形共享一个顶点。我们的边界匹配最好的已知的旋转栅门结果在所有的图,并得到更好的性能简单的图,如$G(n, p)$或一组独立的三角形。我们补充的上限与下限表明,没有采样算法可以做得更好,对这些图的对数因子以上。特别地,当所有三角形共享公共顶点时,任何插入流算法必须使用$\sqrt{T}$空间,并且当所有三角形独立时,任何采样算法必须获取$T^\frac{1}{3}$样本。我们添加了另一个下界,也匹配我们的算法的性能,适用于所有的图形类。这个下限涵盖了“三角形相关”的采样算法,一个子类,包括我们的算法和所有以前的采样算法的问题。最后,我们展示了如何推广我们的算法来计算任意子图的恒定大小。

英文摘要:

We study the problem of estimating the number of triangles in a graph stream. No streaming algorithm can get sublinear space on all graphs, so methods in this area bound the space in terms of parameters of the input graph such as the maximum number of triangles sharing a single edge. We give a sampling algorithm that is additionally parameterized by the maximum number of triangles sharing a single vertex. Our bound matches the best known turnstile results in all graphs, and gets better performance on simple graphs like $G(n, p)$ or a set of independent triangles. We complement the upper bound with a lower bound showing that no sampling algorithm can do better on those graphs by more than a log factor. In particular, any insertion stream algorithm must use $\sqrt{T}$ space when all the triangles share a common vertex, and any sampling algorithm must take $T^\frac{1}{3}$ samples when all the triangles are independent. We add another lower bound, also matching our algorithm's performance, which applies to all graph classes. This lower bound covers "triangle-dependent" sampling algorithms, a subclass that includes our algorithm and all previous sampling algorithms for the problem. Finally, we show how to generalize our algorithm to count arbitrary subgraphs of constant size.

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

↑