Package org.goplanit.cost.physical
Class BPRConfigurator
- java.lang.Object
-
- org.goplanit.utils.builder.Configurator<T>
-
- org.goplanit.cost.physical.PhysicalCostConfigurator<BPRLinkTravelTimeCost>
-
- org.goplanit.cost.physical.BPRConfigurator
-
public class BPRConfigurator extends PhysicalCostConfigurator<BPRLinkTravelTimeCost>
Configurator for BPRLinkTravelTimeCost implementation- Author:
- markr
-
-
Field Summary
-
Fields inherited from class org.goplanit.utils.builder.Configurator
delayedMethodCalls
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBPRConfigurator()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetDefaultParameters(double alpha, double beta)Set the default alpha and beta valuesvoidsetDefaultParameters(Mode mode, double alpha, double beta)Set the default alpha and beta values for a modevoidsetDefaultParameters(MacroscopicLinkSegmentType macroscopicLinkSegmentType, Mode mode, double alpha, double beta)Set the default alpha and beta values for a given link type and modevoidsetParameters(MacroscopicLinkSegment linkSegment, Mode mode, double alpha, double beta)Set the alpha and beta values for a given link segment and mode-
Methods inherited from class org.goplanit.cost.physical.PhysicalCostConfigurator
configure
-
Methods inherited from class org.goplanit.utils.builder.Configurator
callVoidMethod, collectParameterTypes, getClassTypeToConfigure, getFirstParameterOfDelayedMethodCall, registerDelayedMethodCall
-
-
-
-
Method Detail
-
setParameters
public void setParameters(MacroscopicLinkSegment linkSegment, Mode mode, double alpha, double beta)
Set the alpha and beta values for a given link segment and mode- Parameters:
linkSegment- the specified link segmentmode- specified mode typealpha- alpha valuebeta- beta value
-
setDefaultParameters
public void setDefaultParameters(Mode mode, double alpha, double beta)
Set the default alpha and beta values for a mode- Parameters:
mode- the specified mode typealpha- alpha valuebeta- beta value
-
setDefaultParameters
public void setDefaultParameters(MacroscopicLinkSegmentType macroscopicLinkSegmentType, Mode mode, double alpha, double beta)
Set the default alpha and beta values for a given link type and mode- Parameters:
macroscopicLinkSegmentType- the specified link typemode- the specified mode typealpha- alpha valuebeta- beta value
-
setDefaultParameters
public void setDefaultParameters(double alpha, double beta)Set the default alpha and beta values- Parameters:
alpha- alpha valuebeta- beta value
-
-