Table of Contents
Fetching ...

Greedy Gray Codes for some Restricted Classes of Binary Words

Nathanaël Hassler, Vincent Vajnovszki, Dennis Wong

TL;DR

This work studies greedy Gray codes for two restricted binary word families: $F_n(p,k)$ (weight-$k$ words with no $p$ consecutive 1's) and $C_n(p,k)$ (prefix-constrained words). It introduces tail partitioned and recursive tail partitioned structures and analyzes the greedy generation via homogeneous transpositions, establishing when such greedy processes yield exhaustive Gray codes. For Fibonacci words, the authors define Gen$F(n,k)$ and give an explicit description with size $|\text{GenF}(n,k)|=n-2k+2$, along with last-word characterizations. For general $C_n(p,k)$, they first solve the integer $p$ case to obtain Gen$_p(n,k)$ with size $n-k+1-p$, and then generalize to real $p$ with $|\text{Gen}_p(n,k)|=n-k+1-\lceil p\rceil$, providing explicit word-constructs that realize the Gray codes. The paper also outlines CAT-style algorithms to realize these Gray codes, enabling efficient generation of constrained binary words in practice.

Abstract

We investigate the existence of greedy Gray codes, based on the choice of the first element in the code, for two classes of binary words: generalized Fibonacci words and generalized Dyck words.

Greedy Gray Codes for some Restricted Classes of Binary Words

TL;DR

This work studies greedy Gray codes for two restricted binary word families: (weight- words with no consecutive 1's) and (prefix-constrained words). It introduces tail partitioned and recursive tail partitioned structures and analyzes the greedy generation via homogeneous transpositions, establishing when such greedy processes yield exhaustive Gray codes. For Fibonacci words, the authors define Gen and give an explicit description with size , along with last-word characterizations. For general , they first solve the integer case to obtain Gen with size , and then generalize to real with , providing explicit word-constructs that realize the Gray codes. The paper also outlines CAT-style algorithms to realize these Gray codes, enabling efficient generation of constrained binary words in practice.

Abstract

We investigate the existence of greedy Gray codes, based on the choice of the first element in the code, for two classes of binary words: generalized Fibonacci words and generalized Dyck words.

Paper Structure

This paper contains 10 sections, 10 theorems, 7 equations.

Key Result

Theorem 2.2

If the list $\mathcal{L}$ is a homogeneous and suffix partitioned Gray code for a set of (same length and same weight) binary words, then $\mathcal{L}$ is an r-t partitioned list.

Theorems & Definitions (13)

  • Definition 1.1
  • Definition 2.1
  • Theorem 2.2
  • Theorem 3.2
  • Lemma 3.3
  • Lemma 3.4
  • Proposition 3.5
  • Theorem 3.6
  • Lemma 3.7
  • Lemma 3.8
  • ...and 3 more