public class CollisionDetector extends AbstractLaneBasedMoveChecker
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
CollisionDetector(OTSNetwork network)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
checkMove(LaneBasedGTU gtu)
Check the move of the given GTU.
|
notify
public CollisionDetector(OTSNetwork network)
network
- OTSNetwork; networkpublic void checkMove(LaneBasedGTU gtu) throws Exception
checkMove
in class AbstractLaneBasedMoveChecker
gtu
- LaneBasedGTU; GTU.Exception
- thrown when something is not all rightCopyright © 2014–2019 Delft University of Technology. All rights reserved.