org.powertac.visualizer.statistical
Class WholesaleCategory

java.lang.Object
  extended by org.powertac.visualizer.statistical.AbstractPerformanceCategory
      extended by org.powertac.visualizer.statistical.WholesaleCategory

public class WholesaleCategory
extends AbstractPerformanceCategory

Holds broker's transactions made in current timeslot for available future timeslots (24 of them).


Constructor Summary
WholesaleCategory(BrokerModel broker)
           
 
Method Summary
 ConcurrentHashMap<Integer,List<org.powertac.common.MarketTransaction>> getMarketTxs()
           
 void update(int tsIndex, double energy, double cash)
           
 void updateAccounts(int tsIndex)
           
 
Methods inherited from class org.powertac.visualizer.statistical.AbstractPerformanceCategory
getBroker, getDynamicDataMap, getEnergy, getGrade, getLastDynamicData, getProfit, setGrade, setLastDynamicData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WholesaleCategory

public WholesaleCategory(BrokerModel broker)
Method Detail

getMarketTxs

public ConcurrentHashMap<Integer,List<org.powertac.common.MarketTransaction>> getMarketTxs()

update

public void update(int tsIndex,
                   double energy,
                   double cash)
Overrides:
update in class AbstractPerformanceCategory

updateAccounts

public void updateAccounts(int tsIndex)


Copyright © 2013 Power TAC. All Rights Reserved.