The Complexity of Sorting with Networks of Stacks and Queues

被引:0
|
作者
Felsner, Stefan [1 ]
Pergel, Martin [2 ]
机构
[1] Tech Univ Berlin, Inst Math, D-1000 Berlin, Germany
[2] Charles Univ Prague, Dept Math Appl, Prague, Czech Republic
来源
ALGORITHMS - ESA 2008 | 2008年 / 5193卷
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We consider a sorting problem oil networks whose nodes are storage elements of type stack or queue. A railway switchyard could he ail instance of such a network. Given is ail input node where a permutation of items 1 to n is delivered and ail output node where they are expected in sorted order. How many moves, where an item is transfered from one node to an adjacent node, are needed in the worst case for the sorting? Among others we have the following results: A characterization of networks where the sorting complexity is Theta (n log n). A lower bound of Omega(n(2-epsilon)) for the network consisting of only two stacks that call exchange items.
引用
收藏
页码:417 / +
页数:3
相关论文
共 50 条