Class Village.TariffEvaluationWrapper
- java.lang.Object
 - 
- org.powertac.householdcustomer.customers.Village.TariffEvaluationWrapper
 
 
- 
- All Implemented Interfaces:
 CustomerModelAccessor
- Enclosing class:
 - Village
 
public class Village.TariffEvaluationWrapper extends Object implements CustomerModelAccessor
 
- 
- 
Constructor Summary
Constructors Constructor Description TariffEvaluationWrapper(String type, CustomerInfo customer) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetBrokerSwitchFactor(boolean isSuperseding)Returns a [0,1] value representing the inconvenience of switching brokers.CapacityProfilegetCapacityProfile(Tariff tariff)Returns a capacity profile for the given tariff.CustomerInfogetCustomerInfo()Returns the CustomerInfo instance for this customer model.doublegetInertiaSample()Returns a [0,1] random value used to choose whether individual customers evaluate tariffs or not.intgetPopulation()doublegetShiftingInconvenienceFactor(Tariff tariff)Returns a [0,1] value representing the inconvenience of dealing with curtailment in exchange for a lower price.doublegetTariffChoiceSample()Returns a [0,1] random value used to make choices using the logit choice model.StringgetType() 
 - 
 
- 
- 
Constructor Detail
- 
TariffEvaluationWrapper
public TariffEvaluationWrapper(String type, CustomerInfo customer)
 
 - 
 
- 
Method Detail
- 
getCustomerInfo
public CustomerInfo getCustomerInfo()
Description copied from interface:CustomerModelAccessorReturns the CustomerInfo instance for this customer model.- Specified by:
 getCustomerInfoin interfaceCustomerModelAccessor
 
- 
getType
public String getType()
 
- 
getPopulation
public int getPopulation()
 
- 
getCapacityProfile
public CapacityProfile getCapacityProfile(Tariff tariff)
Description copied from interface:CustomerModelAccessorReturns a capacity profile for the given tariff. This must represent the usage of a single individual in a population model over some model-specific time period.- Specified by:
 getCapacityProfilein interfaceCustomerModelAccessor
 
- 
getBrokerSwitchFactor
public double getBrokerSwitchFactor(boolean isSuperseding)
Description copied from interface:CustomerModelAccessorReturns a [0,1] value representing the inconvenience of switching brokers. The value may depend on whether the current subscription is being switched to a superseding tariff as a result of revocation.- Specified by:
 getBrokerSwitchFactorin interfaceCustomerModelAccessor
 
- 
getTariffChoiceSample
public double getTariffChoiceSample()
Description copied from interface:CustomerModelAccessorReturns a [0,1] random value used to make choices using the logit choice model.- Specified by:
 getTariffChoiceSamplein interfaceCustomerModelAccessor
 
- 
getInertiaSample
public double getInertiaSample()
Description copied from interface:CustomerModelAccessorReturns a [0,1] random value used to choose whether individual customers evaluate tariffs or not.- Specified by:
 getInertiaSamplein interfaceCustomerModelAccessor
 
- 
getShiftingInconvenienceFactor
public double getShiftingInconvenienceFactor(Tariff tariff)
Description copied from interface:CustomerModelAccessorReturns a [0,1] value representing the inconvenience of dealing with curtailment in exchange for a lower price.- Specified by:
 getShiftingInconvenienceFactorin interfaceCustomerModelAccessor
 
 - 
 
 -