61 inline unsigned char depth()
const
103 unsigned int child(
unsigned int i_child)
const
#define ASSERT_LT(a, b)
Definition of comparative assert macro (Less Than) only for debug mode.
bool is_leaf() const
return true if node is leaf
unsigned int axis() const
return axes (coordination of splitting) of inner node
void set_non_leaf(unsigned int left, unsigned int right, unsigned int axis)
unsigned int leaf_begin() const
static const unsigned char dimension
count of dimensions
unsigned int leaf_size() const
unsigned char depth() const
return depth of leaf node
void set_depth(unsigned int depth)
unsigned int child_[child_count]
child nodes indexes
void set_leaf(unsigned int begin, unsigned int end, double bound, unsigned int depth)
unsigned int child(unsigned int i_child) const
Return index of child node.
unsigned int leaf_end() const
static const unsigned int child_count
count of subareas - don't change