Home
last modified time | relevance | path

Searched refs:maxIterations (Results 1 – 25 of 41) sorted by relevance

12

/external/apache-commons-math/src/main/java/org/apache/commons/math/
DMaxIterationsExceededException.java38 private final int maxIterations; field in MaxIterationsExceededException
44 public MaxIterationsExceededException(final int maxIterations) { in MaxIterationsExceededException() argument
45 super(LocalizedFormats.MAX_ITERATIONS_EXCEEDED, maxIterations); in MaxIterationsExceededException()
46 this.maxIterations = maxIterations; in MaxIterationsExceededException()
58 public MaxIterationsExceededException(final int maxIterations, in MaxIterationsExceededException() argument
60 this(maxIterations, new DummyLocalizable(pattern), arguments); in MaxIterationsExceededException()
71 public MaxIterationsExceededException(final int maxIterations, in MaxIterationsExceededException() argument
74 this.maxIterations = maxIterations; in MaxIterationsExceededException()
81 return maxIterations; in getMaxIterations()
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/linear/
DAbstractLinearOptimizer.java65 private int maxIterations; field in AbstractLinearOptimizer
78 public void setMaxIterations(int maxIterations) { in setMaxIterations() argument
79 this.maxIterations = maxIterations; in setMaxIterations()
84 return maxIterations; in getMaxIterations()
98 if (++iterations > maxIterations) { in incrementIterationsCounter()
99 throw new OptimizationException(new MaxIterationsExceededException(maxIterations)); in incrementIterationsCounter()
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
DPoissonDistributionImpl.java65 private int maxIterations = DEFAULT_MAX_ITERATIONS; field in PoissonDistributionImpl
92 public PoissonDistributionImpl(double p, double epsilon, int maxIterations) { in PoissonDistributionImpl() argument
95 this.maxIterations = maxIterations; in PoissonDistributionImpl()
117 public PoissonDistributionImpl(double p, int maxIterations) { in PoissonDistributionImpl() argument
119 this.maxIterations = maxIterations; in PoissonDistributionImpl()
219 return Gamma.regularizedGammaQ((double) x + 1, mean, epsilon, maxIterations); in cumulativeProbability()
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/general/
DAbstractScalarDifferentiableOptimizer.java61 private int maxIterations; field in AbstractScalarDifferentiableOptimizer
92 public void setMaxIterations(int maxIterations) { in setMaxIterations() argument
93 this.maxIterations = maxIterations; in setMaxIterations()
98 return maxIterations; in getMaxIterations()
142 if (++iterations > maxIterations) { in incrementIterationsCounter()
143 throw new OptimizationException(new MaxIterationsExceededException(maxIterations)); in incrementIterationsCounter()
DAbstractLeastSquaresOptimizer.java99 private int maxIterations; field in AbstractLeastSquaresOptimizer
130 public void setMaxIterations(int maxIterations) { in setMaxIterations() argument
131 this.maxIterations = maxIterations; in setMaxIterations()
136 return maxIterations; in getMaxIterations()
180 if (++iterations > maxIterations) { in incrementIterationsCounter()
181 throw new OptimizationException(new MaxIterationsExceededException(maxIterations)); in incrementIterationsCounter()
/external/apache-commons-math/src/main/java/org/apache/commons/math/special/
DBeta.java89 int maxIterations) throws MathException in regularizedBeta() argument
91 return regularizedBeta(x, a, b, DEFAULT_EPSILON, maxIterations); in regularizedBeta()
118 final double b, double epsilon, int maxIterations) throws MathException in regularizedBeta() argument
127 ret = 1.0 - regularizedBeta(1.0 - x, b, a, epsilon, maxIterations); in regularizedBeta()
153 FastMath.log(a) - logBeta(a, b, epsilon, maxIterations)) * in regularizedBeta()
154 1.0 / fraction.evaluate(x, epsilon, maxIterations); in regularizedBeta()
189 int maxIterations) { in logBeta() argument
DGamma.java161 int maxIterations) in regularizedGammaP() argument
173 ret = 1.0 - regularizedGammaQ(a, x, epsilon, maxIterations); in regularizedGammaP()
179 … while (FastMath.abs(an/sum) > epsilon && n < maxIterations && sum < Double.POSITIVE_INFINITY) { in regularizedGammaP()
187 if (n >= maxIterations) { in regularizedGammaP()
188 throw new MaxIterationsExceededException(maxIterations); in regularizedGammaP()
238 int maxIterations) in regularizedGammaQ() argument
250 ret = 1.0 - regularizedGammaP(a, x, epsilon, maxIterations); in regularizedGammaQ()
266 ret = 1.0 / cf.evaluate(x, epsilon, maxIterations); in regularizedGammaQ()
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/univariate/
DBracketFinder.java46 private final int maxIterations; field in BracketFinder
96 int maxIterations) { in BracketFinder() argument
100 if (maxIterations <= 0) { in BracketFinder()
101 throw new NotStrictlyPositiveException(maxIterations); in BracketFinder()
105 this.maxIterations = maxIterations; in BracketFinder()
145 if (++iterations > maxIterations) { in search()
146 throw new MaxIterationsExceededException(maxIterations); in search()
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/
DMultiStartDifferentiableMultivariateRealOptimizer.java47 private int maxIterations; field in MultiStartDifferentiableMultivariateRealOptimizer
127 public void setMaxIterations(int maxIterations) { in setMaxIterations() argument
128 this.maxIterations = maxIterations; in setMaxIterations()
133 return maxIterations; in getMaxIterations()
186 optimizer.setMaxIterations(maxIterations - totalIterations); in optimize()
DMultiStartMultivariateRealOptimizer.java47 private int maxIterations; field in MultiStartMultivariateRealOptimizer
122 public void setMaxIterations(int maxIterations) { in setMaxIterations() argument
123 this.maxIterations = maxIterations; in setMaxIterations()
128 return maxIterations; in getMaxIterations()
175 optimizer.setMaxIterations(maxIterations - totalIterations); in optimize()
DMultiStartDifferentiableMultivariateVectorialOptimizer.java50 private int maxIterations; field in MultiStartDifferentiableMultivariateVectorialOptimizer
131 public void setMaxIterations(int maxIterations) { in setMaxIterations() argument
132 this.maxIterations = maxIterations; in setMaxIterations()
137 return maxIterations; in getMaxIterations()
190 optimizer.setMaxIterations(maxIterations - totalIterations); in optimize()
DMultiStartUnivariateRealOptimizer.java48 private int maxIterations; field in MultiStartUnivariateRealOptimizer
113 return maxIterations; in getMaximalIterationCount()
153 this.maxIterations = count; in setMaximalIterationCount()
240 optimizer.setMaximalIterationCount(maxIterations - totalIterations); in optimize()
DDifferentiableMultivariateVectorialOptimizer.java39 void setMaxIterations(int maxIterations); in setMaxIterations() argument
DDifferentiableMultivariateRealOptimizer.java40 void setMaxIterations(int maxIterations); in setMaxIterations() argument
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DContinuedFraction.java96 public double evaluate(double x, int maxIterations) throws MathException { in evaluate() argument
97 return evaluate(x, DEFAULT_EPSILON, maxIterations); in evaluate()
126 public double evaluate(double x, double epsilon, int maxIterations) in evaluate() argument
136 while (n < maxIterations && relativeError > epsilon) { in evaluate()
200 if (n >= maxIterations) { in evaluate()
201 throw new MaxIterationsExceededException(maxIterations, in evaluate()
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/direct/
DDirectSearchOptimizer.java101 private int maxIterations; field in DirectSearchOptimizer
217 public void setMaxIterations(int maxIterations) { in setMaxIterations() argument
218 this.maxIterations = maxIterations; in setMaxIterations()
223 return maxIterations; in getMaxIterations()
317 if (++iterations > maxIterations) { in incrementIterationsCounter()
318 throw new OptimizationException(new MaxIterationsExceededException(maxIterations)); in incrementIterationsCounter()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/
DbtPolarDecomposition.h29 unsigned int maxIterations = DEFAULT_MAX_ITERATIONS);
50 unsigned int maxIterations() const;
DbtPolarDecomposition.cpp36 btPolarDecomposition::btPolarDecomposition(btScalar tolerance, unsigned int maxIterations) in btPolarDecomposition() argument
38 , m_maxIterations(maxIterations) in btPolarDecomposition()
89 unsigned int btPolarDecomposition::maxIterations() const in maxIterations() function in btPolarDecomposition
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/
DFractionConversionException.java41 public FractionConversionException(double value, int maxIterations) { in FractionConversionException() argument
42 super(LocalizedFormats.FAILED_FRACTION_CONVERSION, value, maxIterations); in FractionConversionException()
DFraction.java118 public Fraction(double value, double epsilon, int maxIterations) in Fraction() argument
121 this(value, epsilon, Integer.MAX_VALUE, maxIterations); in Fraction()
175 private Fraction(double value, double epsilon, int maxDenominator, int maxIterations) in Fraction() argument
214 … if (n < maxIterations && FastMath.abs(convergent - value) > epsilon && q2 < maxDenominator) { in Fraction()
226 if (n >= maxIterations) { in Fraction()
227 throw new FractionConversionException(value, maxIterations); in Fraction()
DBigFraction.java229 final int maxIterations) in BigFraction() argument
231 this(value, epsilon, Integer.MAX_VALUE, maxIterations); in BigFraction()
269 final int maxDenominator, int maxIterations) in BigFraction() argument
307 if ((n < maxIterations) && in BigFraction()
321 if (n >= maxIterations) { in BigFraction()
322 throw new FractionConversionException(value, maxIterations); in BigFraction()
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/clustering/
DKMeansPlusPlusClusterer.java93 final int k, final int maxIterations) { in cluster() argument
99 final int max = (maxIterations < 0) ? Integer.MAX_VALUE : maxIterations; in cluster()
/external/aac/libAACenc/src/
Dqc_data.h153 …INT maxIterations; /* Maximum number of allowed iterations before FDKaacEnc_crashRecovery() is app… member
260 …INT maxIterations; /* Maximum number of allowed iterations before FDKaacEnc_crashRecovery() i… member
/external/opencv3/modules/flann/include/opencv2/flann/
Dautotuned_index.h327 int maxIterations[] = { 1, 5, 10, 15 }; in optimizeKMeans() local
330 … int kmeansParamSpaceSize = FLANN_ARRAY_LEN(maxIterations) * FLANN_ARRAY_LEN(branchingFactors); in optimizeKMeans()
334 for (size_t i = 0; i < FLANN_ARRAY_LEN(maxIterations); ++i) { in optimizeKMeans()
339 cost.params["iterations"] = maxIterations[i]; in optimizeKMeans()
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/texturepacker/
DColorBleedEffect.java35 public BufferedImage processImage (BufferedImage image, int maxIterations) { in processImage() argument
45 while (mask.pendingSize > 0 && mask.pendingSize != lastPending && iterations < maxIterations) { in processImage()

12