Class SeriesForecaster
java.lang.Object
org.ojalgo.series.function.SeriesFunction<CalendarDate>
org.ojalgo.series.function.SeriesExtrapolator<CalendarDate>
org.ojalgo.series.function.SeriesForecaster
A forecaster is restricted to CalendarDate keys and is intended to predict something related
to future keys/dates.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSeriesForecaster(Map<String, ? extends BasicSeries<CalendarDate, ? extends Comparable<?>>> data) privateSeriesForecaster(BasicSeries<CalendarDate, ? extends Number> data) protectedSeriesForecaster(CalendarDateSeries<? extends Comparable<?>> data) protectedSeriesForecaster(CoordinationSet<? extends Comparable<?>> coordinatedHistoricalData) -
Method Summary
Modifier and TypeMethodDescriptionprotected final CalendarDateprotected final CalendarDateUnitinvoke(CalendarDate... key) invoke(CalendarDateDuration... horizon) Methods inherited from class SeriesFunction
getAllSeriesNames, getSeries
-
Field Details
-
myLastKey
-
myResolution
-
-
Constructor Details
-
SeriesForecaster
-
SeriesForecaster
private SeriesForecaster(Map<String, ? extends BasicSeries<CalendarDate, ? extends Comparable<?>>> data) -
SeriesForecaster
-
SeriesForecaster
-
-
Method Details
-
invoke
- Specified by:
invokein classSeriesFunction<CalendarDate>- Parameters:
key- One or more time series keys- Returns:
- A map with one entry per series. Each entry/series has the same number of elements as there were input keys.
-
invoke
-
getLastKey
-
getResolution
-