Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C++ n-ary tree library

Tags:

c++

tree

What is the most complete n-ary tree implementation for C++ ? I need a simple (not boost BGL please) implementation to use in a project compatible with LGPL, so the Tree.hh desn't fit.

like image 852
Tarantula Avatar asked Mar 02 '11 17:03

Tarantula


2 Answers

I know you said you don't want it, but...why not at least demo/prototype with BGL? At worst you've wasted a few hours, and at best you realize that (for your particular use case at least) it's not as complicated as you thought it would be. The up-side is that BGL is likely the most well tested option out there.

like image 53
Kevin Avatar answered Sep 24 '22 12:09

Kevin


Looking for an answer to the same question I've found http://www.datasoftsolutions.net/tree_container_library/overview.php which seems to be under the 3-clause BSD licence.

like image 30
peterph Avatar answered Sep 22 '22 12:09

peterph