Package georegression.misc
Class StoppingCondition
java.lang.Object
georegression.misc.StoppingCondition
Specifies the stopping condition for an iterative algorithm.
-
Constructor Summary
ConstructorDescriptionStoppingCondition
(int maxIterations, double errorThreshold) StoppingCondition
(int maxIterations, double errorThreshold, double errorRelativeChange) -
Method Summary
-
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
-
getIteration
public int getIteration()
-