ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
RealTimeMinQueue.h

The QUEUE with the minimum of exercise 3.15 of Morin's book in \( O( 1 ) \) worst-case time per operation, beyond the book. More...

Files

file  ADS/queue/RealTimeMinQueue.h
 The QUEUE with the minimum of exercise 3.15 of Morin's book in \( O( 1 ) \) worst-case time per operation, beyond the book [see ADT.h and MinQueue.h for the amortized one]: enqueue(), dequeue(), top(), size() and min(), by the real-time queue of Hood and Melville on arrays with the minimum.

Classes

class  ADS::RealTimeMinQueue< T, C >
 a QUEUE with its least item, every operation in \( O( 1 ) \) worst-case time More...

Detailed description

The QUEUE with the minimum of exercise 3.15 of Morin's book in \( O( 1 ) \) worst-case time per operation, beyond the book.

The definitions, the invariants and the costs of the area are in Theory of queues.