首页> 外国专利> Method for finding repeating the sequence of characters LAND finite alphabet and method of calculating the auxiliary array

Method for finding repeating the sequence of characters LAND finite alphabet and method of calculating the auxiliary array

机译:查找重复字符land有限字母序列的方法和计算辅助数组的方法

摘要

FIELD: information technology.;SUBSTANCE: to find maximum sections in a finite sequence of characters x[i] (0≤i≤N) of a finite alphabet, which are repetitions of previously encountered sections, two bit arrays beg[i] and end[i] are created in computer memory. All elements of said bit arrays are populated with zeros. The sequence s1[i] is calculated for all N values of indices i, where s1[i] is the maximum length of the linear section of said data sequence. All said maximum sections are defined as all intervals x[m,n] for which the initial index m satisfies the condition s1[m]sl[m-1]-1, and the final index n is equal to m+sl[m]-1, for which, for each value i, the fulfillment of the condition s1[i]sl[i-1]-1 is checked, and if the condition is met, values beg[i]=1 and end[i+s1[i]]=1 are set in the bit arrays beg[i] and end[i]. The set of all said maximum sections is recovered on the two bit arrays beg[i] and end[i].;EFFECT: reduced amount of memory required to display all maximum repeating sections.;3 cl, 2 dwg
机译:领域:信息技术;实体:在有限字母的字符x [i](0≤i≤N)的有限序列中找到最大的部分,这是先前遇到的部分的重复,两个位数组beg [i]和end [i]在计算机内存中创建。所述位阵列的所有元素填充有零。对于索引i的所有N个值,计算序列s1 [i],其中s1 [i]是所述数据序列的线性部分的最大长度。将所有所述最大区间定义为初始索引m满足条件s1 [m]> sl [m-1] -1,并且最终索引n等于m + sl [的所有间隔x [m,n]。 m] -1,对于每个值i,检查条件s1 [i]> sl [i-1] -1是否满足,如果满足条件,则值beg [i] = 1并结束在位数组beg [i]和end [i]中设置[i + s1 [i]] = 1。所有上述最大部分的集合在beg [i]和end [i]这两个位数组上恢复。效果:减少显示所有最大重复部分所需的内存量。3cl,2 dwg

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号