Approximately Counting Triangles in Sublinear Time
Authors:
- Talya EdenTETalya Eden
- Amit LeviALAmit Levi
- Dana RonDRDana Ron
- C. SeshadhriCSC. Seshadhri
- 1 January 2017
- journal article
- Published by Society for Industrial & Applied Mathematics (SIAM) in SIAM Journal on Computing
- Vol. 46 (5) , 1603-1646
Abstract
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 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<\epsilon<1$, the algorithm provides an estimate $\widehat{t}$ such that, with high constant probability, $(1-\epsilon)\cdot t< \widehat{t}<(1+\epsilon)\cdot t$, where $t$ is the number of triangles in the graph $G$. The expected query complexity of the algorithm is $(\frac{n}{t^{1/3}} + \min\{m, \frac{m^{3/2}}{t}\})\cdot {poly}(\log n, \frac{1}{\epsilon})$, where $n$ is the number of vertices in the graph and $m$ is the number of edges. The expected running time of the algorithm is $(\frac{n}{t^{1/3}} + \frac{m^{3/2}}{t})...
Keywords
All Related Versions
Funding Information
- Blavatnik Family Foundation
- Israel Science Foundation (671/13)
This publication has 31 references indexed in Scilit:
- Tolerating the community detection resolution limit with edge weightingPhysical Review E, 2011
- Graph Twiddling in a MapReduce WorldComputing in Science & Engineering, 2009
- Estimating the Weight of Metric Minimum Spanning Trees in Sublinear TimeSIAM Journal on Computing, 2009
- Approximating the Minimum Spanning Tree Weight in Sublinear TimeSIAM Journal on Computing, 2005
- Approximating the Weight of the Euclidean Minimum Spanning Tree in Sublinear TimeSIAM Journal on Computing, 2005
- Structural Holes and Good IdeasAmerican Journal of Sociology, 2004
- Curvature of co-links uncovers hidden thematic layers in the World Wide WebProceedings of the National Academy of Sciences of the United States of America, 2002
- Finding and counting given length cyclesAlgorithmica, 1997
- Social Capital in the Creation of Human CapitalAmerican Journal of Sociology, 1988
- Arboricity and Subgraph Listing AlgorithmsSIAM Journal on Computing, 1985