PSQueue

Priority Search Queue

Version on this page:1.1@rev:1
LTS Haskell 22.14:1.2.0@rev:1
Stackage Nightly 2024-03-28:1.2.0@rev:1
Latest on Hackage:1.2.0@rev:1

See all snapshots PSQueue appears in

BSD-3-Clause licensed by Ralf Hinze
Maintained by Scott E. Dillard
This version can be pinned in stack with:PSQueue-1.1@sha256:188b45e7cca61d59df13a0a24eaa259b54eaedbafc639bef519e5f38d718fd3e,1036

Module documentation for 1.1

Depends on 1 package(full list with versions):
Used by 1 package in nightly-2015-03-16(full list with versions):

A priority search queue efficiently supports the opperations of both a search tree and a priority queue. A Binding is a product of a key and a priority. Bindings can be inserted, deleted, modified and queried in logarithmic time, and the binding with the least priority can be retrieved in constant time. A queue can be built from a list of bindings, sorted by keys, in linear time.