comp.lang.ada
 help / color / mirror / Atom feed
* priority queues?????????
@ 1994-11-08 19:36 JC
  1994-11-09  3:23 ` Douglas W. Jones,201H MLH,3193350740,3193382879
  0 siblings, 1 reply; 2+ messages in thread
From: JC @ 1994-11-08 19:36 UTC (permalink / raw)



can anybody mail me a fully working and documented ada priority queue, would be
extremely grateful.

??????????????????????????????????????????????????????????????????????????

 --

                                                     JC



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: priority queues?????????
  1994-11-08 19:36 priority queues????????? JC
@ 1994-11-09  3:23 ` Douglas W. Jones,201H MLH,3193350740,3193382879
  0 siblings, 0 replies; 2+ messages in thread
From: Douglas W. Jones,201H MLH,3193350740,3193382879 @ 1994-11-09  3:23 UTC (permalink / raw)


From article <39ok0c$60p@columbia.acc.brad.ac.uk>,
by J.Coates@bradford.ac.uk (JC):
> 
> can anybody mail me a fully working and documented ada priority queue ..

What you want is available from the following FTP and WWW servers:

	ftp://ftp.cs.uiowa.edu/pub/jones
	www://www.cs.uiowa.edu/~jones/index.html

Look under simulation support tools, then under event set implementations,
and you'll find a splay-tree implementation of the pending event set.
The pending event set, as used in discrete event simulation, is exactly
a priority queue.  The particular implementation provided has O(log n)
expected time for enqueue and dequeue, assuming randomly distributed
priorities.  It gets better if they aren't random.

The same code is in the STARS library.  Either nobody uses the stuff,
or there really aren't any bugs in it.  I've been using it for years.
Cross your fingers.  If you really can't FTP it, I can mail it.

				Doug Jones
				jones@cs.uiowa.edu



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1994-11-09  3:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1994-11-08 19:36 priority queues????????? JC
1994-11-09  3:23 ` Douglas W. Jones,201H MLH,3193350740,3193382879

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox