Priority Queue

Priority Queue

Lambert M. Surhone, Mariam T. Tennoe, Susan F. Henssonow

     

бумажная книга



Издательство: Книга по требованию
Дата выхода: июль 2011
ISBN: 978-6-1335-6047-5
Объём: 144 страниц
Масса: 239 г
Размеры(В x Ш x Т), см: 23 x 16 x 1

A priority queue is an abstract data type in computer programming that supports the following three operations: insertWithPriority: add an element to the queue with an associated priority; getNext: remove the element from the queue that has the highest priority, and return it (also known as "PopElement(Off)", or "GetMinimum"); peekAtNext (optional): look at the element with highest priority without removing it. One can imagine a priority queue as a modified queue, but when one would get the next element off the queue, the highest-priority one is retrieved first. Stacks and queues may be modeled as particular kinds of priority queues. In a stack, the priority of each inserted element is monotonically increasing; thus, the last element inserted is always the first retrieved. In a queue, the priority of each inserted element is monotonically decreasing; thus, the first element inserted is always the first retrieved.

Данное издание не является оригинальным. Книга печатается по технологии принт-он-деманд после получения заказа.

Каталог