Package org.goplanit.path.choice
Class StochasticPathChoiceConfigurator
- java.lang.Object
-
- org.goplanit.utils.builder.Configurator<T>
-
- org.goplanit.path.choice.PathChoiceConfigurator<StochasticPathChoice>
-
- org.goplanit.path.choice.StochasticPathChoiceConfigurator
-
public class StochasticPathChoiceConfigurator extends PathChoiceConfigurator<StochasticPathChoice>
Configurator for FixedConnectoidTravelTimeCost implementation- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description protected LogitChoiceModelConfigurator<? extends LogitChoiceModel>logitChoiceModelConfiguratorlogit choice model configurator-
Fields inherited from class org.goplanit.utils.builder.Configurator
delayedMethodCalls
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedStochasticPathChoiceConfigurator()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogitChoiceModelConfigurator<? extends LogitChoiceModel>createAndRegisterLogitModel(String logitChoiceModelType)create and register the logit model of choiceLogitChoiceModelConfigurator<? extends LogitChoiceModel>getLogitModel()Collect the logit model configuratorvoidsetOdPathMatrix(OdPathMatrix odPathSet)Register a fixed od path set to use in the form of an ODPathMatrix-
Methods inherited from class org.goplanit.path.choice.PathChoiceConfigurator
configure
-
Methods inherited from class org.goplanit.utils.builder.Configurator
callVoidMethod, collectParameterTypes, getClassTypeToConfigure, getFirstParameterOfDelayedMethodCall, registerDelayedMethodCall
-
-
-
-
Field Detail
-
logitChoiceModelConfigurator
protected LogitChoiceModelConfigurator<? extends LogitChoiceModel> logitChoiceModelConfigurator
logit choice model configurator
-
-
Method Detail
-
createAndRegisterLogitModel
public LogitChoiceModelConfigurator<? extends LogitChoiceModel> createAndRegisterLogitModel(String logitChoiceModelType) throws PlanItException
create and register the logit model of choice- Parameters:
logitChoiceModelType- name of the class to be instantiated- Returns:
- the logit choice model that is registered
- Throws:
PlanItException- thrown if error
-
getLogitModel
public LogitChoiceModelConfigurator<? extends LogitChoiceModel> getLogitModel()
Collect the logit model configurator- Returns:
- logit model configurator
-
setOdPathMatrix
public void setOdPathMatrix(OdPathMatrix odPathSet)
Register a fixed od path set to use in the form of an ODPathMatrix- Parameters:
odPathSet- the fixed od path set in the shape of an od path matrix
-
-