English

Loopless Algorithms to Generate Maximum Length Gray Cycles wrt. k-Character Substitution

Discrete Mathematics 2023-09-14 v2 Combinatorics

Abstract

Given a binary word relation τ\tau onto A * and a finite language X \subseteq A * , a τ\tau-Gray cycle over X consists in a permutation w [i] 0\lei\le|X|--1 of X such that each word w [i] is an image under τ\tau of the previous word w [i--1]. We define the complexity measure λ\lambdaA,τ\tau (n), equal to the largest cardinality of a language X having words of length at most n, and st. some τ\tau-Gray cycle over X exists. The present paper is concerned with τ\tau = σ\sigma k , the so-called k-character substitution, st. (u, v) \in σ\sigma k holds if, and only if, the Hamming distance of u and v is k. We present loopless (resp., constant amortized time) algorithms for computing specific maximum length σ\sigma k-Gray cycles.

Cite

@article{arxiv.2309.01556,
  title  = {Loopless Algorithms to Generate Maximum Length Gray Cycles wrt. k-Character Substitution},
  author = {Jean Néraud},
  journal= {arXiv preprint arXiv:2309.01556},
  year   = {2023}
}

Comments

arXiv admin note: text overlap with arXiv:2108.13659

R2 v1 2026-06-28T12:12:11.457Z