Gray-coding through nested sets

Abstract

We consider the following combinatorial question. Let S0 ⊂ S1 ⊂ S2 ⊂ ...⊂ Sm be nested sets, where #(Si) = i. A move consists of altering one of the sets Si, 1 i m-1, in a manner so that the nested condition still holds and #(Si) is still i. Our goal is to find a sequence of moves that exhausts through all subsets of Sm (other than the initial sets Si) with no repeats. We call this "Gray-coding through nested sets" because of the analogy with Frank Gray's theory of exhausting through integers while altering only one bit at a time. Our main result is an efficient algorithm that solves this problem. As a byproduct, we produce new families of cyclic Gray codes through binary m-bit integers.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…