org.powertac.visualizer.statistical
Class SingleTimeslotWholesaleData

java.lang.Object
  extended by org.powertac.visualizer.statistical.DynamicData
      extended by org.powertac.visualizer.statistical.SingleTimeslotWholesaleData

public class SingleTimeslotWholesaleData
extends DynamicData

Aggregate wholesale data (all the clearings) for one timeslot from broker's perspective.

Author:
Jurica Babic

Constructor Summary
SingleTimeslotWholesaleData(int tsIndex, double energy, double profit)
           
 
Method Summary
 void addMarketTransaction(org.powertac.common.MarketTransaction mtx)
           
 HashMap<Integer,org.powertac.common.MarketTransaction> getMarketTransactions()
           
 boolean isClosed()
           
 void setClosed(boolean closed)
           
 
Methods inherited from class org.powertac.visualizer.statistical.DynamicData
getEnergy, getEnergyDelta, getProfit, getProfitDelta, getTsIndex, setEnergy, setProfit, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleTimeslotWholesaleData

public SingleTimeslotWholesaleData(int tsIndex,
                                   double energy,
                                   double profit)
Method Detail

getMarketTransactions

public HashMap<Integer,org.powertac.common.MarketTransaction> getMarketTransactions()

setClosed

public void setClosed(boolean closed)

addMarketTransaction

public void addMarketTransaction(org.powertac.common.MarketTransaction mtx)

isClosed

public boolean isClosed()


Copyright © 2013 Power TAC. All Rights Reserved.