public class DefaultCapacityBundle extends Object implements CapacityBundle, StructureInstance
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
canNegotiate |
protected List<CapacityOriginator> |
capacityOriginators |
protected int |
count |
protected String |
customerSize |
protected boolean |
isAdaptive |
protected boolean |
multiContracting |
protected String |
name |
protected int |
population |
protected FactoredCustomerService |
service |
protected String |
type |
| Constructor and Description |
|---|
DefaultCapacityBundle(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected CapacityOriginator |
createCapacityOriginator(CapacityStructure capacityStructure) |
List<CapacityOriginator> |
getCapacityOriginators() |
CustomerInfo |
getCustomerInfo() |
String |
getName() |
ProfileOptimizerStructure |
getOptimizerStructure() |
int |
getPopulation() |
org.powertac.common.enumerations.PowerType |
getPowerType() |
TariffSubscriberStructure |
getSubscriberStructure() |
void |
initialize(FactoredCustomerService service,
CustomerStructure customerStructure) |
protected FactoredCustomerService service
protected String name
@ConfigurableValue(valueType="Integer") protected int count
@ConfigurableValue(valueType="Integer") protected int population
@ConfigurableValue(valueType="String") protected String type
@ConfigurableValue(valueType="String") protected String customerSize
@ConfigurableValue(valueType="Boolean") protected boolean multiContracting
@ConfigurableValue(valueType="Boolean") protected boolean canNegotiate
@ConfigurableValue(valueType="Boolean") protected boolean isAdaptive
protected List<CapacityOriginator> capacityOriginators
public DefaultCapacityBundle(String name)
public void initialize(FactoredCustomerService service, CustomerStructure customerStructure)
initialize in interface CapacityBundleprotected CapacityOriginator createCapacityOriginator(CapacityStructure capacityStructure)
public String getName()
getName in interface CapacityBundlegetName in interface StructureInstancepublic int getPopulation()
getPopulation in interface CapacityBundlepublic org.powertac.common.enumerations.PowerType getPowerType()
getPowerType in interface CapacityBundlepublic CustomerInfo getCustomerInfo()
getCustomerInfo in interface CapacityBundlepublic TariffSubscriberStructure getSubscriberStructure()
getSubscriberStructure in interface CapacityBundlepublic ProfileOptimizerStructure getOptimizerStructure()
getOptimizerStructure in interface CapacityBundlepublic List<CapacityOriginator> getCapacityOriginators()
getCapacityOriginators in interface CapacityBundleCopyright © 2017 Power TAC. All rights reserved.