WorksComputer Science
Faster polynomial-space algorithms for poset problems
Abstract
We give a polynomial-space, deterministic, exact algorithm for counting linear extensions of partial orders over elements, with running time . This improves upon the long-standing bound of attainable by standard divide and conquer (Savitch 1970, Gurevich and Shelah 1987). Our algorithm uses a similar balanced splitting approach as the classical algorithm, but applies it only to the elements outside a largest antichain. For the elements of the antichain itself we develop a formula based on inclusion-exclusion that accounts for the ways in which they can appear in a linear extension. The technique is also applicable to other problems on posets, which we illustrate by solving the well-studied jump number problem in a similar running time of and polynomial space. To our knowledge, these are the first polynomial-space algorithms with a running time below for both problems.