class EvaluationRmsChecker implements ConvergenceChecker<Evaluation> {

    public boolean converged(final int iteration,
                             final Evaluation previous,
                             final Evaluation current) {
        final double prevRms = previous.getRMS();
        final double currRms = current.getRMS();
        return Precision.equals(prevRms, currRms, this.absTol) ||
                Precision.equalsWithRelativeTolerance(prevRms, currRms, this.relTol);
    }

    public  EvaluationRmsChecker(final double tol);
    public  EvaluationRmsChecker(final double relTol, final double absTol);

}