Inteface for hooking up to internal flopc++ message handling. More...
#include <MP_model.hpp>
Public Member Functions | |
virtual void | logMessage (int level, const char *const msg) |
Protected Member Functions | |
virtual | ~Messenger () |
Private Member Functions | |
virtual void | constraintDebug (string name, const vector< MP::Coef > &cfs) |
virtual void | objectiveDebug (const vector< MP::Coef > &cfs) |
virtual void | statistics (int bm, int m, int bn, int n, int nz) |
virtual void | generationTime (double t) |
Friends | |
class | MP_model |
Inteface for hooking up to internal flopc++ message handling.
In more advanced use of FlopC++, it may be desirable to get access to internal calls for messages. In essence, sub-class this Messenger class, and register it with the MP_model. Also overload whichever message events you wish to handle.
Definition at line 36 of file MP_model.hpp.
virtual flopc::Messenger::~Messenger | ( | ) | [inline, protected, virtual] |
Definition at line 46 of file MP_model.hpp.
virtual void flopc::Messenger::logMessage | ( | int | level, | |
const char *const | msg | |||
) | [inline, virtual] |
Definition at line 38 of file MP_model.hpp.
virtual void flopc::Messenger::constraintDebug | ( | string | name, | |
const vector< MP::Coef > & | cfs | |||
) | [inline, private, virtual] |
Reimplemented in flopc::VerboseMessenger.
Definition at line 41 of file MP_model.hpp.
virtual void flopc::Messenger::objectiveDebug | ( | const vector< MP::Coef > & | cfs | ) | [inline, private, virtual] |
Reimplemented in flopc::VerboseMessenger.
Definition at line 42 of file MP_model.hpp.
virtual void flopc::Messenger::statistics | ( | int | bm, | |
int | m, | |||
int | bn, | |||
int | n, | |||
int | nz | |||
) | [inline, private, virtual] |
Reimplemented in flopc::NormalMessenger.
Definition at line 43 of file MP_model.hpp.
virtual void flopc::Messenger::generationTime | ( | double | t | ) | [inline, private, virtual] |
Reimplemented in flopc::NormalMessenger.
Definition at line 44 of file MP_model.hpp.
friend class MP_model [friend] |
Reimplemented in flopc::NormalMessenger, and flopc::VerboseMessenger.
Definition at line 39 of file MP_model.hpp.