Combinatorial Gray codes-an updated survey

T Mütze - arXiv preprint arXiv:2202.01280, 2022 - arxiv.org
A combinatorial Gray code for a class of objects is a listing that contains each object from the
class exactly once such that any two consecutive objects in the list differ only by asmall …

[HTML][HTML] The coolest way to generate combinations

F Ruskey, A Williams - Discrete Mathematics, 2009 - Elsevier
We present a practical and elegant method for generating all (s, t)-combinations (binary
strings with s zeros and t ones): Identify the shortest prefix ending in 010 or 011 (or the entire …

Loopless generation of multiset permutations using a constant number of variables by prefix shifts

A Williams - Proceedings of the twentieth annual ACM-SIAM …, 2009 - SIAM
This paper answers the following mathematical question: Can multiset permutations be
ordered so that each permutation is a prefix shift of the previous permutation? Previously …

Binary bubble languages and cool-lex order

F Ruskey, J Sawada, A Williams - Journal of Combinatorial Theory, Series …, 2012 - Elsevier
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 …

[HTML][HTML] Gray code for derangements

JL Baril, V Vajnovszki - Discrete Applied Mathematics, 2004 - Elsevier
We give a Gray code and constant average time generating algorithm for derangements, ie,
permutations with no fixed points. In our Gray code, each derangement is transformed into …

[HTML][HTML] A loop-free two-close Gray-code algorithm for listing k-ary Dyck words

V Vajnovszki, T Walsh - Journal of Discrete Algorithms, 2006 - Elsevier
P. Chase and F. Ruskey each published a Gray code for length n binary strings with m
occurrences of 1, coding m-combinations of n objects, which is two-close—that is, in passing …

Loopless array generation of multiset permutations

JF Korsh, PS LaFollette - The Computer Journal, 2004 - ieeexplore.ieee.org
This paper presents a loopless algorithm to generate all permutations of a multiset. Each is
obtained from its predecessor by making one transposition. It differs from previous such …

Combinatorial Gray codes for classes of pattern avoiding permutations

WMB Dukes, MF Flanagan, T Mansour… - Theoretical Computer …, 2008 - Elsevier
The past decade has seen a flurry of research into pattern avoiding permutations but little of
it is concerned with their exhaustive generation. Many applications call for exhaustive …

Shift gray codes

AM Williams - 2009 - dspace.library.uvic.ca
Combinatorial objects can be represented by strings, such as 21534 for the permutation (1
2)(3 5 4), or 110100 for the binary tree corresponding to the balanced parentheses (()()) …

[HTML][HTML] Gray code for permutations with a fixed number of cycles

JL Baril - Discrete Mathematics, 2007 - Elsevier
We give the first Gray code for the set of n-length permutations with a given number of
cycles. In this code, each permutation is transformed into its successor by a product with a …