frepple::Solvable Class Reference

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>

Inheritance diagram for frepple::Solvable:

List of all members.

Public Member Functions

virtual void solve (Solver &s, void *v=NULL) const
virtual ~Solvable ()

Detailed Description

This class needs to be implemented by all classes that implement dynamic behavior, and which can be called by a solver.

Definition at line 917 of file model.h.


Constructor & Destructor Documentation

virtual frepple::Solvable::~Solvable ( ) [inline, virtual]

Destructor.

Definition at line 928 of file model.h.


Member Function Documentation

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::Demand, frepple::Plan, frepple::Load, frepple::ResourceInfinite, frepple::Resource, frepple::FlowEnd, frepple::FlowStart, frepple::Flow, frepple::BufferProcure, frepple::BufferInfinite, frepple::Buffer, frepple::OperationAlternate, frepple::OperationRouting, frepple::OperationTimePer, frepple::OperationSetup, frepple::OperationFixedTime, and frepple::Operation.

Definition at line 925 of file model.h.


The documentation for this class was generated from the following file:

Documentation generated for frePPLe by  doxygen