ekmett / heaps

Asymptotically optimal Brodal/Okasaki heaps
http://hackage.haskell.org/package/heaps
BSD 3-Clause "New" or "Revised" License
29 stars 10 forks source link

Functional Soft Heaps #1

Open ekmett opened 14 years ago

ekmett commented 14 years ago

Chazelle-style Soft Heaps would be a great addition to this library. They are asymptotically optimal for a different class of problems than the Brodal/Okasaki heaps, and while a functional implementation cannot delete non-minimum nodes with the same O(1/epsilon) guarantee, you don't need that functionality for many of the algorithms that this structure is suited to. (soft minimal spanning trees, near sorting, exact selection with soft heaps, etc.)