The garsia-wachs package

[ Tags: 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 1.0, 1.1, 1.2
Dependencies base (<3 || >=3.0), containers (>=0.1) [details]
License BSD3
Copyright (c) Nicolas Pouillard
Author Nicolas Pouillard
Maintainer Nicolas Pouillard <>
Category Algorithms
Uploaded Mon Sep 22 23:06:19 UTC 2008 by NicolasPouillard
Distributions NixOS:1.2
Downloads 1330 total (20 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





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