Counting and Sampling Labeled Chordal Graphs in Polynomial Time
Counting and Sampling Labeled Chordal Graphs in Polynomial Time
复制标题
DOI:
10.48550/arxiv.2308.09703
复制
发表时间:
2023-08
期刊:
影响因子:
--
通讯作者:
Úrsula Hébert-Johnson;D. Lokshtanov;Eric Vigoda
中科院分区:
文献类型:
--
作者:
Úrsula Hébert-Johnson;D. Lokshtanov;Eric Vigoda
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 omega as input, it computes the number of omega-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 omega-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.