HOLDER_PAC
 All Classes Functions Modules
user_IndexTree.hpp
1 #ifndef USER_INDEXTREE_HPP
2 #define USER_INDEXTREE_HPP
3 
4 #include <string>
5 #include <iostream>
6 
8 
9 public:
10  struct node{
11  node* left;
12  node* right;
13  int splitIndex;
14  int topOffDiag_minRank;
15  int bottOffDiag_minRank;
16  int topOffDiag_maxRank;
17  int bottOffDiag_maxRank;
18  std::string LR_Method;
19  node(){
20  topOffDiag_minRank = -1;
21  bottOffDiag_minRank = -1;
22  topOffDiag_maxRank = -1;
23  bottOffDiag_maxRank = -1;
24  }
25  };
26 
27  node* rootNode;
28 
30  ~user_IndexTree();
31 
32  void setChildren_NULL(node* parent);
33  void printTree() const;
34 
35 private:
36  void printTree(const node* root)const;
37  void freeTree(node* root);
38 };
39 
40 #endif
Definition: user_IndexTree.hpp:10
Definition: user_IndexTree.hpp:7