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

就地关联排序技术

The technique of in-place associative sorting

A. Emre Cetin

摘要:

首先,提出了一种新颖的、直接的整数值就地排序算法。它使用恒定数量的额外内存在线性时间内进行排序,用于存储输入数组旁边的计数器和索引。该技术的灵感来自于“行为序列”理论背后的主要思想,并通过与认知神经科学中记忆形成和检索的三个主要阶段进行类比来解释:(i)练习,(ii)存储和(iii)检索。它在时间复杂度方面得到了进一步的改进,并且专门用于不同的整数,尽管仍然不适合秩排序。之后,另一种新颖的,但简单的技术,这使得这种有效的值排序技术适合排序。因此,给定一个n个元素的数组,每个元素都有一个整数键,该技术仅使用恒定量的额外存储器在线性时间内根据它们的整数键对元素进行排序。所设计的技术是非常实用和有效的优于桶排序,分布计数排序和地址计算排序算法家族,使其在几乎所有情况下,即使空间不是一个关键资源的吸引力。

英文摘要:

In the first place, a novel, yet straightforward in-place integer value-sorting algorithm is presented. It sorts in linear time using constant amount of additional memory for storing counters and indices beside the input array. The technique is inspired from the principal idea behind 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: (i) practicing, (ii) storage and (iii) retrieval. It is further improved in terms of time complexity as well as specialized for distinct integers, though still improper for rank-sorting. Afterwards, another novel, yet straightforward technique is introduced which makes this efficient value-sorting technique proper for rank-sorting. Hence, given an array of n elements each have an integer key, the technique sorts the elements according to their integer keys in linear time using only constant amount of additional memory. The devised technique is very practical and efficient outperforming bucket sort, distribution counting sort and address calculation sort family of algorithms making it attractive in almost every case even when space is not a critical resource.

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

↑