Marpa

Help: test-pqueue
Login

Help: test-pqueue

Tcl 2016 Conference, Houston/TX, US, Nov 14-18
Send your abstracts to tclconference@googlegroups.com by Sep 12.

The "test-pqueue" command:

This command is used for testing the PQueue object. There are one or more arguments, each of the form:
(1)
NUMBER/TEXT
(2)
^
(3)
-v

Form (1) arguments add an entry to the queue with value NUMBER and content TEXT. Form (2) pops off the queue entry with the smallest value. Form (3) (the -v option) causes the heap to be displayed after each subsequent operation.