The node for interval tree. More...
#include <interval_tree_node.h>
Public Member Functions | |
IntervalTreeNode () | |
Create an empty node. More... | |
IntervalTreeNode (SimpleInterval< S > *new_interval) | |
Create an node storing the interval. More... | |
void | print (IntervalTreeNode *left, IntervalTreeNode *right) const |
Print the interval node information: set left = nil and right = root. More... | |
~IntervalTreeNode () | |
Protected Attributes | |
S | high |
S | key |
IntervalTreeNode * | left |
S | max_high |
IntervalTreeNode * | parent |
bool | red |
red or black node: if red = false then the node is black More... | |
IntervalTreeNode * | right |
SimpleInterval< S > * | stored_interval |
interval stored in the node More... | |
Friends | |
template<typename > | |
class | IntervalTree |
class | IntervalTree< double > |
The node for interval tree.
Definition at line 55 of file interval_tree_node.h.
fcl::detail::IntervalTreeNode< S >::IntervalTreeNode |
Create an empty node.
Definition at line 54 of file interval_tree_node-inl.h.
fcl::detail::IntervalTreeNode< S >::IntervalTreeNode | ( | SimpleInterval< S > * | new_interval | ) |
Create an node storing the interval.
Definition at line 61 of file interval_tree_node-inl.h.
fcl::detail::IntervalTreeNode< S >::~IntervalTreeNode |
Definition at line 72 of file interval_tree_node-inl.h.
void fcl::detail::IntervalTreeNode< S >::print | ( | IntervalTreeNode< S > * | left, |
IntervalTreeNode< S > * | right | ||
) | const |
Print the interval node information: set left = nil and right = root.
Definition at line 79 of file interval_tree_node-inl.h.
Definition at line 60 of file interval_tree_node.h.
|
friend |
Definition at line 62 of file interval_tree_node.h.
|
protected |
Definition at line 81 of file interval_tree_node.h.
|
protected |
Definition at line 79 of file interval_tree_node.h.
|
protected |
Definition at line 88 of file interval_tree_node.h.
|
protected |
Definition at line 83 of file interval_tree_node.h.
|
protected |
Definition at line 92 of file interval_tree_node.h.
|
protected |
red or black node: if red = false then the node is black
Definition at line 86 of file interval_tree_node.h.
|
protected |
Definition at line 90 of file interval_tree_node.h.
|
protected |
interval stored in the node
Definition at line 77 of file interval_tree_node.h.