Class StoppingCondition

java.lang.Object
georegression.misc.StoppingCondition

public class StoppingCondition extends Object
Specifies the stopping condition for an iterative algorithm.
  • Constructor Details

    • StoppingCondition

      public StoppingCondition(int maxIterations, double errorThreshold)
    • StoppingCondition

      public StoppingCondition(int maxIterations, double errorThreshold, double errorRelativeChange)
  • Method Details

    • reset

      public void reset()
    • isFinished

      public boolean isFinished(double foundError)
    • copy

      public StoppingCondition copy()
    • getIteration

      public int getIteration()