Title of article
Binary bubble languages and cool-lex order
Author/Authors
Ruskey، نويسنده , , Frank and Sawada، نويسنده , , Joe and Williams، نويسنده , , Aaron، نويسنده ,
Issue Information
روزنامه با شماره پیاپی سال 2012
Pages
15
From page
155
To page
169
Abstract
A bubble language is a set of binary strings with a simple closure property: The first 01 of any string can be replaced by 10 to obtain another string in the set. Natural representations of many combinatorial objects are bubble languages. Examples include binary string representations of k-ary trees, unit interval graphs, linear-extensions of B-posets, binary necklaces and Lyndon words, and feasible solutions to knapsack problems. In co-lexicographic order, fixed-weight binary strings are ordered so that their suffixes of the form 10 i occur (recursively) in the order i = max , max − 1 , … , min + 1 , min for some values of max and min. In cool-lex order the suffixes occur (recursively) in the order max − 1 , … , min + 1 , min , max . This small change has significant consequences. We prove that the strings in any bubble language appear in a Gray code order when listed in cool-lex order. This Gray code may be viewed from two different perspectives. On one hand, successive binary strings differ by one or two transpositions, and on the other hand, they differ by a shift of some substring one position to the right. This article also provides the theoretical foundation for many efficient generation algorithms, as well as the first construction of fixed-weight binary de Bruijn sequences; results that will appear in subsequent articles.
Keywords
ordered trees , Dyck words , interval graphs , Gray codes , Algorithms , Constant amortized time , Necklaces , Lyndon words , Exhaustive generation , Knapsack problem
Journal title
Journal of Combinatorial Theory Series A
Serial Year
2012
Journal title
Journal of Combinatorial Theory Series A
Record number
1531727
Link To Document