org.spaceroots.mantissa.optimization
Interface ConvergenceChecker
-
public interface ConvergenceCheckerThis interface specifies how to check if adirect search methodhas converged.Deciding if convergence has been reached is a problem-dependent issue. The user should provide a class implementing this interface to allow the optimization algorithm to stop its search according to the problem at hand.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description booleanconverged(PointCostPair[] simplex)Check if the optimization algorithm has converged on the simplex.
-
-
-
Method Detail
-
converged
boolean converged(PointCostPair[] simplex)
Check if the optimization algorithm has converged on the simplex.- Parameters:
simplex- ordered simplex (all points in the simplex have been eavluated and are sorted from lowest to largest cost)- Returns:
- true if the algorithm is considered to have converged
-
-
DataMelt 3.0 © DataMelt by jWork.ORG