In this report we present an algorithm solving Triangle Counting in time $O(d^2n+m)$, where n and m, respectively, denote the number of vertices and edges of a graph G and d denotes its twin-width, a recently introduced graph parameter. We assume that a compact representation of a d-contraction sequence of G is given.
翻译:在本报告中,我们提出了一个解决三角时间计数的算法$O(d ⁇ 2n+m)$,其中n和m分别表示图G的脊椎和边缘数,d表示最近引入的图形参数双边。我们假定给出了G的缩略式缩略语。