public class SingleTimeslotWholesaleData extends DynamicData
| Constructor and Description |
|---|
SingleTimeslotWholesaleData(int tsIndex,
double energy,
double profit) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMarketTransaction(org.powertac.common.MarketTransaction mtx) |
HashMap<Integer,org.powertac.common.MarketTransaction> |
getMarketTransactions() |
boolean |
isClosed() |
void |
setClosed(boolean closed) |
getEnergy, getEnergyDelta, getProfit, getProfitDelta, getTsIndex, setEnergy, setProfit, updatepublic SingleTimeslotWholesaleData(int tsIndex,
double energy,
double profit)
public HashMap<Integer,org.powertac.common.MarketTransaction> getMarketTransactions()
public void setClosed(boolean closed)
public void addMarketTransaction(org.powertac.common.MarketTransaction mtx)
public boolean isClosed()
Copyright © 2015 Power TAC. All Rights Reserved.