English

Counting thin subgraphs via packings faster than meet-in-the-middle time

Data Structures and Algorithms 2015-08-17 v2 Discrete Mathematics

Abstract

Vassilevska and Williams (STOC 2009) showed how to count simple paths on kk vertices and matchings on k/2k/2 edges in an nn-vertex graph in time nk/2+O(1)n^{k/2+O(1)}. In the same year, two different algorithms with the same runtime were given by Koutis and Williams~(ICALP 2009), and Bj\"orklund \emph{et al.} (ESA 2009), via nst/2+O(1)n^{st/2+O(1)}-time algorithms for counting tt-tuples of pairwise disjoint sets drawn from a given family of ss-sized subsets of an nn-element universe. Shortly afterwards, Alon and Gutner (TALG 2010) showed that these problems have Ω(nst/2)\Omega(n^{\lfloor st/2\rfloor}) and Ω(nk/2)\Omega(n^{\lfloor k/2\rfloor}) lower bounds when counting by color coding. Here we show that one can do better, namely, we show that the "meet-in-the-middle" exponent st/2st/2 can be beaten and give an algorithm that counts in time n0.45470382st+O(1)n^{0.45470382 st + O(1)} for tt a multiple of three. This implies algorithms for counting occurrences of a fixed subgraph on kk vertices and pathwidth pkp\ll k in an nn-vertex graph in n0.45470382k+2p+O(1)n^{0.45470382k+2p+O(1)} time, improving on the three mentioned algorithms for paths and matchings, and circumventing the color-coding lower bound. We also give improved bounds for counting tt-tuples of disjoint ss-sets for s=2,3,4s=2,3,4. Our algorithms use fast matrix multiplication. We show an argument that this is necessary to go below the meet-in-the-middle barrier.

Keywords

Cite

@article{arxiv.1306.4111,
  title  = {Counting thin subgraphs via packings faster than meet-in-the-middle time},
  author = {Andreas Björklund and Petteri Kaski and Łukasz Kowalik},
  journal= {arXiv preprint arXiv:1306.4111},
  year   = {2015}
}

Comments

Journal version, 26 pages. Compared to the SODA'14 version, it contains some new results: a) improved algorithms for counting t-tuples of disjoint s-sets for the special cases of s = 2, 3, 4 and b) new hardness arguments