- Main
Efficient Algorithms for Graph Counting and Sampling from a Parameterized Perspective
- Hebert-Johnson, Ursula
- Advisor(s): Lokshtanov, Daniel
Abstract
Graph counting refers to counting how many n-vertex graphs belong to a particular graph class. This topic is closely intertwined with graph sampling, which refers to generating random elements of a graph class (uniformly or approximately uniformly at random). In this thesis, we develop algorithms for various graph counting and graph sampling problems.
For the class of chordal graphs, we present the first polynomial-time algorithm to exactly compute the number of labeled chordal graphs on n vertices. In fact, 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. We also design two approximation algorithms for this problem: (1) an approximate counting algorithm that computes a (1 plus or minus epsilon)-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 epsilon. The approximate counting algorithm runs in O(n^3 log n log^7(1/epsilon)) time, and the approximate sampling algorithm runs in O(n^3 log n log^7(1/epsilon)) expected time.
Next, we turn our attention to unlabeled chordal graphs. We design an algorithm that generates an n-vertex unlabeled chordal graph uniformly at random in expected polynomial time. Along the way, we develop the following two results: (1) an FPT algorithm for counting and sampling labeled chordal graphs with a given automorphism pi, parameterized by the number of moved points of pi, and (2) a proof that the probability that a random n-vertex labeled chordal graph has a given automorphism pi in S_n is at most 1/2^{c max{mu^2,n}}, where mu is the number of moved points of pi and c is a constant. Our algorithm for sampling unlabeled chordal graphs calls the aforementioned FPT algorithm as a black box with potentially large values of the parameter mu, but the probability of calling this algorithm with a large value of mu is exponentially small.
Our third and last topic is to design FPT algorithms for counting yes-instances of various vertex deletion problems. In particular, we describe FPT algorithms for counting yes-instances of Vertex Cover, Cluster Vertex Deletion, Feedback Vertex Set in Tournaments, and Split Vertex Deletion. We achieve this by designing a general framework that reduces each of these four counting problems to a simpler version of the problem with given deletion sets. For each of the problems in question, we then design an FPT algorithm for the version with given deletion sets. Overall, the algorithms for counting yes-instances of Vertex Cover, Cluster Vertex Deletion, and Feedback Vertex Set in Tournaments have running time at most 2^{3^{2k+o(k)}} n^{O(1)}, and the running time of the algorithm for counting yes-instances of Split Vertex Deletion is a triple-exponential function of k. We also design a faster algorithm for counting yes-instances of Vertex Cover that runs in time k^{O(k^2)} n^3, using ideas inspired by the Buss kernel for that problem.