arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.07868cs.DS
收藏

一种用于排序避免模式序列的最优算法

An Optimal Algorithm for Sorting Pattern-Avoiding Sequences

Michal Opler

AI总结:

本研究提出一种确定性线性时间比较算法,可排序避免未知固定排列模式的序列,其乘法常数依赖匹配信息论下界,核心借助Marcus-Tardos定理实现高效多路合并,还推论得到有界孪生宽度排列的线性排序算法。

摘要:

我们提出了一种基于比较的确定性算法,可在线性时间内对避免固定排列$\pi$的序列排序,即便$\pi$是先验未知的。此外,乘法常数对模式$\pi$的依赖关系匹配信息论下界。一个关键组成部分是基于Marcus-Tardos定理实现高效多路合并的算法。作为直接推论,我们得到了一种用于排序有界孪生宽度排列的线性时间算法。

英文摘要:

We present a deterministic comparison-based algorithm that sorts sequences avoiding a fixed permutation $π$ in linear time, even if $π$ is a priori unkown. Moreover, the dependence of the multiplicative constant on the pattern $π$ matches the information-theoretic lower bound. A crucial ingredient is an algorithm for performing efficient multi-way merge based on the Marcus-Tardos theorem. As a direct corollary, we obtain a linear-time algorithm for sorting permutations of bounded twin-width.

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

↑