ekmett / ekmett/heaps

Functional Soft Heaps

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
34
Forks
9
PR merge metrics
No merged PRs in 30d

Description

[Chazelle-style Soft Heaps](http://en.wikipedia.org/wiki/Soft_heap) 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.)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the existing Brodal/Okasaki heap implementations and the linked Chazelle-style Soft Heaps description. Define the functional operations and guarantees needed for soft minimal spanning trees, near sorting, and exact selection; done means the library includes a working functional soft heap suitable for those uses.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.