Combinatorial Generation by Fusing Loopless Algorithms (2007)
AuthorsTakaoka, T., Violich, S.show all
Some combinatorial generation problems can be broken down into subproblems for which loopless algorithms already exist. We discuss means by which existing loopless algorithms for subproblems can be combined or fused to produce a new loopless algorithm that solves the original problem. We demonstrate this method with two new loopless algo- rithms, MULTPERM and MIXPAR. MULTPERM generates multiset permutations using only arrays and requiring only linear space; it is simpler and more efficient in both time and space than the recent algorithm of Korsh and LaFollette. MIXPAR generates well-formed parenthesis strings containing two different types of parentheses.
CitationTakaoka, T., Violich, S. (2007) Combinatorial Generation by Fusing Loopless Algorithms. International Journal of Foundations of Computer Science, 18(2), pp. 263 - 293.
This citation is automatically generated and may be unreliable. Use as a guide only.