/** * Creates a new instance of AbstractParameterCostMinimizer * @param costFunction * Cost function that computes the cost of the object to optimize * @param maxIterations * Maximum number of iterations before stopping * @param tolerance * Stopping criterion for the algorithm, typically ~1e-5 */ public AbstractParameterCostMinimizer( CostFunctionType costFunction, int maxIterations, double tolerance ) { super( maxIterations ); this.setCostFunction( costFunction ); this.setTolerance( tolerance ); this.setResultCost( null ); }
/** * Creates a new instance of AbstractParameterCostMinimizer * @param costFunction * Cost function that computes the cost of the object to optimize * @param maxIterations * Maximum number of iterations before stopping * @param tolerance * Stopping criterion for the algorithm, typically ~1e-5 */ public AbstractParameterCostMinimizer( CostFunctionType costFunction, int maxIterations, double tolerance ) { super( maxIterations ); this.setCostFunction( costFunction ); this.setTolerance( tolerance ); this.setResultCost( null ); }
/** * Creates a new instance of AbstractParameterCostMinimizer * @param costFunction * Cost function that computes the cost of the object to optimize * @param maxIterations * Maximum number of iterations before stopping * @param tolerance * Stopping criterion for the algorithm, typically ~1e-5 */ public AbstractParameterCostMinimizer( CostFunctionType costFunction, int maxIterations, double tolerance ) { super( maxIterations ); this.setCostFunction( costFunction ); this.setTolerance( tolerance ); this.setResultCost( null ); }