Class TemplateGtuType

    • Constructor Detail

      • TemplateGtuType

        public TemplateGtuType​(GtuType gtuType,
                               Generator<Length> lengthGenerator,
                               Generator<Length> widthGenerator,
                               Generator<Speed> maximumSpeedGenerator)
                        throws NullPointerException
        Parameters:
        gtuType - GTUType; GTUType, the GTUType to make it identifiable.
        lengthGenerator - 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).
        Throws:
        NullPointerException - when one of the arguments is null
      • TemplateGtuType

        public TemplateGtuType​(GtuType gtuType,
                               Generator<Length> lengthGenerator,
                               Generator<Length> widthGenerator,
                               Generator<Speed> maximumSpeedGenerator,
                               Generator<Acceleration> maximumAccelerationGenerator,
                               Generator<Acceleration> maximumDecelerationGenerator)
                        throws NullPointerException
        Parameters:
        gtuType - GTUType; GTUType, the GTUType to make it identifiable.
        lengthGenerator - 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).
        maximumAccelerationGenerator - Generator<Acceleration>; generator for the maximum acceleration of the GTU type
        maximumDecelerationGenerator - Generator<Acceleration>; generator for the maximum deceleration of the GTU type
        Throws:
        NullPointerException - when one of the arguments is null