随机演化序列中使用完全子区间和最大运行游程数的排序
Sorting using complete subintervals and the maximum number of runs in a randomly evolving sequence
摘要:
我们研究的空间需求的排序算法,只有项目,在年底将是相邻的放在一起。这等价于下面的组合问题:考虑一个固定长度n的字符串,它从0开始,然后通过将每个0变为1来演化,然后以随机顺序进行更改。1的最大运行游程数是多少?我们给出的分布和平均值的渐近结果。结果表明,与许多涉及最大值的问题一样,最大值是渐近正态的,具有n^{1/2}阶的波动,并且在期望值最大化的情况下(在这种情况下,当一半的元素变为1时),最大值的一阶波动可以通过运行的游程数很好地近似;还有一个n^{1/3}阶的二阶项。我们还讨论了一些变体,包括优先排队。证明使用最初为随机图开发的方法。
英文摘要:
We study the space requirements of a sorting algorithm where only items that at the end will be adjacent are kept together. This is equivalent to the following combinatorial problem: Consider a string of fixed length n that starts as a string of 0's, and then evolves by changing each 0 to 1, with then changes done in random order. What is the maximal number of runs of 1's? We give asymptotic results for the distribution and mean. It turns out that, as in many problems involving a maximum, the maximum is asymptotically normal, with fluctuations of order n^{1/2}, and to the first order well approximated by the number of runs at the instance when the expectation is maximized, in this case when half the elements have changed to 1; there is also a second order term of order n^{1/3}. We also treat some variations, including priority queues. The proofs use methods originally developed for random graphs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。