Copyright © Philip M. Parker, INSEAD. Terms of Use.

PRIORITY QUEUE

Specialty Definition: PRIORITY QUEUE

DomainDefinition

Computing

Priority queue A data structure with three operations: insert a new item, return the highest priority item, and remove the highest priority item. The obvious way to represent priority queues is by maintaining a sorted list but this can make the insert operation very slow. Greater efficiency can be achieved by using heaps. (1996-03-12). Source: The Free On-line Dictionary of Computing.

Math

An abstract data type to efficiently support finding the item with the highest priority across a series of operations. The basic operations are: insert, find-minimum (or maximum), and delete-minimum (or maximum). Some implementations also efficiently support join two priority queues (meld), delete an arbitrary item, and increase the priority of a item (decrease-key). (references)

Source: compiled by the editor from various references; see credits.

Top     

Specialty Definition: Priority queue

(From Wikipedia, the free Encyclopedia)

A priority queue is an abstract data type supporting the following two operations:

The simplest way to implement a priority queue is with an array of records containing elements and priorities, along with a count that tells how many elements of the array are used; adding an element involves incrementing that count and writing the new element and priority into the previously unused slot; removing the element requires searching through the array for the element with the highest priority, copying the last element into its slot, and decrementing that count.

This makes removing an element O(n) in the number of elements in the queue, which is somewhat inefficient if the queue gets large; a heap is a more efficient way to implement a priority queue for a large number of elements.

See also: scheduling

External links

Source: adapted by the editor from Wikipedia, the free encyclopedia under a copyleft GNU Free Documentation License (GFDL) from the article "Priority queue."

Top     

Crosswords: PRIORITY QUEUE

Specialty definitions using "PRIORITY QUEUE": best-first search, binomial heapcalendar queueDijkstra's algorithm, double-ended priority queuehash heapmonotone priority queueunsolvable problem. (references)

Top     

Frequency of Internet Keywords: PRIORITY QUEUE

The following statistics estimate the number of searches per day across the major English-language search engines as identified by various trade publications. Hyperlinks lead to commercial use of the expression at Amazon.com.
 
ExpressionFrequency
per Day

priority queue

9
Source: compiled by the editor from various references; see credits.

Top     

Anagrams: PRIORITY QUEUE

Scrabble® Enable2K-Verified Anagrams

Words within the letters "e-e-i-i-o-p-q-r-r-t-u-u-y"

-5 letters: portiere, priority, requiter.

Source: compiled by the editor from various references; see credits.

SCRABBLE® is a registered trademark. All intellectual property rights in and to the game are owned in the U.S.A and Canada by Hasbro Inc., and throughout the rest of the world by J.W. Spear & Sons Limited of Maidenhead, Berkshire, England, a subsidiary of Mattel Inc. Mattel and Spear are not affiliated with Hasbro.

Top     

Alternative Orthography: PRIORITY QUEUE


Hexadecimal (or equivalents, 770AD-1900s) (references)

50 52 49 4F 52 49 54 59      51 55 45 55 45

Leonardo da Vinci (1452-1519; backwards) (references)

    

Binary Code (1918-1938, probably earlier) (references)

01010000 01010010 01001001 01001111 01010010 01001001 01010100 01011001 00100000 01010001 01010101 01000101 01010101 01000101

HTML Code (1990) (references)

&#80 &#82 &#73 &#79 &#82 &#73 &#84 &#89 &#32 &#81 &#85 &#69 &#85 &#69

ISO 10646 (1991-1993) (references)

0050 0052 0049 004F 0052 0049 0054 0059      0051 0055 0045 0055 0045

Encryption (beginner's substitution cypher): (references)

505243495243545925155395539

Top     



INDEX

1. Crosswords
2. Expressions: Internet
3. Anagrams
4. Orthography
5. Bibliography


  

Copyright © Philip M. Parker, INSEAD. Terms of Use.