高级检索

    关于一种准堆排序机实现方法的研究

    An Approach to a Like-stack Sorting Machine

    • 摘要: 如果在智能处理器(排序机)中采用 logn 个器件,使得这些器件完全同步操作,并将其配在存储器的出口处,由此构成一个具有排序功能的智能存储器,则能够以 O(n)的时间代价实现排序。根据硬件成本与排序速度的关系,可针对需求指标的侧重面不同而产生出三个方案。其中硬件成本最高的是以3(N+1)的时间代价对 N 个值排序,其次的是以5N+3「N/(2k-1)+2k-1的时间代价实现,成本最低的是以「3lg N1/(k-1)-3)*(3N+2k-1)+5N十4「N/(2k-1的代价实现。本文将介绍以上三种方案。

       

      Abstract: Suppose log(n)processing units can operate synchronously in an intelli- gent processor(sorting machine)which is adopted at the ports of a memory,an intel- ligent memory with the function of sorting is constructed,which can do sorting in O(n) time.Three algorithms depending on the trade-off of the hardware cost and the sorting speed are given.Where the highest cost algorithm can sort N data in 3(N+1) time,the lower is in 5 N+3「N/(2k-1)」+2k-1,and the lowest is in 「3lgk-1N1/2-3」*(3 N+ 2k-1)+5 N+4「N/(2k-1)」. The three algorithms above are described in this paper.

       

    /

    返回文章
    返回