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:
frepple::Flow frepple::Load frepple::Plannable frepple::FlowEnd frepple::FlowStart frepple::Buffer frepple::Demand frepple::Operation frepple::Plan frepple::Resource frepple::BufferDefault frepple::BufferInfinite frepple::BufferProcure frepple::DemandDefault module_forecast::Forecast module_forecast::ForecastBucket frepple::OperationAlternate frepple::OperationFixedTime frepple::OperationRouting frepple::OperationTimePer frepple::ResourceDefault frepple::ResourceInfinite

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 1077 of file model.h.


Constructor & Destructor Documentation

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

Destructor.

Definition at line 1088 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::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.

Definition at line 1085 of file model.h.


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

Generated on 25 Sep 2009 for frePPLe by  doxygen 1.6.1