Class TrafficAssignmentBuilder<T extends TrafficAssignment>

    • Field Detail

      • LOGGER

        protected static final Logger LOGGER
        the logger
    • Constructor Detail

    • Method Detail

      • createTrafficAssignmentInstance

        protected T createTrafficAssignmentInstance()
                                             throws PlanItException
        Factory method to create the instance of the desired type
        Returns:
        instance of traffic assignment
        Throws:
        PlanItException - thrown when error
      • buildSubComponents

        protected void buildSubComponents​(T trafficAssignmentInstance)
                                   throws PlanItException
        call to build and configure all sub components of this builder
        Parameters:
        trafficAssignmentInstance - instance to build subcomponents for
        Throws:
        PlanItException - thrown if error
      • createGapFunction

        protected void createGapFunction()
                                  throws PlanItException
        Currently, there exists only a single gap function (link based relative duality gap) that is created via this factory method. It should be injected by each traffic assignment method until we have multiple gap functions, in which case, it becomes an option like other components.
        Throws:
        PlanItException - thrown if error