Macaulay2 » Documentation
Packages » PriorityQueue > priorityQueue
next | previous | forward | backward | up | index | toc

priorityQueue -- create a new PriorityQueue

Synopsis

Description

i1 : Q = priorityQueue {1,5,2,-3,0}

o1 = PriorityQueue{...4...}

o1 : PriorityQueue
i2 : min Q

o2 = -3

Ways to use priorityQueue :

For the programmer

The object priorityQueue is a method function.