Listing Triangles
Listing Triangles
复制标题
列出三角形
DOI:
10.1007/978-3-662-43948-7_19
复制
发表时间:
2014
期刊:
影响因子:
--
通讯作者:
Uri Zwick
中科院分区:
文献类型:
--
作者:
Andreas Björklund;R. Pagh;V. V. Williams;Uri Zwick
We present new algorithms for listing triangles in dense and sparse graphs. The running time of our algorithm for dense graphs is Õ(n + nt), and the running time of the algorithm for sparse graphs is Õ(m + mt), where n is the number of vertices, m is the number of edges, t is the number of triangles to be listed, and ω < 2.373 is the exponent of fast matrix multiplication. With the current bound on ω, the running times of our algorithms are Õ(n+n t) and Õ(m+m t), respectively. We first obtain randomized algorithms with the desired running times and then derandomize them using sparse recovery techniques. If ω = 2, the running times of the algorithms become Õ(n + nt) and Õ(m+mt), respectively. In particular, if ω = 2, our algorithm lists m triangles in Õ(m) time. Pǎtraşcu (STOC 2010) showed that Ω(m) time is required for listing m triangles, unless there exist subquadratic algorithms for 3SUM. We show that unless one can solve quadratic equation systems over a finite field significantly faster than the brute force algorithm, our triangle listing runtime bounds are tight assuming ω = 2, also for graphs with more triangles.