Combinatorial generation by fusing loopless algorithms

  • Authors:
  • Tadao Takaoka;Stephen Violich

  • Affiliations:
  • University of Canterbury, Christchurch, New Zealand;University of Canterbury, Christchurch, New Zealand

  • Venue:
  • CATS '06 Proceedings of the Twelfth Computing: The Australasian Theory Symposium - Volume 51
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

Some combinatorial generation problems can be broken into subproblems for which loopless algorithms already exist. We discuss means by which loopless algorithms can be fused to produce a new loopless algorithm that solves the original problem. We demonstrate this method with two new loopless algorithms, MIXPAR and MULTPERM. MIXPAR generates well-formed parenthesis strings containing two different types of parentheses. MULTPERM generates multiset permutations in linear space using only arrays; it is simpler and more efficient than the recent algorithm of Korsh and LaFollette (2004).