摘要
We present the first efficient algorithm to list necklaces, Lyndon words, or pseudo-necklaces of length n in colexicographic order. The algorithm has two interesting properties. First, it can be applied to construct a de Bruijn sequence of order n in O(1)-time per bit. Second, it can easily be modified to efficiently list necklaces, Lyndon words, or pseudo-necklaces of length n in binary reflected Gray code order.
原文 | English |
---|---|
頁(從 - 到) | 25-35 |
頁數 | 11 |
期刊 | Journal of Discrete Algorithms |
卷 | 46-47 |
DOIs | |
出版狀態 | Published - 9月 2017 |