Package org.planit.path.choice
Class PathChoiceConfigurator<T extends PathChoice>
- java.lang.Object
-
- org.planit.utils.builder.Configurator<T>
-
- org.planit.path.choice.PathChoiceConfigurator<T>
-
- Type Parameters:
T
- path choice type
- Direct Known Subclasses:
StochasticPathChoiceConfigurator
public class PathChoiceConfigurator<T extends PathChoice> extends Configurator<T>
Base class for all path choice configurator implementations- Author:
- markr
-
-
Field Summary
-
Fields inherited from class org.planit.utils.builder.Configurator
delayedMethodCalls
-
-
Constructor Summary
Constructors Constructor Description PathChoiceConfigurator(Class<T> instanceType)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(PathChoice pathChoice)
Needed to avoid issues with generics, although it should be obvious that T extends Smoothing-
Methods inherited from class org.planit.utils.builder.Configurator
callVoidMethod, collectParameterTypes, getClassTypeToConfigure, getFirstParameterOfDelayedMethodCall, registerDelayedMethodCall
-
-
-
-
Method Detail
-
configure
public void configure(PathChoice pathChoice) throws PlanItException
Needed to avoid issues with generics, although it should be obvious that T extends Smoothing- Overrides:
configure
in classConfigurator<T extends PathChoice>
- Parameters:
pathChoice
- the instance to configure- Throws:
PlanItException
- thrown if error
-
-