Interface GapAcceptance

All Superinterfaces:
NamedConstants

public interface GapAcceptance extends NamedConstants
Interface for LMRS gap-acceptance models.

Copyright (c) 2013-2026 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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final GapAcceptance
    Being informed of the model and parameters of other drivers, but applying own headway value.
    static final GapAcceptance
    Being informed of the model and parameters of other drivers (default LMRS).
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    acceptGap(TacticalContextEgo context, double desire, LateralDirectionality lat)
    Determine whether a gap is acceptable.

    Methods inherited from interface org.opentrafficsim.base.NamedConstants

    name
  • Field Details

    • INFORMED

      static final GapAcceptance INFORMED
      Being informed of the model and parameters of other drivers (default LMRS).
    • EGO_HEADWAY

      static final GapAcceptance EGO_HEADWAY
      Being informed of the model and parameters of other drivers, but applying own headway value.
  • Method Details