Class TraditionalStaticAssignmentBuilder


  • public class TraditionalStaticAssignmentBuilder
    extends TrafficAssignmentBuilder
    Builder for a traditional static assignment. It injects the following defaults into the underlying assignment instance:
    • Link based relative duality gap function
    • MSA smoothing
    • BPR function for physical cost
    • Fixed cost for virtual cost
    • Default StopCriterion implementation
    Author:
    markr
    • Constructor Detail

      • TraditionalStaticAssignmentBuilder

        public TraditionalStaticAssignmentBuilder​(TrafficAssignment parentAssignment,
                                                  InputBuilderListener trafficComponentCreateListener,
                                                  Demands demands,
                                                  Zoning zoning,
                                                  PhysicalNetwork physicalNetwork)
                                           throws PlanItException
        Constructor
        Parameters:
        parentAssignment - the parent assignment
        trafficComponentCreateListener - the input builder
        demands - the demands
        zoning - the zoning
        physicalNetwork - the physical network
        Throws:
        PlanItException - thrown if there is an error
    • Method Detail

      • initialiseDefaults

        public void initialiseDefaults()
                                throws PlanItException
        Traditional static assignment has the following defaults set for it: - PhysicalCost: BPR - Virtualcost: FIXED - Smoothing: MSA - Gapfunction: LinkBasedRelativeDualityGap
        Overrides:
        initialiseDefaults in class TrafficAssignmentBuilder
        Throws:
        PlanItException - thrown when there is an error