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.
|The LaTeX Project Public License 1.3c
|TeX Live as huffman
MiKTeX as huffman
Download the contents of this package in one zip archive (128.1k).
Maybe you are interested in the following packages as well.
- fiziko: A METAPOST library for physics textbook illustrations
- mptrees: Probability trees with METAPOST
- bpolynomial: Drawing polynomial functions of up to order 3
- hatching: METAPOST macros for hatching interior of closed paths