论文部分内容阅读
在水利水电工程设计计算中,常常需要对一组数中的每个数,按其大小的顺序排列好,这就要用排队算法。本文介绍现在常用的排队算法,分析其优缺点。针对其运算速度太慢的问题,新设计出一种“分组排队算法”。这算法可提高运算速度十多倍到几十倍。并把“分组排队算法”按TQ一16机ALGOL语言的过程说明形式写出源程序,可供直接使用。
In the water conservancy and hydropower engineering design and calculation, often need to a number of each number, according to the order of their size, which requires the use of queuing algorithm. This article describes the commonly used queuing algorithms, analysis of its advantages and disadvantages. Aiming at the problem of too slow operation speed, a “packet queuing algorithm” is newly designed. This algorithm can improve the computing speed of 10 times to several times. And the “packet queuing algorithm” according to the TQ-16 ALGOL language process description form to write the source code for direct use.