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

[ algorithms, bsd3, library ] [ Propose Tags ]
Versions 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 Mon Sep 22 23:31:40 UTC 2008
Distributions NixOS:1.2
Downloads 1346 total (16 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

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.





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