|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PhysicalEnvironment
Common Interface for the Physical Environment module.
| Method Summary | |
|---|---|
List<org.powertac.common.WeatherReport> |
generateWeatherData(org.powertac.common.Timeslot currentTimeslot,
List<org.powertac.common.Timeslot> targetTimeslots)
Generates and returns weather forecasts for every enabled timeslot The physical environment module is responsible for computing weather forecasts for each entry in targetTimeslots from the perspective of the currentTimeslot. |
| Method Detail |
|---|
List<org.powertac.common.WeatherReport> generateWeatherData(org.powertac.common.Timeslot currentTimeslot,
List<org.powertac.common.Timeslot> targetTimeslots)
targetTimeslots from the perspective of the currentTimeslot.
Note: For the specific resulting Weather instance for which weatherInstance.targetTimeslot == weatherInstance.currentTimeslot (i.e. the "now" timeslot) forecast attribute must be set to false as this is the real (i.e. metered) weather data and not a forecast anymore
currentTimeslot - the current timeslottargetTimeslots - timeslots to generate weather forecasts for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||