计算机科学 > 数据结构与算法
[提交于 2004年4月30日]
标题:Efficient coroutine generation of constrained Gray sequences
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Maggie McLoughlin[v1] 2004年4月30日 星期五 00:00:00 UTC