کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
436488 690009 2013 9 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
A Gray code for fixed-density necklaces and Lyndon words in constant amortized time
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
A Gray code for fixed-density necklaces and Lyndon words in constant amortized time
چکیده انگلیسی

This paper develops a constant amortized time algorithm to produce a cyclic cool-lex Gray code for fixed-density binary necklaces, Lyndon words, and pseudo-necklaces. It is the first Gray code for these objects that achieves this time bound. The algorithm is applied: (i) to develop a constant amortized time cyclic Gray code for necklaces, Lyndon words, and pseudo-necklaces ordered by density and (ii) to obtain a fixed-density de Bruijn sequence using constant time per n bits on average. In addition to Gray code order, the algorithms can be easily modified to output the strings in co-lex order.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Theoretical Computer Science - Volume 502, 2 September 2013, Pages 46-54