Interface Fuller.BehavioralAdaptation

  • All Known Implementing Classes:
    AdaptationHeadway, AdaptationSituationalAwareness, AdaptationSpeed
    Enclosing class:
    Fuller
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface Fuller.BehavioralAdaptation
    Behavioral adaptation by changing parameter values.

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

    Version:
    $Revision$, $LastChangedDate$, by $Author$, initial version 3 apr. 2018
    Author:
    Alexander Verbraeck, Peter Knoppers, Wouter Schakel
    • Method Detail

      • adapt

        void adapt​(Parameters parameters,
                   double taskSaturation)
            throws ParameterException
        Adapt to task saturation by changing parameter values.
        Parameters:
        parameters - Parameters; parameters
        taskSaturation - double; task saturation
        Throws:
        ParameterException - if a parameter is missing or out of bounds