Package org.powertac.visualizer.domain
Class WholesaleKPIHolder
java.lang.Object
org.powertac.visualizer.domain.WholesaleKPIHolder
public class WholesaleKPIHolder extends Object
Keeps track of wholesale market, 24 timelots at a time.
- Author:
- Jurica Babic, Govert Buijs, Erik Kemperman
-
Constructor Summary
Constructors Constructor Description WholesaleKPIHolder()WholesaleKPIHolder(WholesaleKPIHolder persist, int timeslot) -
Method Summary
Modifier and Type Method Description voidaddTransaction(MarketTransaction mtx)doublegetCash()doublegetMwh()doublegetPrice()booleanisEmpty()voidresetCurrentValues()
-
Constructor Details
-
WholesaleKPIHolder
public WholesaleKPIHolder() -
WholesaleKPIHolder
-
-
Method Details
-
resetCurrentValues
public void resetCurrentValues() -
addTransaction
-
getMwh
public double getMwh() -
getPrice
public double getPrice() -
getCash
public double getCash() -
isEmpty
public boolean isEmpty()
-