mlpack
Namespaces | Functions
enumerate_tree.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mlpack
 Linear algebra utility functions, generally performed on matrices or vectors.
 
 mlpack::tree
 Trees and tree-building procedures.
 

Functions

template<class TreeType , class Walker >
void mlpack::tree::enumerate::EnumerateTreeImpl (TreeType *tree, Walker &walker, bool root)
 
template<class TreeType , class Walker >
void mlpack::tree::EnumerateTree (TreeType *tree, Walker &walker)
 Traverses all nodes of the tree, including the inner ones. More...
 

Detailed Description

Author
Ivan (Jonan) Georgiev

This file contains function that performs a simple depth-first walk on the tree calling Enter and Leave methods of a provided walker.

mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see http://www.opensource.org/licenses/BSD-3-Clause for more information.