Package org.powertac.evcustomer
Class Config
- java.lang.Object
 - 
- org.powertac.evcustomer.Config
 
 
- 
public final class Config extends Object
Singleton configuration class shared by all the ev-customer types- Author:
 - Konstantina Valogiani, Govert Buijs, and John Collins
 
 
- 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidconfigure()Deprecated.voidconfigure(ServerConfiguration configSource)Configures this instance from the given configuration service.Map<String,Collection<?>>getBeans()Retrieves the list of configured beansdoublegetBrokerSwitchFactor()doublegetEpsilon()static ConfiggetInstance()Singleton accessordoublegetInterruptibilityFactor()doublegetLambda()intgetMaxDefaultDuration()intgetMinDefaultDuration()doublegetNsInertia()intgetProfileLength()doublegetRationalityFactor()intgetTariffCount()doublegetTieredRateFactor()doublegetTouFactor()doublegetVariablePricingFactor()doublegetWeightInconvenience()static voidrecycle() 
 - 
 
- 
- 
Method Detail
- 
getEpsilon
public double getEpsilon()
 
- 
getLambda
public double getLambda()
 
- 
getTouFactor
public double getTouFactor()
 
- 
getInterruptibilityFactor
public double getInterruptibilityFactor()
 
- 
getVariablePricingFactor
public double getVariablePricingFactor()
 
- 
getTieredRateFactor
public double getTieredRateFactor()
 
- 
getMinDefaultDuration
public int getMinDefaultDuration()
 
- 
getMaxDefaultDuration
public int getMaxDefaultDuration()
 
- 
getRationalityFactor
public double getRationalityFactor()
 
- 
getNsInertia
public double getNsInertia()
 
- 
getBrokerSwitchFactor
public double getBrokerSwitchFactor()
 
- 
getWeightInconvenience
public double getWeightInconvenience()
 
- 
getTariffCount
public int getTariffCount()
 
- 
getProfileLength
public int getProfileLength()
 
- 
configure
@Deprecated public void configure()
Deprecated.Configures this singleton when it's needed. Not called during instance creation to allow testing without a full Spring setup. This version is Deprecated! Please use configure(ServerConfiguration) instead. 
- 
configure
public void configure(ServerConfiguration configSource)
Configures this instance from the given configuration service. 
- 
getBeans
public Map<String,Collection<?>> getBeans()
Retrieves the list of configured beans 
- 
getInstance
public static Config getInstance()
Singleton accessor 
- 
recycle
public static void recycle()
 
 - 
 
 -