Interface ConstraintEvaluationFunction

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 ConstraintEvaluationFunction
A callback f(t, x, u, dt) where t is time, x is the state vector, u is the input vector, and dt is the timestep duration.
  • Method Details

    • accept

      void accept(Variable t, VariableMatrix x, VariableMatrix u, Variable dt)
      Applies this function with the arguments.
      Parameters:
      t - Time in seconds.
      x - State vector.
      u - Input vector.
      dt - Timestep duration in seconds.