Class CollisionDetector

    • Constructor Detail

      • CollisionDetector

        public CollisionDetector​(OTSNetwork network)
        Constructor.
        Parameters:
        network - OTSNetwork; network
    • 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