Abstract
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. We study 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 for graphs with edges on vertices. If a constant number of passes is allowed, we show a lower bound of , the number of triangles. We match, in some sense, this lower bound with a 2-pass -memory algorithm that solves the problem of distinguishing graphs with no triangles from graphs with at least triangles. We present a new graph parameter -- the triangle density, and conjecture that the space complexity of the triangles problem is . We match this by a second algorithm that solves the distinguishing problem using -memory.
Connections
Explore this paper’s authors, topics and related work.
Building this map preview
BZPEER is loading the nearby papers, people, topics and institutions for this page.
Reviews 0
Write a review
No reviews yet.
Discussion 0
Add a comment
No comments yet.