diff options
author | drochner <drochner@pkgsrc.org> | 2003-07-24 13:28:16 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2003-07-24 13:28:16 +0000 |
commit | 7de548e722a1db5c229f82e2279854da979fae7a (patch) | |
tree | 979a2de34a58d29fd29a181eaf14c8c84b036698 /devel/py-pqueue/DESCR | |
parent | cdef5ac9e16d8d7a3eacb0ed936ec220315457c6 (diff) | |
download | pkgsrc-7de548e722a1db5c229f82e2279854da979fae7a.tar.gz |
add py-pqueue-0.2, a fast priority-queue implementation
Diffstat (limited to 'devel/py-pqueue/DESCR')
-rw-r--r-- | devel/py-pqueue/DESCR | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/py-pqueue/DESCR b/devel/py-pqueue/DESCR new file mode 100644 index 00000000000..e762eed0a01 --- /dev/null +++ b/devel/py-pqueue/DESCR @@ -0,0 +1,10 @@ +This C extension implements a priority-queue object using a fibonacci +heap as the underlying data structure. This data structure supports +the following operations with the given amortized time-complexity: + + - insert: O(1) + - find-min: O(1) + - extract-min: O(lg N) + - decrease-key: O(1) + - increase-key: O(lg N) (== delete, insert) + - delete: O(lg N) (== decrease-key, extract-min) |