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

the PRIORITYQUEUE of section 10.1 with handles and decreasing priority: the types Item, Priority and Handle, and empty(), min(), deleteMin(), insert( x , p ), which gives the handle of \( x \), and decrease( y , p ) More...

#include <ADS/priority/PriorityQueue.h>

Concept definition

template< class Q >
requires( Q q , const Q cq , const typename Q::Item & x ,
const typename Q::Priority & p , typename Q::Handle y )
{
{ cq.empty() } -> std::same_as< bool >;
{ cq.min() } -> std::convertible_to< typename Q::Item >;
{ q.deleteMin() } -> std::convertible_to< typename Q::Item >;
{ q.insert( x , p ) } -> std::same_as< typename Q::Handle >;
q.decrease( y , p );
}
the PRIORITYQUEUE of section 10.1 with handles and decreasing priority: the types Item,...
Definition PriorityQueue.h:115
the PRIORITYQUEUE of section 10.1 without handles: the type of the items (Item or value_type),...
Definition PriorityQueue.h:102

Detailed description

the PRIORITYQUEUE of section 10.1 with handles and decreasing priority: the types Item, Priority and Handle, and empty(), min(), deleteMin(), insert( x , p ), which gives the handle of \( x \), and decrease( y , p )