首页 | 本学科首页   官方微博 | 高级检索  
     检索      


Generating indecomposable permutations
Authors:Andrew King
Institution:Department of Computer Science, McGill University, Montreal, Que., Canada
Abstract:An indecomposable permutation π on n] is one such that π(m])=m] for no m<n. We consider indecomposable permutations and give a new, inclusive enumerative recurrence for them. This recurrence allows us to generate all indecomposable permutations of length n in transposition Gray code order, in constant amortized time (CAT). We also present a CAT generation algorithm for indecomposable permutations which is based on the Johnson-Trotter algorithm for generating all permutations of length n. The question of whether or not there exists an adjacent transposition Gray code for indecomposable permutations remains open.
Keywords:Gray code  Combinatorial generation  Indecomposable permutation  CAT algorithm
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号