Go to the source code of this file.
Functions | 
| void  | readFromFile (char *FileName, struct ChildrenNum **TreeInfo, int n) | 
| void  | buildTree (struct Node *root, struct ChildrenNum *treeInfo, double *u) | 
| void  | initializeRoot (struct Node **Root, char *FileName, double *u, int rootNum, int n) | 
| void  | initializeRootBinary (struct Node **Root, double *u, int n) | 
| void  | initializeRootDepth1 (struct Node **Root, double *u, int n) | 
| void  | merge (struct Node *root, struct Node *maxNode) | 
| void  | computeMaximalMean (struct Node *root) | 
| void  | computeMaximalMean_without_nonnegative (struct Node *root) | 
| void  | computeSolution (double *x, struct Node *root) | 
| void  | traversalTree (struct Node *root) | 
| void  | deleteTree (struct Node *root) | 
| void  | orderTree (double *x, char *FileName, double *u, int rootNum, int n) | 
| void  | orderTree_without_nonnegative (double *x, char *FileName, double *u, int rootNum, int n) | 
| void  | orderTreeBinary (double *x, double *u, int n) | 
| void  | orderTreeDepth1 (double *x, double *u, int n) | 
Macro Definition Documentation
      
        
          | #define IGNORE_IN_CLASSLIST | 
        
      
 
 
Function Documentation
      
        
          | void buildTree  | 
          ( | 
          struct Node *  | 
          root,  | 
        
        
           | 
           | 
          struct ChildrenNum *  | 
          treeInfo,  | 
        
        
           | 
           | 
          double *  | 
          u  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | void computeMaximalMean  | 
          ( | 
          struct Node *  | 
          root | ) | 
           | 
        
      
 
 
      
        
          | void computeMaximalMean_without_nonnegative  | 
          ( | 
          struct Node *  | 
          root | ) | 
           | 
        
      
 
 
      
        
          | void computeSolution  | 
          ( | 
          double *  | 
          x,  | 
        
        
           | 
           | 
          struct Node *  | 
          root  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | void deleteTree  | 
          ( | 
          struct Node *  | 
          root | ) | 
           | 
        
      
 
 
      
        
          | void initializeRoot  | 
          ( | 
          struct Node **  | 
          Root,  | 
        
        
           | 
           | 
          char *  | 
          FileName,  | 
        
        
           | 
           | 
          double *  | 
          u,  | 
        
        
           | 
           | 
          int  | 
          rootNum,  | 
        
        
           | 
           | 
          int  | 
          n  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | void initializeRootBinary  | 
          ( | 
          struct Node **  | 
          Root,  | 
        
        
           | 
           | 
          double *  | 
          u,  | 
        
        
           | 
           | 
          int  | 
          n  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | void initializeRootDepth1  | 
          ( | 
          struct Node **  | 
          Root,  | 
        
        
           | 
           | 
          double *  | 
          u,  | 
        
        
           | 
           | 
          int  | 
          n  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | void merge  | 
          ( | 
          struct Node *  | 
          root,  | 
        
        
           | 
           | 
          struct Node *  | 
          maxNode  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | void orderTree  | 
          ( | 
          double *  | 
          x,  | 
        
        
           | 
           | 
          char *  | 
          FileName,  | 
        
        
           | 
           | 
          double *  | 
          u,  | 
        
        
           | 
           | 
          int  | 
          rootNum,  | 
        
        
           | 
           | 
          int  | 
          n  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | void orderTree_without_nonnegative  | 
          ( | 
          double *  | 
          x,  | 
        
        
           | 
           | 
          char *  | 
          FileName,  | 
        
        
           | 
           | 
          double *  | 
          u,  | 
        
        
           | 
           | 
          int  | 
          rootNum,  | 
        
        
           | 
           | 
          int  | 
          n  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | void orderTreeBinary  | 
          ( | 
          double *  | 
          x,  | 
        
        
           | 
           | 
          double *  | 
          u,  | 
        
        
           | 
           | 
          int  | 
          n  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | void orderTreeDepth1  | 
          ( | 
          double *  | 
          x,  | 
        
        
           | 
           | 
          double *  | 
          u,  | 
        
        
           | 
           | 
          int  | 
          n  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | void readFromFile  | 
          ( | 
          char *  | 
          FileName,  | 
        
        
           | 
           | 
          struct ChildrenNum **  | 
          TreeInfo,  | 
        
        
           | 
           | 
          int  | 
          n  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | void traversalTree  | 
          ( | 
          struct Node *  | 
          root | ) | 
           |