Interface EnablingPredicate


  • public interface EnablingPredicate
    This interface represents an event enabling predicate function.
    Since:
    7.1
    Author:
    Luc Maisonobe
    • Method Detail

      • eventIsEnabled

        boolean eventIsEnabled​(SpacecraftState state,
                               EventDetector detector,
                               double g)
        Compute an event enabling function of state.
        Parameters:
        state - current state
        detector - underlying detector
        g - value of the underlying detector for the current state
        Returns:
        true if the event is enabled (i.e. it can be triggered), false if it should be ignored