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

如何在冰箱中排序:简单的基于熵的严格原地排序算法

How to Sort in a Refrigerator: Simple Entropy-Sensitive Strictly In-Place Sorting Algorithms

University of California, Irvine(加州大学尔湾分校)

Ofek Gila, Michael T. Goodrich, Vinesh Sridhar

AI总结:

本文提出了一种基于熵的严格原地排序算法,通过简单的方法实现高效的排序,适用于内存受限的嵌入式系统。

摘要:

尽管现代通用计算系统拥有充足的记忆容量,但嵌入式计算机系统,如冰箱中的系统,仍然受到内存限制;因此,这类嵌入式系统促使了对严格原地算法的需求,这些算法除了用于输入的内存外,仅使用O(1)额外内存。在本文中,我们提供了首个基于比较的排序算法,这些算法是严格原地的,并且其运行时间在考虑输入数组A的基于运行的熵H(A)方面是最佳的。具体来说,我们描述了两种 remarkably 简单的范式,用于实现基于栈的自然归并排序算法,以在O(n(1 + H(A)))时间内严格原地运行。

英文摘要:

While modern general-purpose computing systems have ample amounts of memory, it is still the case that embedded computer systems, such as in a refrigerator, are memory limited; hence, such embedded systems motivate the need for strictly in-place algorithms, which use only O(1) additional memory besides that used for the input. In this paper, we provide the first comparison-based sorting algorithms that are strictly in-place and have a running time that is optimal in terms of the run-based entropy, H(A), of an input array, A, of size n. In particular, we describe two remarkably simple paradigms for implementing stack-based natural mergesort algorithms to be strictly in-place in O(n(1 + H(A))) time.

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

↑