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 | Tree Graphics metapost |
Download the contents of this package in one zip archive (128.1k).
Announcements
Suggestions
Maybe you are interested in the following packages as well.
- 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"
- mp-neuralnetwork: Drawing artificial neural networks with METAPOST and METAOBJ
- mptrees: Probability trees with METAPOST
- cmarrows: METAPOST arrows and braces in the Computer Modern style
Community Comments