Skip to content

num::structures::debug::verify_heap_order

Defined in header <structures/debug.hpp>

template <class PQ, class Key = double, std::integral Index = num::idx>
void verify_heap_order(const PQ &pq, Index capacity,
                       std::source_location loc = std::source_location::current());

Verify the heap axiom: the reported top key is minimal over the queue.