![]() |
AlgoPlus v0.1.0
|
234-tree class More...
#include <234_tree.h>
Public Member Functions | |
ttf_tree (const std::vector< T > &elements={}) | |
default constructor of 234-tree class | |
bool | search (const T &key) const |
search function | |
void | insert (const T &key) |
insert function | |
std::vector< std::vector< std::vector< T > > > | level_order () const |
level_order function | |
Friends | |
std::ostream & | operator<< (std::ostream &out, ttf_tree< T > &t) |
operator << for ttf_tree class | |
234-tree class
|
inlineexplicit |
default constructor of 234-tree class
elements | by default empty, if you want to pass elements all in one to the tree |
|
inline |
insert function
key | thet key we want to insert |
|
inline |
level_order function
|
inline |
search function
key | the element we want to search |