Package org.planit.route.choice
Interface RouteChoiceBuilder
-
- All Known Implementing Classes:
DynamicTrafficAssignmentBuilder
,ELTMTrafficAssignmentBuilder
public interface RouteChoiceBuilder
The type of Route choice is sometimes but not always a choice for any given traffic assignment model. Hence, instead of equipping every traffic assignment builder with a route choice component to register or create, we allow any traffic assignment builder to implement this interface to make the creation and registration of route choice components possible if relevant- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RouteChoice
createAndRegisterRouteChoice(String physicalTraveltimeCostFunctionType)
create and register the route choice one desires.
-
-
-
Method Detail
-
createAndRegisterRouteChoice
RouteChoice createAndRegisterRouteChoice(String physicalTraveltimeCostFunctionType) throws PlanItException
create and register the route choice one desires.- Parameters:
physicalTraveltimeCostFunctionType
- the type of physical cost function to use- Returns:
- route choice instance
- Throws:
PlanItException
- thrown if there is an error
-
-