PriorityQueue is a container class like NeXT's List, except objects contained within a PriorityQueue are dequeued by unsigned integer priority.
PriorityQueue was written here at Onyschuk And Associates as part of a small project. After living a lonely life stashed away in a subdirectory, it's being
freed under the terms of the GNU General Public License.
Send all comments, suggestions, and flames to mark@plexus.guild.org (gotta
get that domain name changed :-).
Regards,
Mark
Onyschuk and Associates, Toronto Canada | mark@plexus.guild.org (NeXTmail)
NeXT Signal Processing Applications | 73700.3114@compuserve.com (YaWNmail)
A simple test program is provided which demonstrates how to use the object
and tests a few of the basic features.
This program was used to verify proper operation of some, but not all, of
the MiscPriorityQueue methods during development.
This test suite is maintained and authored by Mark Onyschuk.
Note: If you are running 3.0, you might get a series of warnings that look like the warnings below. They are harmless and should be ignored. On 3.2 systems, no warnings should occur.
queuetest.m: In function `prioritize':
queuetest.m:38: warning: void format, different type arg (arg 2)
queuetest.m:38: warning: int format, unsigned int arg (arg 3)
queuetest.m:49: warning: void format, different type arg (arg 2)
queuetest.m: In function `copyqueue':
queuetest.m:76: warning: void format, different type arg (arg 2)
queuetest.m:76: warning: int format, unsigned int arg (arg 3)
queuetest.m:92: warning: void format, different type arg (arg 2)
queuetest.m:92: warning: int format, unsigned int arg (arg 3)
queuetest.m:100: warning: void format, different type arg (arg 2)
queuetest.m:100: warning: int format, unsigned int arg (arg 3)