37namespace energybased {
72 std::cout <<
"Error QuadTreeNM: No father Node exists";
Declaration of class QuadTreeNodeNM.
Doubly linked lists (maintaining the length of the list).
Helping data structure that stores the information needed to represent the modified quadtree in the N...
void create_new_rb_child(List< ParticleInfo > *L_x_ptr, List< ParticleInfo > *L_y_ptr)
Creates a new right_bottom_child of the actual node(importing L_x(y)_ptr).
void delete_tree_and_count_nodes(QuadTreeNodeNM *node_ptr, int &nodecounter)
Deletes the tree starting at node_ptr and counts the nodes of the subtree.
void set_root_ptr(QuadTreeNodeNM *r_ptr)
Sets root_ptr to r_ptr.
void create_new_lb_child()
void go_to_lt_child()
Sets act_ptr to the left_top_child_ptr.
void go_to_lb_child()
Sets act_ptr to the left_bottom_child_ptr.
void start_at_root()
Sets act_ptr to the root_ptr.
void set_act_ptr(QuadTreeNodeNM *a_ptr)
Sets act_ptr to a_ptr.
void create_new_lt_child(List< ParticleInfo > *L_x_ptr, List< ParticleInfo > *L_y_ptr)
Creates a new left_top_child of the actual node (importing L_x(y)_ptr).
QuadTreeNodeNM * root_ptr
points to the root node
void go_to_rt_child()
Sets act_ptr to the right_top_child_ptr.
void create_new_lt_child()
void cout_preorder(QuadTreeNodeNM *node_ptr)
Pre_order traversal of the tree rooted at node_ptr (with or without output of the M,...
void init_tree()
Creates the root node and lets act_ptr and root_ptr point to the root node.
void set_root_node(QuadTreeNodeNM &r)
Sets the content of *root_ptr to r.
void create_new_lb_child(List< ParticleInfo > *L_x_ptr, List< ParticleInfo > *L_y_ptr)
Creates a new left_bottom_child of the actual node (importing L_x(y)_ptr).
QuadTreeNodeNM * act_ptr
points to the actual node
void delete_tree(QuadTreeNodeNM *node_ptr)
Deletes the tree starting at node_ptr.
void create_new_rt_child(List< ParticleInfo > *L_x_ptr, List< ParticleInfo > *L_y_ptr)
Creates a new right_top_child of the actual node (importing L_x(y)_ptr).
void go_to_rb_child()
Sets act_ptr to the right_bottom_child_ptr.
QuadTreeNodeNM * get_act_ptr() const
Returns the actual/root node pointer of the tree.
void cout_preorder(QuadTreeNodeNM *node_ptr, int precision)
void go_to_father()
Sets act_ptr to the father_ptr.
void create_new_rb_child()
QuadTreeNodeNM * get_root_ptr() const
void create_new_rt_child()
Helping data structure that stores the information needed to represent a node of the reduced quad tre...
QuadTreeNodeNM * get_child_lb_ptr() const
QuadTreeNodeNM * get_child_rt_ptr() const
QuadTreeNodeNM * get_father_ptr() const
QuadTreeNodeNM * get_child_lt_ptr() const
QuadTreeNodeNM * get_child_rb_ptr() const
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.