Interface AdaptableInterval

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:
3.0
See Also:
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    double
    currentInterval(ODEStateAndDerivative state, boolean isForward)
    Get the current value of maximal time interval between events handler checks.
    of(double maxCheck)
    Create a constant interval from the input.
  • Method Details Link icon

    • currentInterval Link icon

      double currentInterval(ODEStateAndDerivative state, boolean isForward)
      Get the current value of maximal time interval between events handler checks.
      Parameters:
      state - current state
      isForward - true if propagation is forward in independent variable, false otherwise
      Returns:
      current value of maximal time interval between events handler checks
    • of Link icon

      static AdaptableInterval of(double maxCheck)
      Create a constant interval from the input.
      Parameters:
      maxCheck - maximum check value
      Returns:
      constant interval
      Since:
      4.0