系统仿真学报 ›› 2017, Vol. 29 ›› Issue (1): 91-98.doi: 10.16182/j.issn1004731x.joss.201701013

• 仿真系统与技术 • 上一篇    下一篇

一种高效的动态优先队列数据结构

祁彬斌, 庞明勇   

  1. 南京师范大学教育技术系,江苏 南京 210097
  • 收稿日期:2015-04-24 修回日期:2015-07-07 出版日期:2017-01-08 发布日期:2020-06-01
  • 作者简介:祁彬斌(1991-),男,江苏盐城,博士生,研究方向为数字几何处理;庞明勇(1968-),男,安徽淮南,博士,教授,博导,研究方向为数字几何处理。
  • 基金资助:
    国家自然科学基金(41271383, 60873175),江苏省现代教育技术研究课题(2014-R-33356)

Efficient Priority Queue Constructed on Heap-like Data Structure

Qi Binbin, Pang Mingyong   

  1. Department of Educational Technology, Nanjing Normal University, Nanjing 210097, China
  • Received:2015-04-24 Revised:2015-07-07 Online:2017-01-08 Published:2020-06-01

摘要: 数据结构的组织形式在算法实现中占有重要地位。探讨了优先队列中的数据结构组织问题,给出一种高效的堆式队列数据组织结构,阐明了该数据结构的基本操作,理论上分析了其时间和空间性能,通过实验和应用实例验证了堆式队列数据结构动态存取效率的高效性、存储空间的自适应性以及实现上的简单性。实验结果表明,堆式优先队列数据结构可有效地提高各类仿真系统的性能,也可用于组合优化等多种应用问题的解决。

关键词: 数据结构, 优先队列, 堆式队列, 算法效率

Abstract: How to organize data structure is a very important issue for various algorithm implementations. In this paper, a novel and efficient priority-queue was presented based on a kind of heap-like data structure. The organization structure of the queue is first introduced and then a set of basic operators on the queue were elucidated, the time and space performances of the data structure was also theoretically analyzed. Our data structure has several advantages, including the adaptability of storage space as well as the simplicity and convenience of implementation. Experimental results showed that the heuristic priority queue data structure can effectively improve the performance of various types of simulation systems, relative to its traditional counterparts. Our data structure can be used to solve a variety of application problems such as combinatorial optimization.

Key words: data structure, priority queue, heap-like queue, efficiency of algorithm

中图分类号: