Class TrafficAssignmentBuilderFactory


  • public class TrafficAssignmentBuilderFactory
    extends Object
    Traffic assignment builder factory for the assignment types supported directory by PLANit
    Author:
    markr
    • Constructor Detail

      • TrafficAssignmentBuilderFactory

        public TrafficAssignmentBuilderFactory()
    • Method Detail

      • createBuilder

        public static TrafficAssignmentBuilder<?> createBuilder​(String trafficAssignmentType,
                                                                IdGroupingToken projectToken,
                                                                InputBuilderListener inputBuilder,
                                                                Demands theDemands,
                                                                Zoning theZoning,
                                                                LayeredNetwork<?,​?> theNetwork)
                                                         throws PlanItException
        Create a builder for given assignment type
        Parameters:
        trafficAssignmentType - type of assignment the builder is created for
        projectToken - id group this builder is created for
        inputBuilder - the input builder
        theNetwork - network to register
        theZoning - zoning to register
        theDemands - demands to register
        Returns:
        the created builder
        Throws:
        PlanItException - thrown if error