Counting and Sampling Labeled Chordal Graphs in Polynomial Time

08/18/2023
by   Úrsula Hébert-Johnson, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/01/2021

Modular counting of subgraphs: Matchings, matching-splittable graphs, and paths

We systematically investigate the complexity of counting subgraph patter...
research
04/15/2023

Computing shortest 12-representants of labeled graphs

The notion of 12-representable graphs was introduced as a variant of a w...
research
02/05/2018

Counting and Uniform Sampling from Markov Equivalent DAGs

We propose an exact solution for the problem of finding the size of a Ma...
research
10/05/2020

A Note on Exponential-Time Algorithms for Linearwidth

In this note, we give an algorithm that computes the linearwidth of inpu...
research
05/20/2020

An FPRAS and Polynomial-Time Uniform Sampler for Tree Automata

In this work, we introduce the first fully polynomial time randomized ap...
research
02/17/2022

Sampling Approximately Low-Rank Ising Models: MCMC meets Variational Methods

We consider Ising models on the hypercube with a general interaction mat...
research
12/17/2020

Sampling Arborescences in Parallel

We study the problem of sampling a uniformly random directed rooted span...

Please sign up or login with your details

Forgot password? Click here to reset