约束Gray序列的高效协程生成
Efficient coroutine generation of constrained Gray sequences
摘要:
我们研究了一个有趣的家庭的合作协程,这是能够产生的所有模式的位,满足某些相当一般的排序约束,每次只改变一个位。(More精确地说,当约束的有向图被视为无向图时,要求它是无环的。如果仔细实现协程,它们产生的算法,只需要一个有限的计算量,每一位的变化,从而解决了一个开放的问题,在该领域的组合模式生成。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。