Interface AdaptableInterval

All Known Implementing Classes:
PeriodBasedAdaptableInterval
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 interface AdaptableInterval
This interface represents an event checking interval that depends on state.
Since:
12.0
Author:
Luc Maisonobe
See Also:
  • Method Details

    • currentInterval

      double currentInterval(SpacecraftState state, boolean isForward)
      Get the current value of maximal time interval between events handler checks.
      Parameters:
      state - current state
      isForward - direction of propagation
      Returns:
      current value of maximal time interval between events handler checks
    • of

      static AdaptableInterval of(double defaultMaxCheck, AdaptableInterval... adaptableIntervals)
      Method creating an interval taking the minimum value of all candidates.
      Parameters:
      defaultMaxCheck - default value if no intervals is given as input
      adaptableIntervals - intervals
      Returns:
      adaptable interval ready to be added to an event detector
      Since:
      13.0
    • of

      static <T extends CalculusFieldElement<T>> AdaptableInterval of(Field<T> field, FieldAdaptableInterval<T> fieldAdaptableInterval)
      Method creating an interval taking the minimum value of all candidates.
      Type Parameters:
      T - field type
      Parameters:
      field - field
      fieldAdaptableInterval - field interval
      Returns:
      adaptable interval ready to be added to an event detector
      Since:
      14.0