Utility functions for the tree class. More...
#include <iostream>
#include "tree.hh"
#include <cassert>
#include <memory>
#include <stdexcept>
#include <iterator>
#include <set>
#include <queue>
#include <algorithm>
#include <cstddef>
Go to the source code of this file.
Namespaces | |
namespace | kptree |
Functions | |
template<class T > | |
void | kptree::print_subtree_bracketed (const tree< T > &t, typename tree< T >::iterator iRoot, std::ostream &str=std::cout) |
template<class T > | |
void | kptree::print_tree_bracketed (const tree< T > &t, std::ostream &str=std::cout) |
Utility functions for the tree class.
A collection of miscellaneous utilities that operate on the templated tree.hh class.
Copyright (C) 2001-2009 Kasper Peeters <kasper.peeters@aei.mpg.de>
(At the moment this only contains a printing utility, thanks to Linda Buisman <linda.buisman@studentmail.newcastle.edu.au>)
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Definition in file tree_util.hh.