#include <BCP_tm_node.hpp>
Inheritance diagram for BCP_tm_node:


Data members | |
| BCP_tm_node_status | status |
| int | _index |
| BCP_tm_node * | _parent |
| int | _birth_index |
| BCP_vec< BCP_tm_node * > | _children |
| int | lp |
| int | cg |
| int | cp |
| int | vg |
| int | vp |
| int | _processed_leaf_num |
| int | _pruned_leaf_num |
| int | _tobepriced_leaf_num |
| int | _leaf_num |
| int | _core_storage:4 |
| int | _var_storage:4 |
| int | _cut_storage:4 |
| int | _ws_storage:4 |
| int | _locally_stored:2 |
| int | _data_location:30 |
| BCP_tm_node_data | _data |
| static int | num_local_nodes |
| static int | num_remote_nodes |
Public Member Functions | |
Constructors and destructor | |
| BCP_tm_node (int level, BCP_node_change *desc) | |
| ~BCP_tm_node () | |
Query methods | |
| int | index () const |
| int | child_num () const |
| int | birth_index () const |
| BCP_tm_node * | child (int ind) |
| BCP_tm_node * | parent () |
| const BCP_tm_node * | child (int ind) const |
| const BCP_tm_node * | parent () const |
Modifying methods | |
| int | mark_descendants_for_deletion () |
| void | remove_child (BCP_tm_node *node) |
| void | reserve_child_num (int num) |
| void | new_child (BCP_tm_node *node) |
Private Member Functions | |
Disabled methods | |
| BCP_tm_node (const BCP_tm_node &) | |
| The copy constructor is declared but not defined to disable it. | |
| BCP_tm_node & | operator= (const BCP_tm_node &) |
| The assignment operator is declared but not defined to disable it. | |
Definition at line 60 of file BCP_tm_node.hpp.
| BCP_tm_node::BCP_tm_node | ( | const BCP_tm_node & | ) | [private] |
The copy constructor is declared but not defined to disable it.
| BCP_tm_node::BCP_tm_node | ( | int | level, | |
| BCP_node_change * | desc | |||
| ) |
| BCP_tm_node::~BCP_tm_node | ( | ) | [inline] |
Definition at line 121 of file BCP_tm_node.hpp.
References _locally_stored, num_local_nodes, and num_remote_nodes.
| BCP_tm_node& BCP_tm_node::operator= | ( | const BCP_tm_node & | ) | [private] |
The assignment operator is declared but not defined to disable it.
| int BCP_tm_node::index | ( | ) | const [inline] |
| int BCP_tm_node::child_num | ( | ) | const [inline] |
| int BCP_tm_node::birth_index | ( | ) | const [inline] |
| BCP_tm_node* BCP_tm_node::child | ( | int | ind | ) | [inline] |
| BCP_tm_node* BCP_tm_node::parent | ( | ) | [inline] |
| const BCP_tm_node* BCP_tm_node::child | ( | int | ind | ) | const [inline] |
| const BCP_tm_node* BCP_tm_node::parent | ( | ) | const [inline] |
| int BCP_tm_node::mark_descendants_for_deletion | ( | ) |
| void BCP_tm_node::remove_child | ( | BCP_tm_node * | node | ) |
| void BCP_tm_node::reserve_child_num | ( | int | num | ) | [inline] |
| void BCP_tm_node::new_child | ( | BCP_tm_node * | node | ) | [inline] |
Definition at line 170 of file BCP_tm_node.hpp.
References _children, and BCP_vec< T >::push_back().
int BCP_tm_node::num_local_nodes [static] |
int BCP_tm_node::num_remote_nodes [static] |
Definition at line 78 of file BCP_tm_node.hpp.
Definition at line 87 of file BCP_tm_node.hpp.
Referenced by child(), child_num(), new_child(), and reserve_child_num().
| int BCP_tm_node::lp |
Definition at line 89 of file BCP_tm_node.hpp.
| int BCP_tm_node::cg |
Definition at line 89 of file BCP_tm_node.hpp.
| int BCP_tm_node::cp |
Definition at line 89 of file BCP_tm_node.hpp.
| int BCP_tm_node::vg |
Definition at line 89 of file BCP_tm_node.hpp.
| int BCP_tm_node::vp |
Definition at line 89 of file BCP_tm_node.hpp.
Definition at line 91 of file BCP_tm_node.hpp.
Definition at line 93 of file BCP_tm_node.hpp.
Definition at line 95 of file BCP_tm_node.hpp.
Definition at line 97 of file BCP_tm_node.hpp.
Definition at line 99 of file BCP_tm_node.hpp.
Definition at line 100 of file BCP_tm_node.hpp.
Definition at line 101 of file BCP_tm_node.hpp.
Definition at line 102 of file BCP_tm_node.hpp.
Definition at line 106 of file BCP_tm_node.hpp.
Definition at line 107 of file BCP_tm_node.hpp.
1.4.7