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 (Operation *o, Buffer *b, double q, DateRange e) | |
| FlowStart () | |
| virtual size_t | getSize () const |
| virtual const MetaClass & | getType () const |
| virtual void | solve (Solver &s, void *v=NULL) const |
Public Member Functions inherited from frepple::Flow | |
| void | beginElement (XMLInput &, const Attribute &) |
| void | endElement (XMLInput &, const Attribute &, const DataElement &) |
| Flow (Operation *o, Buffer *b, double q) | |
| Flow (Operation *o, Buffer *b, double q, DateRange e) | |
| Flow * | getAlternate () const |
| Buffer * | getBuffer () const |
| virtual Date | getFlowplanDate (const FlowPlan *) const |
| virtual double | getFlowplanQuantity (const FlowPlan *) const |
| virtual bool | getHidden () const |
| Operation * | getOperation () const |
| double | getQuantity () const |
| SearchMode | getSearch () const |
| bool | hasAlternates () const |
| bool | isConsumer () const |
| bool | isProducer () const |
| void | setAlternate (Flow *) |
| void | setAlternate (const string &n) |
| void | setBuffer (Buffer *b) |
| void | setOperation (Operation *o) |
| void | setQuantity (double f) |
| void | setSearch (const string a) |
| virtual void | writeElement (XMLOutput *, const Keyword &, mode=DEFAULT) const |
| virtual | ~Flow () |
Public Member Functions inherited from frepple::utils::Object | |
| Object () | |
| virtual void | setHidden (bool b) |
| virtual | ~Object () |
Public Member Functions inherited from frepple::utils::PythonExtensionBase | |
| virtual PyObject * | call (const PythonObject &args, const PythonObject &kwds) |
| virtual int | compare (const PyObject *other) const |
| Py_ssize_t | getReferenceCount () const |
| void | initType (const MetaClass *t) |
| void | initType (PyTypeObject *t) |
| virtual PyObject * | iternext () |
| PythonExtensionBase () | |
| void | resetReferenceCount () |
| virtual PyObject * | str () const |
| virtual | ~PythonExtensionBase () |
Public Member Functions inherited from frepple::utils::Association< A, B, C >::Node | |
| DateRange | getEffective () const |
| const string & | getName () const |
| int | getPriority () const |
| A * | getPtrA () const |
| B * | getPtrB () const |
| Node () | |
| Node (A *a, B *b, const ListA &al, const ListB &bl) | |
| void | setEffective (DateRange dr) |
| void | setEffectiveEnd (Date d) |
| void | setEffectiveStart (Date d) |
| void | setName (const string x) |
| void | setPriority (int i) |
| void | setPtrA (A *a, const ListA &al) |
| void | setPtrAB (A *a, B *b, const ListA &al, const ListB &bl) |
| void | setPtrB (B *b, const ListB &bl) |
Public Member Functions inherited from frepple::Solvable | |
| virtual | ~Solvable () |
Static Public Attributes | |
| static const MetaClass * | metadata |
Static Public Attributes inherited from frepple::Flow | |
| static const MetaCategory * | metadata |
Additional Inherited Members | |
Static Public Member Functions inherited from frepple::Flow | |
| static int | initialize () |
| static void | writer (const MetaCategory *, XMLOutput *) |
Public Attributes inherited from frepple::utils::Association< A, B, C >::Node | |
| DateRange | effectivity |
| string | name |
| C * | nextA |
| C * | nextB |
| int | priority |
| A * | ptrA |
| B * | ptrB |
Protected Member Functions inherited from frepple::Flow | |
| Flow () | |
Static Protected Member Functions inherited from frepple::utils::PythonExtensionBase | |
| static PythonType * | registerPythonType (int, const type_info *) |
Static Protected Attributes inherited from frepple::utils::PythonExtensionBase | |
| static vector< PythonType * > | table |
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.
|
inlineexplicit |
|
inlinevirtual |
Return the memory size of the object in bytes.
Reimplemented from frepple::Flow.
Reimplemented in frepple::FlowFixedStart.
|
inlinevirtual |
This returns the type information on the object, a bit similar to the standard type_info information.
Reimplemented from frepple::Flow.
Reimplemented in frepple::FlowFixedStart.
|
inlinevirtual |
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.
Reimplemented in frepple::FlowFixedStart.