发明名称 METHOD AND APPARATUS FOR SORTING CYCLIC DATA IN LEXICOGRAPHIC ORDER
摘要 Methods and apparatus for lexicographically sorting cyclic data are disclose d. In one illustrative example, a method of lexicographically sorting data, whi ch sorts after the nth sorting iteration 2(n-1) leading characters in the cycli c data includes the acts of receiving a set of N cyclic shifts of N characters identifiable by an array of indexes {0, 1, 2, ..., N-1}; sorting the set of cyclic shifts based on a comparison of a first character of each cyclic shif t; 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 whic h are identifiable by a subset array of indexes in the array in accordance with a previous sort of cyclic shifts associated with the subset array of indexes plus 2(n-1)*modulo(N); and repeating the sorting for a next nth sorting iteration as necessary until the set of cyclic shifts are lexicographically sorted.
申请公布号 CA2503502(A1) 申请公布日期 2004.05.06
申请号 CA20032503502 申请日期 2003.10.23
申请人 RESEARCH IN MOTION LIMITED 发明人 YACH, DAVID P.
分类号 G06F7/24;G06F17/30;H03M7/30 主分类号 G06F7/24
代理机构 代理人
主权项
地址