huffman – Drawing binary Huffman trees with METAPOST and METAOBJ
This METAPOST package allows to draw binary Huffman trees from two arrays : an array of strings, and an array of weights (numeric). It is based on the METAOBJ package which provides many tools for building trees in general.
Sources | /graphics/metapost/contrib/macros/huffman |
Documentation | |
Home page | https://plmlab.math.cnrs.fr/mchupin/huffman |
Repository | https://github.com/chupinmaxime/huffman/ |
Version | 0.1 2023-05-10 |
Licenses | The LaTeX Project Public License 1.3c |
Maintainer | Maxime Chupin |
Contained in | TeX Live as huffman MiKTeX as huffman |
Topics | Graphics metapost Tree |
Download the contents of this package in one zip archive (128.1k).
Announcements
Suggestions
Maybe you are interested in the following packages as well.
- splines: METAPOST macros for drawing cubic spline interpolants
- byrne: This package provides a set of tools to typeset geometric proofs in the style of Oliver Byrne's 1847 ed. of Euclid's "Elements"
- repere: METAPOST macros for secondary school mathematics teachers
- hatching: METAPOST macros for hatching interior of closed paths
Community Comments