org.powertac.common
Class WeatherForecast

java.lang.Object
  extended by org.powertac.common.WeatherForecast

public class WeatherForecast
extends Object

A collection of weatherReports giving hourly forecasts for future timeslot.

Author:
Erik Onarheim and Josh Edeen

Constructor Summary
WeatherForecast(int timeslot, List<WeatherForecastPrediction> predictions)
           
WeatherForecast(Timeslot timeslot, List<WeatherForecastPrediction> predictions)
          Deprecated. 
 
Method Summary
 Timeslot getCurrentTimeslot()
          Deprecated. 
 long getId()
           
 List<WeatherForecastPrediction> getPredictions()
           
 Timeslot getTimeslot()
          Deprecated. 
 int getTimeslotIndex()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeatherForecast

public WeatherForecast(int timeslot,
                       List<WeatherForecastPrediction> predictions)

WeatherForecast

@Deprecated
public WeatherForecast(Timeslot timeslot,
                                  List<WeatherForecastPrediction> predictions)
Deprecated. 

Method Detail

getPredictions

public List<WeatherForecastPrediction> getPredictions()

getId

public long getId()

getTimeslotIndex

public int getTimeslotIndex()

getCurrentTimeslot

@Deprecated
public Timeslot getCurrentTimeslot()
Deprecated. 


getTimeslot

@Deprecated
public Timeslot getTimeslot()
Deprecated. 



Copyright © 2013. All Rights Reserved.