module_forecast::Forecast::ForecastMethod Class Reference

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

#include <forecast.h>

Inheritance diagram for module_forecast::Forecast::ForecastMethod:

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 302 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, module_forecast::Forecast::DoubleExponential, module_forecast::Forecast::Seasonal, and module_forecast::Forecast::Croston.

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:

Documentation generated for frePPLe by  doxygen