Gets the two minimum-priority elements from Heap. Complexity:
logarithmic (amortized).
bug
This predicate is extremely inefficient and exists for compatibility
with earlier implementations of this library and SICStus compatibility.
It performs a linear amount of work in the worst case that a following
get_from_heap has to re-do.
Tags are associated to your profile if you are logged in