Kieker 1.9

kieker.tools.tslib.forecast.mean
Class MeanForecasterJava

java.lang.Object
  extended by kieker.tools.tslib.forecast.AbstractForecaster<Double>
      extended by kieker.tools.tslib.forecast.mean.MeanForecasterJava
All Implemented Interfaces:
IForecaster<Double>

public class MeanForecasterJava
extends AbstractForecaster<Double>

A Java-based time series forecaster which computes a forecast based on the mean value of the historic values.

Since:
1.9
Author:
Andre van Hoorn

Constructor Summary
MeanForecasterJava(ITimeSeries<Double> historyTimeseries)
           
 
Method Summary
 IForecastResult<Double> forecast(int numForecastSteps)
          Performs a time series forecast for the given number of steps in the future.
static Double[] removeNullValues(List<Double> allHistory)
           
 
Methods inherited from class kieker.tools.tslib.forecast.AbstractForecaster
getConfidenceLevel, getTsOriginal
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeanForecasterJava

public MeanForecasterJava(ITimeSeries<Double> historyTimeseries)
Method Detail

forecast

public IForecastResult<Double> forecast(int numForecastSteps)
Description copied from interface: IForecaster
Performs a time series forecast for the given number of steps in the future.


removeNullValues

public static Double[] removeNullValues(List<Double> allHistory)

Kieker 1.9

Copyright 2014 Kieker Project, http://kieker-monitoring.net