We consider the problem of approximate counting of triangles and longer fixed length cycles in directed graphs. For triangles, Tětek [ICALP’22] gave an algorithm that returns a -approximation in time, where is the unknown number of triangles in the given node graph and is the matrix multiplication exponent. We obtain an improved algorithm whose running time is, within polylogarithmic factors the same as that for multiplying an matrix by an matrix. We then extend our framework to obtain the first nontrivial -approximation algorithms for the number of -cycles in a graph, for any constant . Our running time is Finally, we show that under popular fine-grained hypotheses, this running time is optimal.

生成讲解博客的中文版本

生成AI智能校验的中文版本