org.powertac.visualizer.statistical
Class TariffCategory
java.lang.Object
org.powertac.visualizer.statistical.AbstractPerformanceCategory
org.powertac.visualizer.statistical.TariffCategory
- All Implemented Interfaces:
- PerformanceCategory
public class TariffCategory
- extends AbstractPerformanceCategory
- implements PerformanceCategory
This performance category holds tariff related info for one broker.
- Author:
- Jurica Babic
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TariffCategory
public TariffCategory(BrokerModel broker)
processTariffSpecification
public void processTariffSpecification(org.powertac.common.TariffSpecification ts)
getCustomerCount
public int getCustomerCount()
getTariffDynamicDataMap
public ConcurrentHashMap<Integer,TariffDynamicData> getTariffDynamicDataMap()
getCustomerTariffData
public ConcurrentHashMap<org.powertac.common.CustomerInfo,CustomerTariffData> getCustomerTariffData()
- Returns:
- Info about broker's transactions related to one customer model.
getTariffData
public ConcurrentHashMap<org.powertac.common.TariffSpecification,TariffData> getTariffData()
- Returns:
- Info about broker's tariff related to one customer model.
update
public void update(int tsIndex,
double energy,
double cash,
int customerDelta)
addTariffDynamicData
public void addTariffDynamicData(TariffDynamicData tdd)
getLastTariffDynamicData
public TariffDynamicData getLastTariffDynamicData()
Copyright © 2013 Power TAC. All Rights Reserved.