pith. sign in

arxiv: cs/0404058 · v1 · submitted 2004-04-30 · 💻 cs.DS

Efficient coroutine generation of constrained Gray sequences

classification 💻 cs.DS
keywords constraintscoroutinesgenerationgraphonlyablealgorithmamount
0
0 comments X
read the original abstract

We study an interesting family of cooperating coroutines, which is able to generate all patterns of bits that satisfy certain fairly general ordering constraints, changing only one bit at a time. (More precisely, the directed graph of constraints is required to be cycle-free when it is regarded as an undirected graph.) If the coroutines are implemented carefully, they yield an algorithm that needs only a bounded amount of computation per bit change, thereby solving an open problem in the field of combinatorial pattern generation.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.