کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
4648828 1342432 2007 13 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Gray code for permutations with a fixed number of cycles
موضوعات مرتبط
مهندسی و علوم پایه ریاضیات ریاضیات گسسته و ترکیبات
پیش نمایش صفحه اول مقاله
Gray code for permutations with a fixed number of cycles
چکیده انگلیسی

We give the first Gray code for the set of n-length permutations with a given number of cycles. In this code, each permutation is transformed into its successor by a product with a cycle of length three, which is optimal. If we represent each permutation by its transposition array then the obtained list still remains a Gray code and this allows us to construct a constant amortized time (CAT) algorithm for generating these codes. Also, Gray code and generating algorithm for n-length permutations with fixed number of left-to-right minima are discussed.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Discrete Mathematics - Volume 307, Issue 13, 6 June 2007, Pages 1559–1571
نویسندگان
,