...
首页> 外文期刊>SIAM Journal on Discrete Mathematics >EFFICIENT RANKING OF LYNDON WORDS AND DECODING LEXICOGRAPHICALLY MINIMAL DE BRUIJN SEQUENCE
【24h】

EFFICIENT RANKING OF LYNDON WORDS AND DECODING LEXICOGRAPHICALLY MINIMAL DE BRUIJN SEQUENCE

机译:LYNDON词的有效排序和按字形最小的DE BRUIJN序列进行解码

获取原文
获取原文并翻译 | 示例
           

摘要

We give efficient algorithms for ranking Lyndon words of length n over an alphabet of size sigma. The rank of a Lyndon word is its position in the sequence of lexicographically ordered Lyndon words of the same length. The outputs are integers of exponential size, and complexity of arithmetic operations on such large integers cannot be ignored. Our model of computations is the word RAM, in which basic arithmetic operations on (large) numbers of size at most sigma(n) take O(n) time. Our algorithm for ranking Lyndon words makes O(n(2)) arithmetic operations (this would imply directly cubic time on word RAM). However, using an algebraic approach we are able to reduce the total time complexity on word RAM to O(n(2) log sigma). We also present an O(n(3) log(2) sigma)-time algorithm that generates the Lyndon word of a given length and rank in lexicographic order. Finally we use the connections between Lyndon words and lexicographically minimal de Bruijn sequences (a theorem of Fredricksen and Maiorana) to develop the first polynomial-time algorithm for decoding the minimal de Bruijn sequence of any rank n (it determines the position of a given word of length n within the de Bruijn sequence).
机译:我们提供了有效的算法,可对大小为sigma的字母表中长度为n的Lyndon单词进行排名。 Lyndon单词的等级是其在相同长度的按词典顺序排列的Lyndon单词序列中的位置。输出是指数大小的整数,并且不能忽略对这样大的整数进行算术运算的复杂性。我们的计算模型是单词RAM,其中在最大sigma(n)上对(大)数量的大小进行基本算术运算需要O(n)的时间。我们用于对Lyndon单词进行排名的算法进行O(n(2))个算术运算(这将直接暗示单词RAM上的立方时间)。但是,使用代数方法,我们可以将字RAM上的总时间复杂度降低为O(n(2)log sigma)。我们还提出了一种O(n(3)log(2)sigma)时间算法,该算法生成按字典顺序排列的给定长度和等级的Lyndon单词。最后,我们使用Lyndon单词与按字典顺序排列的最小de Bruijn序列(Fredricksen和Maiorana的一个定理)之间的联系来开发第一个多项式时间算法,以解码任意等级n的最小de Bruijn序列(它确定给定单词的位置在de Bruijn序列中的长度为n)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号