Class AcrossReplicationHalfWidthChecker

    • Field Detail

      • myConfidenceLevel

        protected double myConfidenceLevel
        The confidence level for within replication half-width checking. The default is Statistic.DEFAULT_CONFIDENCE_LEVEL
      • myDesiredHalfWidth

        protected double myDesiredHalfWidth
        The desired half-width for stopping
    • Constructor Detail

      • AcrossReplicationHalfWidthChecker

        public AcrossReplicationHalfWidthChecker​(double desiredHW)
        Creates a new instance of StatisticalObserver
        Parameters:
        desiredHW - the desired half-width
      • AcrossReplicationHalfWidthChecker

        public AcrossReplicationHalfWidthChecker​(double desiredHW,
                                                 java.lang.String name)
        Creates a new instance of StatisticalObserver
        Parameters:
        desiredHW - the desired half-width
        name - the name of the checker
    • Method Detail

      • setConfidenceLevel

        public void setConfidenceLevel​(double level)
        Sets the confidence level for the statistic
        Parameters:
        level - must be > 0.0 and less than 1
      • getConfidenceLevel

        public double getConfidenceLevel()
      • setDesiredHalfWidth

        public final void setDesiredHalfWidth​(double desiredHalfWidth)
        Sets the desired half-width
        Parameters:
        desiredHalfWidth - the desired half-width
      • getDesiredHalfWidth

        public final double getDesiredHalfWidth()
        Gets the current desired half-width
        Returns:
        the current desired half-width