Home | History | Annotate | Download | only in direct

Lines Matching refs:simplex

70             final RealPointValuePair[] original = simplex;
77 // compute the expanded simplex
78 final RealPointValuePair[] reflectedSimplex = simplex;
81 // accept the reflected simplex
82 simplex = reflectedSimplex;
89 // compute the contracted simplex
92 // accept the contracted simplex
99 for (int i = 0; i < simplex.length; ++i) {
100 converged &= checker.converged(iter, original[i], simplex[i]);
110 /** Compute and evaluate a new simplex.
111 * @param original original simplex (to be preserved)
113 * @param comparator comparator to use to sort simplex vertices from best to poorest
114 * @return best point in the transformed simplex
126 // create the linearly transformed simplex
127 simplex = new RealPointValuePair[n + 1];
128 simplex[0] = original[0];
135 simplex[i] = new RealPointValuePair(xTransformed, Double.NaN, false);
140 return simplex[0];