Class AbstractViolationFinder

    • Constructor Detail

      • AbstractViolationFinder

        public AbstractViolationFinder()
    • Method Detail

      • check

        protected void check​(double[] data,
                             Limits[] limits)
        Check method before locating violations.
        Parameters:
        data - the data to check
        limits - the limits for the data
      • doFind

        protected abstract int[] doFind​(double[] data,
                                        Limits[] limits)
        Performs the finding.
        Parameters:
        data - the data to check
        limits - the limits for the data
        Returns:
        the indices of the violations
      • find

        public int[] find​(double[] data,
                          Limits[] limits)
        Performs the finding.
        Specified by:
        find in interface ViolationFinder
        Parameters:
        data - the data to check
        limits - the limits for the data
        Returns:
        the indices of the violations