Class TtcRoomChecker

java.lang.Object
org.opentrafficsim.road.gtu.generator.TtcRoomChecker
All Implemented Interfaces:
LaneBasedGtuGenerator.RoomChecker

public class TtcRoomChecker extends Object implements LaneBasedGtuGenerator.RoomChecker
Room checker based on time-to-collision. The room is considered ok if:
  1. The headway is larger than speed*1.0s + 3m
  2. time-to-collision < value
where 'value' is a given value in the constructor.

Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
  • Constructor Details

    • TtcRoomChecker

      public TtcRoomChecker(Duration ttc)
      Constructor.
      Parameters:
      ttc - time to collision
  • Method Details