PSQueue

Priority Search Queue

Latest on Hackage:1.1.0.1@rev:2

See all snapshots PSQueue appears in

BSD-3-Clause licensed by Ralf Hinze
Maintained by Scott E. Dillard

Module documentation for 1.1

This version can be pinned in stack with:PSQueue-1.1@sha256:188b45e7cca61d59df13a0a24eaa259b54eaedbafc639bef519e5f38d718fd3e,1036

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.

Depends on 1 package(full list with versions):
Used by 1 package in lts-2.22(full list with versions):