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:

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

Constructor & Destructor Documentation

virtual frepple::Solvable::~Solvable ( )
inlinevirtual

Destructor.

Definition at line 924 of file model.h.

Member Function Documentation

virtual void frepple::Solvable::solve ( Solver s,
void *  v = NULL 
) const
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 in frepple::Demand, frepple::Plan, frepple::Load, frepple::ResourceInfinite, frepple::Resource, frepple::FlowFixedStart, frepple::FlowFixedEnd, 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 921 of file model.h.


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