Class TimeIntervalsManeuverTrigger

All Implemented Interfaces:
ManeuverTriggers, ResettableManeuverTriggers, EventDetectorsProvider, ParameterDriversProvider

public class TimeIntervalsManeuverTrigger extends IntervalEventTrigger<BooleanDetector>
Maneuver trigger based on time intervals.
Since:
13.1
Author:
Romain Serra
See Also:
  • Method Details

    • of

      public static TimeIntervalsManeuverTrigger of(TimeInterval... timeIntervals)
      Build an instance based on the input time intervals. Detectors are created with default settings.
      Parameters:
      timeIntervals - intervals
      Returns:
      maneuver trigger
    • of

      public static TimeIntervalsManeuverTrigger of(List<TimeInterval> timeIntervals)
      Build an instance based on the input time intervals. Detectors are created with default settings.
      Parameters:
      timeIntervals - intervals
      Returns:
      maneuver trigger
      Since:
      14.0
    • of

      public static TimeIntervalsManeuverTrigger of(TimeIntervalDetector... timeIntervalDetectors)
      Build an instance based on the input time interval detectors.
      Parameters:
      timeIntervalDetectors - detectors
      Returns:
      maneuver trigger
    • convertIntervalDetector

      protected <S extends CalculusFieldElement<S>> FieldEventDetector<S> convertIntervalDetector(Field<S> field, BooleanDetector detector)
      Description copied from class: IntervalEventTrigger
      Convert a primitive firing intervals detector into a field firing intervals detector.

      The FieldEventDetectionSettings must be set up in conformance with the non-field detector.

      A default implementation is provided but might need to be overridden in specific cases.

      Overrides:
      convertIntervalDetector in class IntervalEventTrigger<BooleanDetector>
      Type Parameters:
      S - type of the field elements
      Parameters:
      field - field to which the state belongs
      detector - primitive firing intervals detector to convert
      Returns:
      converted firing intervals detector