arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv cs/0209016cs.DMcs.DSmath.CO
收藏

用叉车分拣

Sorting with a forklift

M. H. Albert, M. D. Atkinson

摘要:

fork栈是一个通用的栈,它允许一次推送和弹出几个项目。我们考虑的问题,确定哪些输入流可以使用一个forkstack排序,或双重,一个固定的输入流的排列可以使用一个forkstack。给出了排序问题的一个算法,找到了最小不可排序序列,并将结果推广到fork栈中,在fork栈中,一次可以推入和弹出的项目数是有限制的。在这种情况下,我们还建立了如何枚举的可排序序列的集合。

英文摘要:

A fork stack is a generalised stack which allows pushes and pops of several items at a time. We consider the problem of determining which input streams can be sorted using a single forkstack, or dually, which permutations of a fixed input stream can be produced using a single forkstack. An algorithm is given to solve the sorting problem and the minimal unsortable sequences are found. The results are extended to fork stacks where there are bounds on how many items can be pushed and popped at one time. In this context we also establish how to enumerate the collection of sortable sequences.

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

↑