Package org.planit.cost.physical
Class BPRConfigurator
- java.lang.Object
-
- org.planit.utils.builder.Configurator<T>
-
- org.planit.cost.physical.PhysicalCostConfigurator<BPRLinkTravelTimeCost>
-
- org.planit.cost.physical.BPRConfigurator
-
public class BPRConfigurator extends PhysicalCostConfigurator<BPRLinkTravelTimeCost>
Configurator for BPRLinkTravelTimeCost implementation- Author:
- markr
-
-
Field Summary
-
Fields inherited from class org.planit.utils.builder.Configurator
delayedMethodCalls
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BPRConfigurator()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setDefaultParameters(double alpha, double beta)
Set the default alpha and beta valuesvoid
setDefaultParameters(Mode mode, double alpha, double beta)
Set the default alpha and beta values for a modevoid
setDefaultParameters(MacroscopicLinkSegmentType macroscopicLinkSegmentType, Mode mode, double alpha, double beta)
Set the default alpha and beta values for a given link type and modevoid
setParameters(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.planit.cost.physical.PhysicalCostConfigurator
configure
-
Methods inherited from class org.planit.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
-
-