Class StaticTrafficAssignment

    • Constructor Detail

      • StaticTrafficAssignment

        protected StaticTrafficAssignment​(IdGroupingToken groupId)
        Constructor
        Parameters:
        groupId - for id generation
    • Method Detail

      • executeTimePeriod

        protected abstract void executeTimePeriod​(TimePeriod timePeriod,
                                                  Set<Mode> modes)
                                           throws PlanItException
        Execute the time period for the registered modes
        Parameters:
        timePeriod - to execute
        modes - to consider
        Throws:
        PlanItException - thrown if error
      • executeTimePeriod

        protected void executeTimePeriod​(TimePeriod timePeriod)
                                  throws PlanItException
        Perform assignment for a given time period
        Parameters:
        timePeriod - the time period for the current assignment
        Throws:
        PlanItException - thrown if there is an error