(Available since version 1.0)
PriorityQueue::insert — Inserts an element in the queue
Insert value
with the priority
priority
in the queue.
value
The value to insert.
priority
The associated priority.
TRUE
.