/home/coin/SVN-release/OS-2.2.0/Bcp/src/CG/BCP_cg_main.cpp File Reference

#include <cstdio>
#include <cerrno>
#include "BcpConfig.h"
#include "BCP_os.hpp"
#include "BCP_USER.hpp"
#include "BCP_error.hpp"
#include "BCP_buffer.hpp"
#include "BCP_message.hpp"
#include "BCP_problem_core.hpp"
#include "BCP_main_fun.hpp"
#include "BCP_cg_user.hpp"
#include "BCP_cg.hpp"

Include dependency graph for BCP_cg_main.cpp:

Go to the source code of this file.

Functions

BCP_process_t BCP_cg_main (BCP_message_environment *msg_env, USER_initialize *user_init, int my_id, int parent, double ub)
bool BCP_cg_process_message (BCP_cg_prob &p, BCP_buffer &buf)


Function Documentation

BCP_process_t BCP_cg_main ( BCP_message_environment msg_env,
USER_initialize user_init,
int  my_id,
int  parent,
double  ub 
)

Definition at line 23 of file BCP_cg_main.cpp.

References BCP_message_environment::alive(), BCP_AnyProcess, BCP_cg_process_message(), BCP_Msg_AnyMessage, BCP_Msg_CoreDescription, BCP_Msg_InitialUserInfo, BCP_Msg_NoMessage, BCP_Msg_ProcessParameters, BCP_Msg_ProcessType, BCP_ProcessType_EndProcess, USER_initialize::cg_init(), BCP_buffer::clear(), BCP_cg_prob::core, BCP_parameter_set< Par >::entry(), gethostname, GETPID, log(), BCP_cg_par::LogFileName, BCP_cg_prob::msg_buf, BCP_cg_prob::msg_env, BCP_buffer::msgtag(), BCP_cg_par::NiceLevel, BCP_cg_prob::packer, USER_initialize::packer_init(), BCP_cg_prob::par, BCP_message_environment::receive(), BCP_cg_user::setCgProblemPointer(), setpriority, BCP_parameter_set< Par >::unpack(), BCP_problem_core::unpack(), BCP_buffer::unpack(), BCP_cg_user::unpack_module_data(), BCP_cg_prob::upper_bound, BCP_cg_prob::user, and BCP_user_pack::user_class.

Referenced by bcp_main().

bool BCP_cg_process_message ( BCP_cg_prob p,
BCP_buffer buf 
)

Definition at line 110 of file BCP_cg_main.cpp.

References BCP_Msg_FinishedBCP, BCP_cg_prob::msg_buf, BCP_buffer::msgtag(), and BCP_cg_prob::process_message().

Referenced by BCP_cg_main().


Generated on Thu Aug 5 03:03:19 2010 by  doxygen 1.4.7