public class Customer extends Object implements TimeslotModelUpdate
| Constructor and Description |
|---|
Customer(org.powertac.common.CustomerInfo customerInfo) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCustomerBootstrapData(org.powertac.common.msg.CustomerBootstrapData data,
org.powertac.common.Competition competition) |
void |
addTariffTransaction(org.powertac.common.TariffTransaction tx) |
org.powertac.common.CustomerInfo |
getCustomerInfo() |
CustomerModel |
getCustomerModel() |
String |
toString() |
void |
update(int timeslotIndex,
org.joda.time.Instant postedTime) |
public CustomerModel getCustomerModel()
public void addCustomerBootstrapData(org.powertac.common.msg.CustomerBootstrapData data,
org.powertac.common.Competition competition)
public void addTariffTransaction(org.powertac.common.TariffTransaction tx)
public void update(int timeslotIndex,
org.joda.time.Instant postedTime)
update in interface TimeslotModelUpdatetimeslotIndex - update will be run for this timeslot index.public org.powertac.common.CustomerInfo getCustomerInfo()
Copyright © 2016 Power TAC. All Rights Reserved.