高级检索

    求最小完全HASH函数的关键字排序方法

    Key Set's Sorting for Constructing Minimal Perfect HASH Function

    • 摘要: 本文在文献1的基础上改善和提出了队列排序和填空排序方法.使整个关键字集合在排序过程中相对保持其频率特性和首末字符的队列特性.从而使求关键字集合最小完全HASH函数的回溯方法更加局部化和规范化;在缩短回溯距离、降低计算复杂度和提高HASH函数质量上均有明显效果.文中还给出了排序中典型且实用的PASCAL程序和实例关键字集合的排序结果.

       

      Abstract: In this paper,key set's queue-sorting and fill-sorting have been improved and presented based on reference(1).As a consequence,the key set's frequency characteristic and the first and last characters queue characteristic will be kept relatively in all sortings.The backtracking method can be quite limitized and normalized to construct minimal perfect HASH function.It is very evident that the distance of backtracking will be abridged,the computing complexity will be decreased and the quality of HASH function constucted will be improved.The typical utility PASCAL program and concrete example key set's sorting results are shown too in this paper.

       

    /

    返回文章
    返回