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 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