Libtree

Introduction

Libtree is a general-purpose tree library that provides various tree structures and operations for them, implemented in Java. Below is an example of how to use Libtree.

OrderedTree<Integer> tree = new OrderedTree<Integer>(1);
tree.add(2);
tree.add(3);
tree.getChildAt(0).add(4);
System.out.println(tree);

The code above outputs the following:

1
|-- 2
|   `-- 4
`-- 3

Requirements

You need the following software to run Libtree.

Download

The latest version is 0.6.0. Libtree is available for download, and licensed under the GNU General Public License (version 2 or later).

Documentation

Citation

If you are using Annobase, please cite it as follows.

Jun Araki. 2011. Libtree: A General-purpose Tree Library. http://junaraki.net/software/libtree.

Here is the corresponding BibTex entry for the citation.

@misc{Araki2011Libtree,
  author       = {Jun Araki},
  title        = {{Libtree}: {A} General-purpose Tree Library},
  howpublished = {\url{http://junaraki.net/software/libtree}},
  year         = {2011},
}

Change log

Libtree 0.6.0 (2015-05-10):

Libtree 0.5.0 (2014-06-05):

Libtree 0.4.0 (2014-04-02):

Libtree 0.3.2 (2012-10-07):

Libtree 0.3 (2011-06-30):

Libtree 0.2 (2011-06-24):

Libtree 0.1 (2011-06-19):