Class AccelerationChecker

    • Constructor Detail

      • AccelerationChecker

        public AccelerationChecker​(OTSNetwork network)
        Constructor.
        Parameters:
        network - OTSNetwork; network
      • AccelerationChecker

        public AccelerationChecker​(OTSNetwork network,
                                   Acceleration min,
                                   Acceleration max,
                                   Speed minSpeed)
        Constructor.
        Parameters:
        network - OTSNetwork; network
        min - Acceleration; minimum allowable acceleration
        max - Acceleration; maximum allowable acceleration
        minSpeed - Speed; speed above which acceleration should be checked
    • Method Detail

      • checkMove

        public void checkMove​(LaneBasedGTU gtu)
                       throws java.lang.Exception
        Check the move of the given GTU.
        Specified by:
        checkMove in class AbstractLaneBasedMoveChecker
        Parameters:
        gtu - LaneBasedGTU; GTU.
        Throws:
        java.lang.Exception - thrown when something is not all right