#include <BCP_tm_node.hpp>
Public Member Functions | |
BCP_tm_node_to_send (BCP_tm_prob &p, const BCP_tm_node *node, const BCP_message_tag tag) | |
~BCP_tm_node_to_send () | |
bool | send () |
return true or false depending on whether the node was really sent out or it's still waiting for some data More... | |
bool | receive_node_desc (BCP_buffer &buf) |
return true if has everything to send the thing off to the LP. More... | |
bool | receive_vars (BCP_buffer &buf) |
return true if has everything to send the thing off to the LP. More... | |
bool | receive_cuts (BCP_buffer &buf) |
return true if has everything to send the thing off to the LP. More... | |
Static Public Attributes | |
static std::map< int, BCP_tm_node_to_send * > | waiting |
Private Attributes | |
BCP_tm_prob & | p |
BCP_message_tag | msgtag |
the message tag to be used when finally the node is sent off More... | |
const int | ID |
An identifier of this object. More... | |
const BCP_tm_node * | node |
const BCP_tm_node ** | root_path |
the path to the root. More... | |
int * | child_index |
at each level the index of the child in the parent's list More... | |
BCP_tm_node_data * | node_data_on_root_path |
the node data on each level (well, up to the point where we have encountered an explicit description for all kind of data) More... | |
int | level |
the level of node to be sent More... | |
int | explicit_core_level |
where the various pieces start to be explicit (or wrt. More... | |
int | explicit_var_level |
int | explicit_cut_level |
int | explicit_ws_level |
int | explicit_all_level |
int | missing_desc_num |
-1/nonneg unset/value : how many desc is missing More... | |
int | missing_var_num |
-1/nonneg unset/value : how many var is missing More... | |
int | missing_cut_num |
-1/nonneg unset/value : how many cut is missing More... | |
BCP_obj_set_change | var_set |
The explicit description of the vars/cuts of the parent as a BCP_obj_set_change and the vars/cuts themselves (the change contains only indices!) More... | |
BCP_obj_set_change | cut_set |
BCP_vec< Coin::SmartPtr < BCP_var > > | vars |
The list of vars/cuts of the node when the changes of the node are applied to var_set and cut_set . More... | |
BCP_vec< Coin::SmartPtr < BCP_cut > > | cuts |
Definition at line 241 of file BCP_tm_node.hpp.
BCP_tm_node_to_send::BCP_tm_node_to_send | ( | BCP_tm_prob & | p, |
const BCP_tm_node * | node, | ||
const BCP_message_tag | tag | ||
) |
Definition at line 30 of file BCP_tm_msg_node_send.cpp.
BCP_tm_node_to_send::~BCP_tm_node_to_send | ( | ) |
Definition at line 97 of file BCP_tm_msg_node_send.cpp.
bool BCP_tm_node_to_send::send | ( | ) |
return true or false depending on whether the node was really sent out or it's still waiting for some data
Definition at line 173 of file BCP_tm_msg_node_send.cpp.
bool BCP_tm_node_to_send::receive_node_desc | ( | BCP_buffer & | buf | ) |
return true if has everything to send the thing off to the LP.
Actually, it sends it off, so if this method returns true then then object can be deleted
Definition at line 107 of file BCP_tm_msg_node_send.cpp.
bool BCP_tm_node_to_send::receive_vars | ( | BCP_buffer & | buf | ) |
return true if has everything to send the thing off to the LP.
Actually, it sends it off, so if this method returns true then then object can be deleted
Definition at line 133 of file BCP_tm_msg_node_send.cpp.
bool BCP_tm_node_to_send::receive_cuts | ( | BCP_buffer & | buf | ) |
return true if has everything to send the thing off to the LP.
Actually, it sends it off, so if this method returns true then then object can be deleted
Definition at line 153 of file BCP_tm_msg_node_send.cpp.
|
static |
Definition at line 244 of file BCP_tm_node.hpp.
|
private |
Definition at line 247 of file BCP_tm_node.hpp.
|
private |
the message tag to be used when finally the node is sent off
Definition at line 250 of file BCP_tm_node.hpp.
|
private |
An identifier of this object.
It is the index of the node we want to send out
Definition at line 254 of file BCP_tm_node.hpp.
|
private |
Definition at line 256 of file BCP_tm_node.hpp.
|
private |
the path to the root.
The root is root_path[0], the node itself is in root_path[level]
Definition at line 259 of file BCP_tm_node.hpp.
|
private |
at each level the index of the child in the parent's list
Definition at line 261 of file BCP_tm_node.hpp.
|
private |
the node data on each level (well, up to the point where we have encountered an explicit description for all kind of data)
Definition at line 264 of file BCP_tm_node.hpp.
|
private |
the level of node to be sent
Definition at line 267 of file BCP_tm_node.hpp.
|
private |
where the various pieces start to be explicit (or wrt.
root/core)
Definition at line 270 of file BCP_tm_node.hpp.
|
private |
Definition at line 271 of file BCP_tm_node.hpp.
|
private |
Definition at line 272 of file BCP_tm_node.hpp.
|
private |
Definition at line 273 of file BCP_tm_node.hpp.
|
private |
Definition at line 274 of file BCP_tm_node.hpp.
|
private |
-1/nonneg unset/value : how many desc is missing
Definition at line 277 of file BCP_tm_node.hpp.
|
private |
-1/nonneg unset/value : how many var is missing
Definition at line 279 of file BCP_tm_node.hpp.
|
private |
-1/nonneg unset/value : how many cut is missing
Definition at line 281 of file BCP_tm_node.hpp.
|
private |
The explicit description of the vars/cuts of the parent as a BCP_obj_set_change and the vars/cuts themselves (the change contains only indices!)
Definition at line 286 of file BCP_tm_node.hpp.
|
private |
Definition at line 287 of file BCP_tm_node.hpp.
The list of vars/cuts of the node when the changes of the node are applied to var_set
and cut_set
.
Definition at line 290 of file BCP_tm_node.hpp.
Definition at line 291 of file BCP_tm_node.hpp.