DOI QR코드

DOI QR Code

A Double-Ended Priority Queue with O(1) Insertion Amortized Time

상수 삽입 전이 시간을 가지는 양단 우선순위 큐

  • 정해재 (안동대학교 정보통신공학과)
  • Published : 2009.06.30

Abstract

Priority queues can be used in applications such as scheduling, sorting, retrival based on a priority like gene searching, shortest paths computation. This paper proposes a data structure using array representation for double-ended priority queue in which insertion and deletion takes O(1) amortized time and O(logn) time, respectively. To the author's knowledge, all the published array-based data structures for double ended priority queue support O(logn) time insertion and deletion operations.

우선순위 큐는 스케줄링, 정렬, 유전자 검색과 같은 우선순위에 따른 검색, 최단거리 계산과 같은 응용에 사용될 수 있다. 본 논문에서 제안하는 배열을 이용한 양단 우선순위 큐 자료구조는 삽입과 삭제 연산에 각각 O(1) 전이시간과 O(logn) 시간이 걸린다. 본 저자가 알고 있는 한, 지금까지의 배열을 이용한 양단우선순위 큐 알고리즘은 삽입과 삭제에 모두 O(logn) 시간이 걸린다.

Keywords

References

  1. 정해재, '배열 표현을 이용한 M-힙에서의 삽입/삭제 알고리즘', 정보처리학회논문지, 13-A(3), pp.261-266, Jun., 2006 https://doi.org/10.3745/KIPSTA.2006.13A.3.261
  2. D. Mehta, and S. Sahni(ed.), Handbook of Data Structures and Applications, Chapman & Hall/CRC, New York, 2005
  3. S. Bansal, S. Sreekanth, and P. Gupta, 'M-heap: A Modified heap data structures,' International Journal of Foundations of Computer Science, 14(3), pp.491-502, 2003 https://doi.org/10.1142/S0129054103001856
  4. S. Carlsson, J. Munro, and P. Poblete, 'An implicit binomial queue with constant insertion time,' 'Proceedings of the 1st Scandinavian Workshop on Algorithm Theory,' Lecture Notes in Computer Science, 318, pp.1-13, July, 1988 https://doi.org/10.1007/3-540-19487-8
  5. J. van Leeuwen and D. Wood, 'Interval heaps,' The Computer Journal, 36(3), 209-216, 1993 https://doi.org/10.1093/comjnl/36.3.209
  6. Y. Ding and M. Weiss, 'On the Complexity of Building an Interval Heap, Information Processing Letters, 50, 143-144, 1994 https://doi.org/10.1016/0020-0190(94)00020-4
  7. H. Jung, 'The d-deap*: A fast and simple cache-aligned d-ary deap,' Information Processing Letters, 93(2), pp.63-67, Jan., 2005 https://doi.org/10.1016/j.ipl.2004.10.001
  8. E. Horowitz, S. Sahni, and D. Mehta, Fundamentals of Data Structures in C++, W. H. Freeman, San Francisco, 1995