Home
last modified time | relevance | path

Searched refs:maxEvaluations (Results 1 – 16 of 16) sorted by relevance

/external/apache-commons-math/src/main/java/org/apache/commons/math/
DMaxEvaluationsExceededException.java38 private final int maxEvaluations; field in MaxEvaluationsExceededException
44 public MaxEvaluationsExceededException(final int maxEvaluations) { in MaxEvaluationsExceededException() argument
45 super(LocalizedFormats.MAX_EVALUATIONS_EXCEEDED, maxEvaluations); in MaxEvaluationsExceededException()
46 this.maxEvaluations = maxEvaluations; in MaxEvaluationsExceededException()
58 public MaxEvaluationsExceededException(final int maxEvaluations, in MaxEvaluationsExceededException() argument
60 this(maxEvaluations, new DummyLocalizable(pattern), arguments); in MaxEvaluationsExceededException()
71 public MaxEvaluationsExceededException(final int maxEvaluations, in MaxEvaluationsExceededException() argument
74 this.maxEvaluations = maxEvaluations; in MaxEvaluationsExceededException()
81 return maxEvaluations; in getMaxEvaluations()
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/univariate/
DAbstractUnivariateRealOptimizer.java47 private int maxEvaluations; field in AbstractUnivariateRealOptimizer
141 public void setMaxEvaluations(int maxEvaluations) { in setMaxEvaluations() argument
142 this.maxEvaluations = maxEvaluations; in setMaxEvaluations()
147 return maxEvaluations; in getMaxEvaluations()
194 if (++evaluations > maxEvaluations) { in computeObjectiveValue()
195 … throw new FunctionEvaluationException(new MaxEvaluationsExceededException(maxEvaluations), point); in computeObjectiveValue()
210 if (++evaluations > maxEvaluations) { in computeObjectiveValue()
212 … throw new FunctionEvaluationException(new MaxEvaluationsExceededException(maxEvaluations), point); in computeObjectiveValue()
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/general/
DAbstractScalarDifferentiableOptimizer.java67 private int maxEvaluations; field in AbstractScalarDifferentiableOptimizer
107 public void setMaxEvaluations(int maxEvaluations) { in setMaxEvaluations() argument
108 this.maxEvaluations = maxEvaluations; in setMaxEvaluations()
113 return maxEvaluations; in getMaxEvaluations()
169 if (++evaluations > maxEvaluations) { in computeObjectiveValue()
170 … throw new FunctionEvaluationException(new MaxEvaluationsExceededException(maxEvaluations), in computeObjectiveValue()
DAbstractLeastSquaresOptimizer.java105 private int maxEvaluations; field in AbstractLeastSquaresOptimizer
145 public void setMaxEvaluations(int maxEvaluations) { in setMaxEvaluations() argument
146 this.maxEvaluations = maxEvaluations; in setMaxEvaluations()
151 return maxEvaluations; in getMaxEvaluations()
216 if (++objectiveEvaluations > maxEvaluations) { in updateResidualsAndCost()
217 … throw new FunctionEvaluationException(new MaxEvaluationsExceededException(maxEvaluations), in updateResidualsAndCost()
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/
DMultiStartMultivariateRealOptimizer.java50 private int maxEvaluations; field in MultiStartMultivariateRealOptimizer
132 public void setMaxEvaluations(int maxEvaluations) { in setMaxEvaluations() argument
133 this.maxEvaluations = maxEvaluations; in setMaxEvaluations()
138 return maxEvaluations; in getMaxEvaluations()
176 optimizer.setMaxEvaluations(maxEvaluations - totalEvaluations); in optimize()
DMultiStartDifferentiableMultivariateRealOptimizer.java53 private int maxEvaluations; field in MultiStartDifferentiableMultivariateRealOptimizer
142 public void setMaxEvaluations(int maxEvaluations) { in setMaxEvaluations() argument
143 this.maxEvaluations = maxEvaluations; in setMaxEvaluations()
148 return maxEvaluations; in getMaxEvaluations()
187 optimizer.setMaxEvaluations(maxEvaluations - totalEvaluations); in optimize()
DMultiStartDifferentiableMultivariateVectorialOptimizer.java56 private int maxEvaluations; field in MultiStartDifferentiableMultivariateVectorialOptimizer
146 public void setMaxEvaluations(int maxEvaluations) { in setMaxEvaluations() argument
147 this.maxEvaluations = maxEvaluations; in setMaxEvaluations()
152 return maxEvaluations; in getMaxEvaluations()
191 optimizer.setMaxEvaluations(maxEvaluations - totalEvaluations); in optimize()
DMultiStartUnivariateRealOptimizer.java51 private int maxEvaluations; field in MultiStartUnivariateRealOptimizer
118 return maxEvaluations; in getMaxEvaluations()
157 public void setMaxEvaluations(int maxEvaluations) { in setMaxEvaluations() argument
158 this.maxEvaluations = maxEvaluations; in setMaxEvaluations()
241 optimizer.setMaxEvaluations(maxEvaluations - totalEvaluations); in optimize()
DDifferentiableMultivariateVectorialOptimizer.java54 void setMaxEvaluations(int maxEvaluations); in setMaxEvaluations() argument
DMultivariateRealOptimizer.java48 void setMaxEvaluations(int maxEvaluations); in setMaxEvaluations() argument
DDifferentiableMultivariateRealOptimizer.java59 void setMaxEvaluations(int maxEvaluations); in setMaxEvaluations() argument
DUnivariateRealOptimizer.java36 void setMaxEvaluations(int maxEvaluations); in setMaxEvaluations() argument
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/
DAbstractIntegrator.java73 private int maxEvaluations; field in AbstractIntegrator
170 public void setMaxEvaluations(int maxEvaluations) { in setMaxEvaluations() argument
171 this.maxEvaluations = (maxEvaluations < 0) ? Integer.MAX_VALUE : maxEvaluations; in setMaxEvaluations()
176 return maxEvaluations; in getMaxEvaluations()
207 if (++evaluations > maxEvaluations) { in computeDerivatives()
208 throw new DerivativeException(new MaxEvaluationsExceededException(maxEvaluations)); in computeDerivatives()
DODEIntegrator.java122 void setMaxEvaluations(int maxEvaluations); in setMaxEvaluations() argument
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/direct/
DDirectSearchOptimizer.java107 private int maxEvaluations; field in DirectSearchOptimizer
227 public void setMaxEvaluations(int maxEvaluations) { in setMaxEvaluations() argument
228 this.maxEvaluations = maxEvaluations; in setMaxEvaluations()
233 return maxEvaluations; in getMaxEvaluations()
343 if (++evaluations > maxEvaluations) { in evaluate()
344 … throw new FunctionEvaluationException(new MaxEvaluationsExceededException(maxEvaluations), x); in evaluate()
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/jacobians/
DFirstOrderIntegratorWithJacobians.java64 private int maxEvaluations; field in FirstOrderIntegratorWithJacobians
323 public void setMaxEvaluations(int maxEvaluations) { in setMaxEvaluations() argument
324 this.maxEvaluations = (maxEvaluations < 0) ? Integer.MAX_VALUE : maxEvaluations; in setMaxEvaluations()
331 return maxEvaluations; in getMaxEvaluations()
408 if (++evaluations > maxEvaluations) { in computeDerivatives()
409 throw new DerivativeException(new MaxEvaluationsExceededException(maxEvaluations)); in computeDerivatives()
511 if (evaluations > maxEvaluations) { in computeJacobians()
512 throw new DerivativeException(new MaxEvaluationsExceededException(maxEvaluations)); in computeJacobians()