module_forecast::Forecast::ForecastMethod Class Reference

Abstract base class for all forecasting methods. More...

#include <forecast.h>

Inheritance diagram for module_forecast::Forecast::ForecastMethod:
module_forecast::Forecast::DoubleExponential module_forecast::Forecast::MovingAverage module_forecast::Forecast::SingleExponential

List of all members.

Public Member Functions

virtual void applyForecast (Forecast *, const Date[], unsigned int, bool)=0
virtual double generateForecast (Forecast *, const double[], unsigned int, const double[], bool)=0
virtual string getName ()=0

Detailed Description

Abstract base class for all forecasting methods.

Definition at line 238 of file forecast.h.


Member Function Documentation

virtual void module_forecast::Forecast::ForecastMethod::applyForecast ( Forecast ,
const   Date[],
unsigned  int,
bool   
) [pure virtual]

This method is called when this forecast method has generated the lowest forecast error and now needs to set the forecast values.

Implemented in module_forecast::Forecast::MovingAverage, module_forecast::Forecast::SingleExponential, and module_forecast::Forecast::DoubleExponential.

virtual double module_forecast::Forecast::ForecastMethod::generateForecast ( Forecast ,
const   double[],
unsigned  int,
const   double[],
bool   
) [pure virtual]
virtual string module_forecast::Forecast::ForecastMethod::getName (  )  [pure virtual]

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

Generated on 25 Feb 2010 for frePPLe by  doxygen 1.6.1