Package org.powertac.common.msg
Class MarketBootstrapData
- java.lang.Object
-
- org.powertac.common.msg.MarketBootstrapData
-
@Domain public class MarketBootstrapData extends Object
Encapsulates market prices and quantities over the bootstrap period. Prices and quantities are given from the broker's viewpoint, which means that typically quantities are positive and prices are negative (the broker is buying energy).- Author:
- John Collins
-
-
Constructor Summary
Constructors Constructor Description MarketBootstrapData(double[] mwh, double[] price)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getId()
double[]
getMarketPrice()
double
getMeanMarketPrice()
Returns the mean price/MWh over the entire array.double[]
getMwh()
-