How Hard Is Counting Triangles in the Streaming Model?

被引:0
作者
Braverman, Vladimir [1 ]
Ostrovsky, Rafail [2 ]
Vilenchik, Dan [3 ]
机构
[1] Johns Hopkins Univ, Dept Comp Sci, Baltimore, MD 21218 USA
[2] Univ Calif Los Angeles, Dept Comp Sci, Los Angeles, CA USA
[3] Weizmann Inst Sci, Fac Math & Comp Sci, Rehovot, Israel
来源
AUTOMATA, LANGUAGES, AND PROGRAMMING, PT I | 2013年 / 7965卷
关键词
ALGORITHMS;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The problem of (approximately) counting the number of triangles in a graph is one of the basic problems in graph theory. In this paper we study the problem in the streaming model. Specifically, the amount of memory required by a randomized algorithm to solve this problem. In case the algorithm is allowed one pass over the stream, we present a best possible lower bound of Omega(m) for graphs G with m edges. If a constant number of passes is allowed, we show a lower bound of Omega(m/T), T the number of triangles. We match, in some sense, this lower bound with a 2-pass O(m/T-1/3)-memory algorithm that solves the problem of distinguishing graphs with no triangles from graphs with at least T triangles. We present a new graph parameter rho(G) - the triangle density, and conjecture that the space complexity of the triangles problem is Theta(m/rho(G)). We match this by a second algorithm that solves the distinguishing problem using O(m/rho(G))-memory.
引用
收藏
页码:244 / 254
页数:11
相关论文
共 17 条
[1]  
Alon N., 1996, Proceedings of the Twenty-Eighth Annual ACM Symposium on the Theory of Computing, P20, DOI 10.1145/237814.237823
[2]   Finding and counting given length cycles [J].
Alon, N ;
Yuster, R ;
Zwick, U .
ALGORITHMICA, 1997, 17 (03) :209-223
[3]  
[Anonymous], 2006, Proceedings of the twenty-fifth ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems
[4]  
[Anonymous], 2008, Proceeding of the 14th ACM SIGKDD international conference on Knowledge discovery and data mining, ACM
[5]  
[Anonymous], 2009, KDD09 15 ACM SIGKDD
[6]  
Bar-Yossef Z, 2002, SIAM PROC S, P623
[7]  
Becchetti L., 2008, PROC ACM SIGKDD INT, P16
[8]   Information Cost Tradeoffs for Augmented Index and Streaming Language Recognition [J].
Chakrabarti, Amit ;
Cormode, Graham ;
Kondapally, Ranganath ;
McGregor, Andrew .
2010 IEEE 51ST ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, 2010, :387-396
[9]   Curvature of co-links uncovers hidden thematic layers in the World Wide Web [J].
Eckmann, JP ;
Moses, E .
PROCEEDINGS OF THE NATIONAL ACADEMY OF SCIENCES OF THE UNITED STATES OF AMERICA, 2002, 99 (09) :5825-5829
[10]   MARKOV GRAPHS [J].
FRANK, O ;
STRAUSS, D .
JOURNAL OF THE AMERICAN STATISTICAL ASSOCIATION, 1986, 81 (395) :832-842