首页> 外文会议>International Computing and Combinatorics Conference >Faster Generation of Shorthand Universal Cycles for Permutations
【24h】

Faster Generation of Shorthand Universal Cycles for Permutations

机译:更快地生成排列的速记通用周期

获取原文

摘要

A universal cycle for the k-permutations of = {1, 2, ..., n} is a circular string of length (n)_k that contains each k-permutation exactly once as a substring. Jackson (Discrete Mathematics, 149 (1996) 123-129) proved their existence for all k ≤n - 1. Knuth (The Art of Computer Programming, Volume 4, Fascicle 2, Addison-Wesley, 2005) pointed out the importance of the k = n - 1 case, where each (n - 1) - permutation is "shorthand" for exactly one permutation of . Ruskey-Williams (ACM Transactions on Algorithms, in press) answered Knuth's request for an explicit construction of a shorthand universal cycle for permutations, and gave an algorithm that creates successive symbols in worst-case O(1)-time. This paper provides two new algorithmic constructions that create successive blocks of n symbols in O(1) amortized time within an array of length n. The constructions are based on: (a) an approach known to bell-ringers for over 300 years, and (b) the recent shift Gray code by Williams (SODA, (2009) 987-996). For (a), we show that the majority of changes between successive permutations are full rotations; asymptotically, the proportion of them is (n - 2)/n.
机译: {1,2,...,n}的k序列的通用循环是长度(n)_k的圆形串,其包含一旦作为子字符串的一次k级。杰克逊(离散数学,149(1996)123-129)证明了所有K≤N - 1. Knuth(计算机编程艺术,第4卷,Fascicle 2,Addison-Wesley,2005)指出了重要性k = n - 1个情况,其中每个(n - 1) - 置换是“速记”,用于的一个置换。 Ruskey-Williams(算法上的ACM事务)应答Knuth的请求对排列的速写概要循环的显式构造,并给出了一种在最坏情况下在最坏情况下创建连续符号的算法。本文提供了两个新的算法结构,它在长度阵列内创建了O(1)摊销时间内的连续N个符号块。该结构基于:(a)钟铃声已知的方法超过300年,(b)威廉姆斯(苏打水)最近的变速码(苏打水,(2009)987-996)。对于(a),我们表明连续排列之间的大部分变化是完全旋转;渐近地,它们的比例是(n - 2)/ n。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号