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
Modifier and Type Method Description longgetId()double[]getMarketPrice()doublegetMeanMarketPrice()Returns the mean price/MWh over the entire array.double[]getMwh()
-
Constructor Details
-
MarketBootstrapData
public MarketBootstrapData(double[] mwh, double[] price)
-
-
Method Details
-
getId
public long getId() -
getMwh
public double[] getMwh() -
getMarketPrice
public double[] getMarketPrice() -
getMeanMarketPrice
public double getMeanMarketPrice()Returns the mean price/MWh over the entire array.
-