@Service
public class FactoredCustomerService
extends org.powertac.common.interfaces.TimeslotPhaseProcessor
implements org.powertac.common.interfaces.InitializationService, org.powertac.common.interfaces.NewTariffListener
| Constructor and Description |
|---|
FactoredCustomerService() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(org.joda.time.Instant now,
int phase) |
String |
initialize(org.powertac.common.Competition competition,
List<String> completedInits)
This is called once at the beginning of each game.
|
void |
publishNewTariffs(List<org.powertac.common.Tariff> tariffs) |
public String initialize(org.powertac.common.Competition competition, List<String> completedInits)
initialize in interface org.powertac.common.interfaces.InitializationServicepublic void publishNewTariffs(List<org.powertac.common.Tariff> tariffs)
publishNewTariffs in interface org.powertac.common.interfaces.NewTariffListenerpublic void activate(org.joda.time.Instant now,
int phase)
activate in class org.powertac.common.interfaces.TimeslotPhaseProcessorCopyright © 2016 Power TAC. All Rights Reserved.