org.powertac.common
Class WeatherReport
java.lang.Object
org.powertac.common.WeatherReport
public class WeatherReport
- extends Object
A weather report instance that describes the weather data for one hour of the
simulation
- Version:
- 1.0 - 03/May/2011
- Author:
- Erik Onarheim, Josh Edeen
|
Constructor Summary |
WeatherReport(int timeslot,
double temperature,
double windSpeed,
double windDirection,
double cloudCover)
|
WeatherReport(Timeslot timeslot,
double temperature,
double windSpeed,
double windDirection,
double cloudCover)
Deprecated. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WeatherReport
public WeatherReport(int timeslot,
double temperature,
double windSpeed,
double windDirection,
double cloudCover)
WeatherReport
@Deprecated
public WeatherReport(Timeslot timeslot,
double temperature,
double windSpeed,
double windDirection,
double cloudCover)
- Deprecated.
- Constructor that uses timeslot is deprecated
getId
public long getId()
getTimeslotIndex
public int getTimeslotIndex()
getCurrentTimeslot
@Deprecated
public Timeslot getCurrentTimeslot()
- Deprecated.
getTemperature
public double getTemperature()
getWindSpeed
public double getWindSpeed()
getWindDirection
public double getWindDirection()
getCloudCover
public double getCloudCover()
Copyright © 2013. All Rights Reserved.