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

大量图的子图计数

Subgraph Enumeration in Massive Graphs

Francesco Silvestri

摘要:

我们考虑在一个大数据图中枚举给定模式图的所有实例的问题。我们的重点是确定这个问题的输入/输出(I/O)的复杂性。令$E$为数据图中的边的数目,$k=O(1)$为模式图中的顶点的数目,$B$为块长度,以及$M$为主存储器大小。本文的主要成果是两个算法,枚举所有的模式图的实例。第一种是确定性算法,它利用大小为$1\leq s \leq k/2$的模式图的适当独立集,并需要$O\left(E^{k-s}/\left(BM^{k-s-1}\right)\right)$ I/O。第二种算法是随机算法,它枚举$O\left(E^{k/2}/\left(BM^{k/2-1}\right)\right)$预期I/O中的所有实例;在某些假设下,相同的界限也以高概率适用。下界表明,确定性算法对于具有$s=k/2$的某些模式图是最佳的(例如,偶数长度的路径和环,偶数边的网格),而随机算法对于被称为Alon类(例如,团、圈和具有完美匹配的每个图)。

英文摘要:

We consider the problem of enumerating all instances of a given pattern graph in a large data graph. Our focus is on determining the input/output (I/O) complexity of this problem. Let $E$ be the number of edges in the data graph, $k=O(1)$ be the number of vertices in the pattern graph, $B$ be the block length, and $M$ be the main memory size. The main results of the paper are two algorithms that enumerate all instances of the pattern graph. The first one is a deterministic algorithm that exploits a suitable independent set of the pattern graph of size $1\leq s \leq k/2$ and requires $O\left(E^{k-s}/\left(BM^{k-s-1}\right)\right)$ I/Os. The second algorithm is a randomized algorithm that enumerates all instances in $O\left(E^{k/2}/\left(BM^{k/2-1}\right)\right)$ expected I/Os; the same bound also applies with high probability under some assumptions. A lower bound shows that the deterministic algorithm is optimal for some pattern graphs with $s=k/2$ (e.g., paths and cycles of even length, meshes of even side), while the randomized algorithm is optimal for a wide class of pattern graphs, called Alon class (e.g., cliques, cycles and every graph with a perfect matching).

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

↑