Class LaneBasedTemplateGTUType

    • Constructor Detail

      • LaneBasedTemplateGTUType

        public LaneBasedTemplateGTUType​(GTUType gtuType,
                                        Generator<Length> lengthGenerator,
                                        Generator<Length> widthGenerator,
                                        Generator<Speed> maximumSpeedGenerator,
                                        LaneBasedStrategicalPlannerFactory<?> strategicalPlannerFactory,
                                        Generator<Route> routeGenerator)
                                 throws NullPointerException
        Parameters:
        gtuType - GTUType; The GTUType to make it identifiable.
        lengthGenerator - Generator<Length>; Generator<Length> generator for the length of the GTU type (parallel with driving direction).
        widthGenerator - Generator<Length>; generator for the width of the GTU type (perpendicular to driving direction).
        maximumSpeedGenerator - Generator<Speed>; generator for the maximum speed of the GTU type (in the driving direction).
        strategicalPlannerFactory - LaneBasedStrategicalPlannerFactory<?>; Factory for the strategical planner (e.g., route determination)
        routeGenerator - Generator<Route>; route generator
        Throws:
        NullPointerException - when one or more parameters are null