Class FieldDateDetector<T extends CalculusFieldElement<T>>

    • Field Detail

      • DEFAULT_MAX_CHECK

        public static final double DEFAULT_MAX_CHECK
        Default value for max check.
        Since:
        12.0
        See Also:
        Constant Field Values
      • DEFAULT_MIN_GAP

        public static final double DEFAULT_MIN_GAP
        Default value for minimum gap between added dates.
        Since:
        12.0
        See Also:
        Constant Field Values
      • DEFAULT_THRESHOLD

        public static final double DEFAULT_THRESHOLD
        Default value for convergence threshold.
        Since:
        12.0
        See Also:
        Constant Field Values
    • Constructor Detail

      • FieldDateDetector

        @SafeVarargs
        protected FieldDateDetector​(FieldAdaptableInterval<T> maxCheck,
                                    T threshold,
                                    int maxIter,
                                    FieldEventHandler<T> handler,
                                    double minGap,
                                    FieldTimeStamped<T>... dates)
        Protected constructor with full parameters.

        This constructor is not public as users are expected to use the builder API with the various withXxx() methods to set up the instance in a readable manner without using a huge amount of parameters.

        Parameters:
        maxCheck - maximum checking interval
        threshold - convergence threshold (s)
        maxIter - maximum number of iterations in the event time search
        handler - event handler to call at event occurrences
        minGap - minimum gap between added dates (s)
        dates - list of event dates