arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1209.3668cs.DS
收藏

改进的就地关联整数排序

Improved in-place associative integer sorting

A. Emre Cetin

摘要:

提出了一种新的整数排序技术,以取代桶排序、分布计数排序和地址计算排序算法族,这些算法只需要固定的额外内存。该技术的灵感来自于“行为序列”的有序理论之一,并通过与认知神经科学中记忆形成和检索的三个主要阶段(即(i)练习,(ii)存储和(iii)检索)进行类比来解释。在这项研究中,该技术的改进,从理论和实践中,得到一个算法,这是比前者更快,使其更具竞争力。利用改进的版本,n个整数S[0. n-1]中的每一个都在范围[0,n-1]中精确排序,而前一种技术的复杂度是递归T(n)= T(n/2)+ O(n),产生T(n)= O(n)。

英文摘要:

A novel integer sorting technique was proposed replacing bucket sort, distribution counting sort and address calculation sort family of algorithms which requires only constant amount of additional memory. The technique was inspired from one of the ordinal theories of "serial order in behavior" and explained by the analogy with the three main stages in the formation and retrieval of memory in cognitive neuroscience namely (i) practicing, (ii) storing and (iii) retrieval. In this study, the technique is improved both theoretically and practically and an algorithm is obtained which is faster than the former making it more competitive. With the improved version, n integers S[0...n-1] each in the range [0, n-1] are sorted exactly in O(n) time while the complexity of the former technique was the recursion T(n) = T(n/2) + O(n) yielding T(n) = O(n).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑