Defined in File BucketPQ.hpp
public Aux::PrioQueue< int64_t, index >
(Template Class PrioQueue)
Addressable priority queue for values in the range [0,n) and integer keys (= priorities) in the range [minPrio, maxPrio]. minPrio and maxPrio can be positive or negative, respectively with the obvious constraint minPrio <= maxPrio. Amortized constant running time for each operation.
Public Functions
Builds priority queue from the vector keys, values are indices of keys.
keys – [in] Vector of keys
minAdmissibleKey – [in] Minimum admissible key
maxAdmissibleKey – [in] Maximum admissible key
Builds priority queue of the specified capacity capacity.
Default destructor
Removes the element with minimum key and returns the key-value pair.
Modifies entry with value value. The entry is then set to newKey with the same value. If the corresponding key is not present, the element will be inserted.
Number of elements in PQ.
Whether or not the PQ is empty.