PriorityQueue-class: A PriorityQueue reference class

Description Fields Methods See Also

Description

Derived from the Queue class.

Fields

data

Initial data to populate the queue.

priorities

Numeric queue priorities.

Methods

pop(N = 1)

Removes and returns head of queue (or raises error if queue is empty). N is number of items to pop.

push(item)

Inserts element at back of the queue.

See Also

Queue-class for information on base class.



Search within the liqueueR package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.