cheshirekow  v0.1.0
Tree.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012 Josh Bialkowski (jbialk@mit.edu)
3  *
4  * This file is part of mpblocks.
5  *
6  * mpblocks is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * mpblocks is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with mpblocks. If not, see <http://www.gnu.org/licenses/>.
18  */
27 #ifndef MPBLOCKS_SIMPLEX_TREE_TREE_HPP_
28 #define MPBLOCKS_SIMPLEX_TREE_TREE_HPP_
29 
30 
31 namespace mpblocks {
32 namespace simplex_tree {
33 
34 
35 template <class Traits>
37 {
38  m_root.insert(x);
39 }
40 
41 
42 
43 
44 
45 } // namespace simplex_tree
46 } // namespace mpblocks
47 
48 
49 
50 
51 #endif // TREE_HPP_
void insert(Node_t *)
recursively inserts a point and returns the simplex which it was inserted into
Definition: Tree.hpp:36
Traits::Node Node_t
Definition: Tree.h:49