Class FieldEventDetectionSettings<T extends CalculusFieldElement<T>>

    • Field Detail

      • DEFAULT_MAX_CHECK

        public static final double DEFAULT_MAX_CHECK
        Default maximum checking interval (s).
        See Also:
        Constant Field Values
      • DEFAULT_THRESHOLD

        public static final double DEFAULT_THRESHOLD
        Default convergence threshold (s).
        See Also:
        Constant Field Values
      • DEFAULT_MAX_ITER

        public static final int DEFAULT_MAX_ITER
        Default maximum number of iterations in the event time search.
        See Also:
        Constant Field Values
    • Constructor Detail

      • FieldEventDetectionSettings

        public FieldEventDetectionSettings​(FieldAdaptableInterval<T> maxCheckInterval,
                                           T threshold,
                                           int maxIterationCount)
        Constructor.
        Parameters:
        maxCheckInterval - adaptable interval
        threshold - detection threshold on time
        maxIterationCount - maximum iteration number
      • FieldEventDetectionSettings

        public FieldEventDetectionSettings​(double maxCheck,
                                           T threshold,
                                           int maxIterationCount)
        Constructor with maximum check as double.
        Parameters:
        maxCheck - constant maximum check for adaptable interval
        threshold - detection threshold on time
        maxIterationCount - maximum iteration number
      • FieldEventDetectionSettings

        public FieldEventDetectionSettings​(Field<T> field,
                                           EventDetectionSettings eventDetectionSettings)
        Constructor from non-Field settings.
        Parameters:
        field - field
        eventDetectionSettings - non-Field detection settings
    • Method Detail

      • getMaxCheckInterval

        public FieldAdaptableInterval<T> getMaxCheckInterval()
        Getter for adaptable interval.
        Returns:
        adaptable interval
      • getThreshold

        public T getThreshold()
        Getter for threshold.
        Returns:
        threshold
      • getMaxIterationCount

        public int getMaxIterationCount()
        Getter for max iter.
        Returns:
        max iter
      • toEventDetectionSettings

        public EventDetectionSettings toEventDetectionSettings()
        Create a non-Field equivalent object.
        Returns:
        event detection settings