首页> 外国专利> METHOD AND APPARATUS FOR SORTING CYCLIC DATA IN LEXICOGRAPHIC ORDER

METHOD AND APPARATUS FOR SORTING CYCLIC DATA IN LEXICOGRAPHIC ORDER

机译:依字典顺序排序循环数据的方法和装置

摘要

Methods and apparatus for lexicographically sorting cyclic data are disclosed.In one illustrative example, a method of lexicographically sorting data, whichsorts after the nth sorting iteration 2(n-1) leading characters in the cyclicdata includes the acts of receiving a set of N cyclic shifts of N charactersidentifiable by an array of indexes {0, 1, 2, ..., N-1}; sorting the set ofcyclic shifts based on a comparison of a first character of each cyclic shift;and for an nth sorting iteration of the set of cyclic shifts, where n = 1, 2,3, ..., up to 2n N: sorting at least a subset of the cyclic shifts which areidentifiable by a subset array of indexes in the array in accordance with aprevious sort of cyclic shifts associated with the subset array of indexesplus 2(n-1)*modulo(N); and repeating the sorting for a next nth sortingiteration as necessary until the set of cyclic shifts are lexicographicallysorted.
机译:公开了用于按字典顺序对循环数据进行排序的方法和设备。在一个说明性示例中,一种按字典顺序对数据进行排序的方法,该方法在循环的第n个排序迭代2(n-1)个前导字符之后进行排序数据包括接收一组N个字符的N个循环移位的动作由索引数组{0,1,2,...,N-1}标识;排序集基于每个循环移位的第一字符的比较的循环移位;对于循环移位集合的第n个排序迭代,其中n = 1、23,...,直到2n> N:至少对循环移位的一个子集进行排序可以根据索引的子集数组在数组中标识与索引子集数组关联的上一类循环移位加2(n-1)*模(N);并重复进行下一个第n次排序必要时进行迭代,直到按字典顺序排列一组循环移位为止排序。

著录项

  • 公开/公告号CA2503502C

    专利类型

  • 公开/公告日2010-01-12

    原文格式PDF

  • 申请/专利权人 RESEARCH IN MOTION LIMITED;

    申请/专利号CA20032503502

  • 发明设计人 YACH DAVID P.;

    申请日2003-10-23

  • 分类号H03M7/30;G06F5/00;G06F7/24;

  • 国家 CA

  • 入库时间 2022-08-21 18:42:44

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号