Inclusion-exclusion algorithms for counting set partitions

Andreas Björklund, Thore Husfeldt

Research output: Chapter in Book/Report/Conference proceedingPaper in conference proceedingpeer-review

Abstract

Given a set U with n elements and a family of subsets S ⊆ 2<sup>U</sup> we show how to count the number of k-partitions S<sub>1</sub> ∪ ... ∪ S<sub>k</sub> = U into subsets S<sub>i</sub> ∈ S in time 2<sup>n</sup>n<sup>O(1)</sup>. The only assumption on S is that it can be enumerated in time 2<sup>n</sup>n<sup>O(1)</sup>. In effect we get exact algorithms in time 2<sup>n</sup>n<sup>O(1)</sup> for several well-studied partition problems including domatic number, chromatic number, bounded component spanning forest, partition into Hamiltonian subgraphs, and bin packing. If only polynomial space is available, our algorithms run in time 3<sup>n</sup>n<sup>O(1)</sup> if membership in S can be decided in polynomial time. For chromatic number, we present a version that runs in time O(2.2461<sup>n</sup>) and polynomial space. For domatic number, we present a version that runs in time O(2.8718<sup>n</sup>). Finally, we present a family of polynomial space approximation algorithms that find a number between χ(G) and [(1 + ϵ)χ(G)] in time O(1.2209<sup>n</sup> + 2.2461<sup>e-ϵ</sup>n)
Original languageEnglish
Title of host publication2006 47th Annual IEEE Conference on Foundations of Computer Science
PublisherIEEE - Institute of Electrical and Electronics Engineers Inc.
Pages575-582
Number of pages8
ISBN (Print)0-7695-2720-5
DOIs
Publication statusPublished - 2006
Event2006 47th Annual IEEE Conference on Foundations of Computer Science - Berkeley, CA, United States
Duration: 2006 Oct 212006 Oct 24

Conference

Conference2006 47th Annual IEEE Conference on Foundations of Computer Science
Country/TerritoryUnited States
CityBerkeley, CA
Period2006/10/212006/10/24

Subject classification (UKÄ)

  • Computer Science

Free keywords

  • polynomial space approximation
  • bin packing
  • Hamiltonian subgraph
  • bounded component spanning forest
  • chromatic number
  • domatic number
  • inclusion-exclusion algorithm
  • counting set partition

Fingerprint

Dive into the research topics of 'Inclusion-exclusion algorithms for counting set partitions'. Together they form a unique fingerprint.

Cite this