View source: R/40-priority_queue-queue-ops.R
| peek_all_min | R Documentation |
Returns the full minimum-priority tie run as a priority_queue.
peek_all_min(x)
x |
A |
The return is another priority_queue(), use as.list() to convert
the result to a standard R list.
A priority_queue containing all minimum-priority elements in stable
queue order. Returns an empty queue when x is empty.
x <- priority_queue("a", "b", "c", priorities = c(2, 1, 1))
peek_all_min(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.