public class CustomerModel extends Object
| Constructor and Description |
|---|
CustomerModel() |
CustomerModel(org.powertac.common.CustomerInfo customerInfo) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTariffTransaction(org.powertac.common.TariffTransaction tariffTransaction)
Adds TarrifTransaction object to history and updates customer model.
|
boolean |
equals(Object obj) |
double |
getCashInflow() |
double |
getCashOutflow() |
int |
getCustomerCount() |
org.powertac.common.CustomerInfo |
getCustomerInfo() |
double |
getEnergyConsumption() |
double |
getEnergyProduction() |
List<org.powertac.common.TariffTransaction> |
getTariffTransactions() |
double |
getTotalCash() |
double |
getTotalEnergy() |
int |
hashCode() |
public CustomerModel(org.powertac.common.CustomerInfo customerInfo)
public CustomerModel()
public void addTariffTransaction(org.powertac.common.TariffTransaction tariffTransaction)
tariffTransaction - public int getCustomerCount()
public org.powertac.common.CustomerInfo getCustomerInfo()
public List<org.powertac.common.TariffTransaction> getTariffTransactions()
public double getCashInflow()
public double getCashOutflow()
public double getTotalCash()
public double getEnergyConsumption()
public double getEnergyProduction()
public double getTotalEnergy()
Copyright © 2014 Power TAC. All Rights Reserved.