Not currently logged in. Login now.

Library

Name:data.priority-map
Category:Utility
Subcategory:General
License:Eclipse Public License
Description:
A priority map is very similar to a sorted map, but whereas a sorted map produces a sequence of the entries sorted by key, a priority map produces the entries sorted by value.

In addition to supporting all the functions a sorted map supports, a priority map can also be thought of as a queue of [item priority] pairs. To support usage as a versatile priority queue, priority maps also support conj/peek/pop operations.
Date Added:2012-10-03 04:40:47
Date Changed:2012-10-03 04:40:47