Papers
Topics
Authors
Recent
Search
2000 character limit reached

The Input/Output Complexity of Triangle Enumeration

Published 3 Dec 2013 in cs.DS | (1312.0723v2)

Abstract: We consider the well-known problem of enumerating all triangles of an undirected graph. Our focus is on determining the input/output (I/O) complexity of this problem. Let EE be the number of edges, $M<E$ the size of internal memory, and BB the block size. The best results obtained previously are sort(E3/2)(E^{3/2}) I/Os (Dementiev, PhD thesis 2006) and O(E2/(MB))O(E^2/(MB)) I/Os (Hu et al., SIGMOD 2013), where sort(n)(n) denotes the number of I/Os for sorting nn items. We improve the I/O complexity to O(E3/2/(MB))O(E^{3/2}/(\sqrt{M} B)) expected I/Os, which improves the previous bounds by a factor min(E/M,M)\min(\sqrt{E/M},\sqrt{M}). Our algorithm is cache-oblivious and also I/O optimal: We show that any algorithm enumerating tt distinct triangles must always use Ω(t/(MB))\Omega(t/(\sqrt{M} B)) I/Os, and there are graphs for which t=Ω(E3/2)t=\Omega(E^{3/2}). Finally, we give a deterministic cache-aware algorithm using O(E3/2/(MB))O(E^{3/2}/(\sqrt{M} B)) I/Os assuming MEεM\geq E^\varepsilon for a constant $\varepsilon > 0$. Our results are based on a new color coding technique, which may be of independent interest.

Citations (70)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.