LoAdSG
Static_IndexOneD Class Reference

#include <index.h>

Inheritance diagram for Static_IndexOneD:

Static Protected Member Functions

static int nextRight (int index)
 

‍next left index on same level


 
static int nextLeft (int index, int level)
 

‍next right index on same level


 
static int nextRight (int index, int level)
 

‍next left index on level >= depth


 

Static Private Member Functions

static int internDepth (int index)
 

‍next right index on level >= depth


 

Detailed Description

Elementary base class for one dimensional data

 Tree structure                          depth
 
        0 --------------- 1                0 
                         /
                        /
                       /
                      /
                     /  
                    /
                   /
                  /
                10                         1
               /  \
              /    \
           100      101                    2
 

    this means:   left  adds 0, right adds 1
              /    \
             /      \
            0        1
            
            
Indices (and coordinates) 


         0 --------------- 1                
                         /
                        /
                       /
                      /
                     /  
                    /
                   /
                  /
                 2
               (0.5)                          
                / \
               /   \
              4     5
           (0.25) (0.75)                    

The documentation for this class was generated from the following file: