This class defines a material flow to/from a buffer, linked with an operation. This subclass represents a flow that is at the start date of the operation. More...
#include <model.h>
Public Member Functions | |
FlowStart (Operation *o, Buffer *b, double q) | |
FlowStart () | |
virtual size_t | getSize () const |
virtual const MetaClass & | getType () const |
virtual void | solve (Solver &s, void *v=NULL) const |
Static Public Attributes | |
static const MetaClass * | metadata |
This class defines a material flow to/from a buffer, linked with an operation. This subclass represents a flow that is at the start date of the operation.
Definition at line 3443 of file model.h.
frepple::FlowStart::FlowStart | ( | ) | [inline, explicit] |
virtual size_t frepple::FlowStart::getSize | ( | ) | const [inline, virtual] |
Reimplemented from frepple::Flow.
virtual const MetaClass& frepple::FlowStart::getType | ( | ) | const [inline, virtual] |
Reimplemented from frepple::Flow.
virtual void frepple::FlowStart::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 from frepple::Flow.
const MetaClass * frepple::FlowStart::metadata [static] |
Reimplemented from frepple::Flow.