This class is a helper class of the SolverMRP class. More...
#include <solver.h>
Public Member Functions | |
virtual void | execute () |
unsigned short | getLogLevel () const |
virtual size_t | getSize () const |
SolverMRP * | getSolver () const |
virtual const MetaClass & | getType () const |
bool | getVerbose () const |
void | pop () |
void | push (double q=0.0, Date d=Date::infiniteFuture) |
SolverMRPdata (SolverMRP *s, int c, deque< Demand * > &d) | |
Public Attributes | |
State * | prevstate |
State * | state |
Friends | |
class | SolverMRP |
This class is a helper class of the SolverMRP class.
It stores the solver state maintained by each solver thread.
Definition at line 395 of file solver.h.
void frepple::SolverMRP::SolverMRPdata::execute | ( | ) | [virtual] |
This function runs a single planning thread. Such a thread will loop through the following steps:
Reimplemented from frepple::utils::CommandList.
Definition at line 69 of file solverplan.cpp.
unsigned short frepple::SolverMRP::SolverMRPdata::getLogLevel | ( | ) | const [inline] |
virtual size_t frepple::SolverMRP::SolverMRPdata::getSize | ( | ) | const [inline, virtual] |
SolverMRP* frepple::SolverMRP::SolverMRPdata::getSolver | ( | ) | const [inline] |
virtual const MetaClass& frepple::SolverMRP::SolverMRPdata::getType | ( | ) | const [inline, virtual] |
bool frepple::SolverMRP::SolverMRPdata::getVerbose | ( | ) | const [inline] |
Returns whether verbose output is required during the execution of the command.
Reimplemented from frepple::utils::Command.
void frepple::SolverMRP::SolverMRPdata::pop | ( | ) | [inline] |
void frepple::SolverMRP::SolverMRPdata::push | ( | double | q = 0.0 , |
|
Date | d = Date::infiniteFuture | |||
) | [inline] |