arXiv · 2105.01785
An Optimal Algorithm for Triangle Counting in the Stream
Abstract
We present a new algorithm for approximating the number of triangles in a graph $G$ whose edges arrive as an arbitrary order stream. If $m$ is the number of edges in $G$, $T$ the number of triangles, $Δ_E$ the maximum number of triangles which share a single edge, and $Δ_V$ the maximum number of triangles which share a single vertex, then our algorithm requires space: \[ \widetilde{O}\left(\frac{m}{T}\cdot \left(Δ_E + \sqrt{Δ_V}\right)\right) \] Taken with the $Ω\left(\frac{m Δ_E}{T}\right)$ lower bound of Braverman, Ostrovsky, and Vilenchik (ICALP 2013), and the $Ω\left( \frac{m \sqrt{Δ_V}}{T}\right)$ lower bound of Kallaugher and Price (SODA 2017), our algorithm is optimal up to log factors, resolving the complexity of a classic problem in graph streaming.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Rajesh Jayaram, John Kallaugher. 2021-07-14. An Optimal Algorithm for Triangle Counting in the Stream. https://arxiv.org/abs/2105.01785
Cite the original work for its findings. Save a collection to share your selection of sources.