ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::PriorityQueue Concept Reference

the PRIORITYQUEUE of section 10.1 without handles: the type of the items (Item or value_type), empty(), and queue_insert() of an item with the keys of the order of the queue (a Priority, one or two Keys, or none), queue_min() and queue_deleteMin(), the item of smallest priority read and removed More...

#include <ADS/priority/PriorityQueue.h>

Concept definition

template< class Q >
concept PriorityQueue = requires( Q & q , const Q & cq )
{
{ cq.empty() } -> std::convertible_to< bool >;
{ ADS::queue_min( q ) } -> std::convertible_to< queue_item_t< Q > >;
{ ADS::queue_deleteMin( q ) } -> std::convertible_to< queue_item_t< Q > >;
} && detail::queue_keys< Q >
the PRIORITYQUEUE of section 10.1 without handles: the type of the items (Item or value_type),...
Definition PriorityQueue.h:102
constexpr detail::QueueDeleteMin queue_deleteMin
the item of smallest priority of , removed: q.deleteMin(), else queue_deleteMin( q ) found by ADL,...
Definition QueueCustomization.h:279
constexpr detail::QueueMin queue_min
the item of smallest priority of : q.min(), else queue_min( q ) found by ADL, else q....
Definition QueueCustomization.h:255
typename detail::queue_item< Q >::type queue_item_t
the items of the queue Q: Q::Item, else Q::value_type
Definition QueueCustomization.h:93

Detailed description

the PRIORITYQUEUE of section 10.1 without handles: the type of the items (Item or value_type), empty(), and queue_insert() of an item with the keys of the order of the queue (a Priority, one or two Keys, or none), queue_min() and queue_deleteMin(), the item of smallest priority read and removed