org.powertac.common
Class WeatherReport

java.lang.Object
  extended by 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. 
 
Method Summary
 double getCloudCover()
           
 Timeslot getCurrentTimeslot()
          Deprecated. 
 long getId()
           
 double getTemperature()
           
 int getTimeslotIndex()
           
 double getWindDirection()
           
 double getWindSpeed()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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

Method Detail

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.