Simple Counting and Sampling Algorithms for Graphs with Bounded Pathwidth

Christine T. Cheng,Will Rosenbaum
DOI: https://doi.org/10.48550/arXiv.2008.08479
2020-08-19
Data Structures and Algorithms
Abstract:In this paper, we consider the problem of counting and sampling structures in graphs. We define a class of "edge universal labeling problems"---which include proper $k$-colorings, independent sets, and downsets---and describe simple algorithms for counting and uniformly sampling valid labelings of graphs, assuming a path decomposition is given. Thus, we show that several well-studied counting and sampling problems are fixed parameter tractable (FPT) when parameterized by the pathwidth of the input graph. We discuss connections to counting and sampling problems for distributive lattices and, in particular, we give a new FPT algorithm for exactly counting and uniformly sampling stable matchings.
What problem does this paper attempt to address?