22 if(this->root != NULL)
38 return this->root->
insert(data);
43 std::cout <<
"TODO" << std::endl;
52 std::cout << std::endl;
virtual void printInorder()
Definition: BintreeNode.h:120
Bintree()
Definition: Bintree.h:19
Definition: AvalancheTrainingSimulationEngine.h:39
Definition: BintreeNode.h:12
void setData(T data)
Definition: BintreeNode.h:36
virtual bool insert(T data)
Definition: BintreeNode.h:152
BintreeNode< T > * root
Definition: Bintree.h:15
void printEuler()
Definition: Bintree.h:62
void printInorder()
Definition: Bintree.h:47
Bintree(T _data)
Definition: Bintree.h:20
bool insert(T data)
Definition: Bintree.h:29
void printPostorder()
Definition: Bintree.h:55
virtual void printPostorder()
Definition: BintreeNode.h:130
virtual ~Bintree()
Definition: Bintree.h:21