Package org.powertac.common
Class WeatherForecast
java.lang.Object
org.powertac.common.WeatherForecast
@Domain public class WeatherForecast extends Object
A collection of weatherForecastPredictions giving hourly forecasts for
future timeslots.
- Author:
- Erik Onarheim and Josh Edeen
-
Constructor Summary
Constructors Constructor Description WeatherForecast(int timeslot, List<WeatherForecastPrediction> predictions)WeatherForecast(Timeslot timeslot, List<WeatherForecastPrediction> predictions)Deprecated. -
Method Summary
Modifier and Type Method Description TimeslotgetCurrentTimeslot()Deprecated.longgetId()List<WeatherForecastPrediction>getPredictions()TimeslotgetTimeslot()Deprecated.intgetTimeslotIndex()
-
Constructor Details
-
WeatherForecast
-
WeatherForecast
@Deprecated @ChainedConstructor public WeatherForecast(Timeslot timeslot, List<WeatherForecastPrediction> predictions)Deprecated.
-
-
Method Details
-
getPredictions
-
getId
public long getId() -
getTimeslotIndex
public int getTimeslotIndex() -
getCurrentTimeslot
Deprecated. -
getTimeslot
Deprecated.
-