garsia-wachs: A Functional Implementation of the Garsia-Wachs Algorithm

[ algorithms, bsd3, library ] [ Propose Tags ]

The Garsia-Wachs algorithm builds a binary tree with minimum weighted path length from weighted leaf nodes given in symmetric order. This can be used to build optimum search tables, to balance a ropes data structure in an optimal way.

Versions [RSS] [faq] 1.0, 1.1, 1.2
Dependencies base (<3 || >=3.0), containers (>=0.1) [details]
License BSD-3-Clause
Copyright (c) Nicolas Pouillard
Author Nicolas Pouillard
Maintainer Nicolas Pouillard <>
Category Algorithms
Uploaded by NicolasPouillard at 2008-09-22T23:06:19Z
Distributions NixOS:1.2
Downloads 2631 total (15 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]



Manual Flags

Automatic Flags

Use the base packages from before version 6.8


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees