This class needs to be implemented by all classes that implement dynamic behavior, and which can be called by a solver. More...
#include <model.h>
Public Member Functions | |
virtual void | solve (Solver &s, void *v=NULL) const |
virtual | ~Solvable () |
This class needs to be implemented by all classes that implement dynamic behavior, and which can be called by a solver.
Definition at line 1077 of file model.h.
virtual frepple::Solvable::~Solvable | ( | ) | [inline, virtual] |
virtual void frepple::Solvable::solve | ( | Solver & | s, | |
void * | v = NULL | |||
) | const [inline, virtual] |
This method is called by solver classes. The implementation of this class simply calls the solve method on the solver class. Using the polymorphism the solver can implement seperate methods for different plannable subclasses.
Reimplemented in frepple::Operation, frepple::OperationFixedTime, frepple::OperationTimePer, frepple::OperationRouting, frepple::OperationAlternate, frepple::Buffer, frepple::BufferInfinite, frepple::BufferProcure, frepple::Flow, frepple::FlowEnd, frepple::Resource, frepple::ResourceInfinite, frepple::Load, frepple::Plan, and frepple::Demand.