ResearchBlog‎ > ‎

[Tool] tree.hh: an STL-like C++ tree class

posted Oct 7, 2012, 9:56 PM by Teng-Yok Lee
by Kasper Peeters, kasper.peeters (at) phi-sci.com

http://tree.phi-sci.com/index.html

The following quoted text is copied from the official site:

Overview

The tree.hh library for C++ provides an STL-like container class for n-ary trees, templated over the data stored at the nodes. Various types of iterators are provided (post-order, pre-order, and others). Where possible the access methods are compatible with the STL or alternative algorithms are available. The library is available under the terms of the GNU General Public License version 2 or 3 (see below).
Documentation is available in the form of a pdf file. See the documentation page for more details and sample programs.
The tree.hh library is meant for generic n-ary trees. For binary trees, AVL trees, quad trees and other data structures, you may want to look elsewhere.


Comments