多项式时间内计数与采样带标号弦图
Counting and Sampling Labeled Chordal Graphs in Polynomial Time
AI总结:
本文首次给出多项式时间精确计数和采样带标号弦图的算法,将 Wormald 的指数时间结果改进为 O(n^7),并进一步提出运行时间为 O(n^3 log n log^7(1/ε)) 的近似计数与采样算法。
摘要:
我们提出了第一个多项式时间算法,用于精确计算 n 个顶点上的带标号弦图数量。我们的算法解决了一个更一般的问题:给定 n 和 ω 作为输入,它使用 O(n^7) 次算术运算计算 n 个顶点上 ω-可着色的带标号弦图数量。标准的采样到计数归约随后产生一个多项式时间的精确采样器,该采样器在 n 个顶点上均匀随机地生成一个 ω-可着色的带标号弦图。我们的计数算法改进了 Wormald(1985)先前的最佳结果,后者计算 n 个顶点上带标号弦图数量的时间关于 n 是指数级的。该多项式时间计数算法的实现在一台标准台式计算机上不到三分钟即可给出最多 30 个顶点的带标号弦图数量。此前,带标号弦图的数量仅对最多 15 个顶点的图已知。此外,我们设计了两个近似算法:(1)一个近似计数算法,计算 n 个顶点带标号弦图数量的 (1±ε)-近似,以及(2)一个近似采样算法,根据一个与均匀分布的总变差距离至多为 ε 的分布生成随机带标号弦图。近似计数算法的运行时间为 O(n^3 log n log^7(1/ε)),近似采样算法的期望运行时间为 O(n^3 log n log^7(1/ε))。
英文摘要:
We present the first polynomial-time algorithm to exactly compute the number of labeled chordal graphs on $n$ vertices. Our algorithm solves a more general problem: given $n$ and $ω$ as input, it computes the number of $ω$-colorable labeled chordal graphs on $n$ vertices, using $O(n^7)$ arithmetic operations. A standard sampling-to-counting reduction then yields a polynomial-time exact sampler that generates an $ω$-colorable labeled chordal graph on $n$ vertices uniformly at random. Our counting algorithm improves upon the previous best result by Wormald (1985), which computes the number of labeled chordal graphs on $n$ vertices in time exponential in $n$. An implementation of the polynomial-time counting algorithm gives the number of labeled chordal graphs on up to $30$ vertices in less than three minutes on a standard desktop computer. Previously, the number of labeled chordal graphs was only known for graphs on up to $15$ vertices. In addition, we design two approximation algorithms: (1) an approximate counting algorithm that computes a $(1\pm\varepsilon)$-approximation of the number of $n$-vertex labeled chordal graphs, and (2) an approximate sampling algorithm that generates a random labeled chordal graph according to a distribution whose total variation distance from the uniform distribution is at most $\varepsilon$. The approximate counting algorithm runs in $O(n^3\log{n}\log^7(1/\varepsilon))$ time, and the approximate sampling algorithm runs in $O(n^3\log{n}\log^7(1/\varepsilon))$ expected time.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。