public class OfficeComplex.TariffEvaluationWrapper extends Object implements CustomerModelAccessor
| Constructor and Description |
|---|
TariffEvaluationWrapper(String type,
CustomerInfo customer) |
| Modifier and Type | Method and Description |
|---|---|
double |
getBrokerSwitchFactor(boolean isSuperseding)
Returns the inconvenience of switching brokers.
|
CapacityProfile |
getCapacityProfile(Tariff tariff)
Returns a capacity profile for the given tariff.
|
CustomerInfo |
getCustomerInfo()
Returns the CustomerInfo instance for this customer model.
|
double |
getInertiaSample()
Returns a [0,1] random value used to choose whether individual customers
evaluate tariffs or not.
|
int |
getPopulation() |
double |
getShiftingInconvenienceFactor(Tariff tariff) |
double |
getTariffChoiceSample()
Returns a [0,1] random value used to make choices using the logit choice
model.
|
String |
getType() |
public TariffEvaluationWrapper(String type, CustomerInfo customer)
public CustomerInfo getCustomerInfo()
CustomerModelAccessorgetCustomerInfo in interface CustomerModelAccessorpublic String getType()
public int getPopulation()
public CapacityProfile getCapacityProfile(Tariff tariff)
CustomerModelAccessorgetCapacityProfile in interface CustomerModelAccessorpublic double getBrokerSwitchFactor(boolean isSuperseding)
CustomerModelAccessorgetBrokerSwitchFactor in interface CustomerModelAccessorpublic double getTariffChoiceSample()
CustomerModelAccessorgetTariffChoiceSample in interface CustomerModelAccessorpublic double getInertiaSample()
CustomerModelAccessorgetInertiaSample in interface CustomerModelAccessorpublic double getShiftingInconvenienceFactor(Tariff tariff)
getShiftingInconvenienceFactor in interface CustomerModelAccessorCopyright © 2017 Power TAC. All rights reserved.