Navigation
Synopsis Extract minimum element from priority queue.
Function tuple[int, int, PriorityQueue] extractMinimum(PriorityQueue Q)
Usage import util::PriorityQueue;
Description Find the pair with the minimum priority and remove it from PriorityQueue Q. Return a tuple consisting of:
  • minimum priority
  • associated value
  • PriorityQueue with minimal pair removed
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.