org.powertac.visualizer.domain.broker
Class TariffCustomerStats

java.lang.Object
  extended by org.powertac.visualizer.domain.broker.TariffCustomerStats

public class TariffCustomerStats
extends Object

Tracks tariff transactions for one tariff and one customer model. The object belongs to a particular broker.

Author:
Jurica Babic

Constructor Summary
TariffCustomerStats(org.powertac.common.CustomerInfo customer, org.powertac.common.TariffSpecification spec)
           
 
Method Summary
 void addAmounts(double charge, double kWh)
           
 org.powertac.common.CustomerInfo getCustomerInfo()
           
 double getNetKWh()
           
 double getProfit()
           
 org.powertac.common.TariffSpecification getTariffSpec()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TariffCustomerStats

public TariffCustomerStats(org.powertac.common.CustomerInfo customer,
                           org.powertac.common.TariffSpecification spec)
Method Detail

getCustomerInfo

public org.powertac.common.CustomerInfo getCustomerInfo()

getNetKWh

public double getNetKWh()

getProfit

public double getProfit()

getTariffSpec

public org.powertac.common.TariffSpecification getTariffSpec()

addAmounts

public void addAmounts(double charge,
                       double kWh)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 Power TAC. All Rights Reserved.