Searched refs:nextReal (Results 1 – 13 of 13) sorted by relevance
144 jitter[jitterIter] = rng_.nextReal(); in calculateNextGeneration()181 * rng_.nextReal() + configuration().stepsizeWeight; in calculateNextGeneration()213 if (rng_.nextReal() < probFWeight) { in calculateNextGeneration()242 if (rng_.nextReal() < 0.1){ in calculateNextGeneration()288 + rng_.nextReal() in crossover()293 + rng_.nextReal() in crossover()316 if (rng_.nextReal() < mutationProbabilities[cmIter]) { in getCrossoverMask()367 if (rng_.nextReal() < sizeWeightChangeProb) in adaptSizeWeights()375 if (rng_.nextReal() < crossoverChangeProb) in adaptCrossover()376 currGenCrossover_[coIter] = rng_.nextReal(); in adaptCrossover()[all …]
58 inline void nextReal(InputIterator first) const { in nextReal() function in QuantLib::IsotropicRandomWalk63 Real phi = M_PI*rng_.nextReal(); in nextReal()67 phi = M_PI*rng_.nextReal(); in nextReal()73 if (rng_.nextReal() < 0.5) in nextReal()
229 if ((f_[i-1]-f_[i])*mt32_.nextReal() + f_[i] < std::exp(-0.5*x*x)) in nextGaussian()233 p_*mt32_.nextReal()+q_); in nextGaussian()
195 Real val = c0_*(threshold_ + (1.0 - threshold_)*rng_.nextReal()); in setValues()289 (*V_)[i] *= c0_*(0.5 + 0.5*rng_.nextReal()); in setValues()294 flight_.nextReal<Real *>(&(*V_)[i][0]); in setValues()
138 v[j] += c1_*rng_.nextReal()*(pB[j] - x[j]) + c2_*rng_.nextReal()*(gB[j] - x[j]); in minimize()
228 walkRandom_.nextReal(&xRW[0]); in walkImpl()
137 if (j == rIndex || rng_.nextReal() <= crossover_) { in minimize()
54 sample_type next() const { return sample_type(nextReal(),1.0); } in next()56 Real nextReal() const { in nextReal() function in QuantLib::MersenneTwisterUniformRng
146 float nextReal() { return (float)nextInt() / (float)UINT_MAX; } in nextReal() function in __anonf1bb20810111::Random734 float rand = rng.nextReal(); in sample()741 float u1 = rng.nextReal(); in sample()742 float u2 = rng.nextReal(); in sample()812 float rand = rng.nextReal(); in sampleBRDF()824 *wi = directionCosTheta(norm, rng.nextReal(), rng.nextReal(), pdf); in sampleBRDF()1022 float px = x + (rng.nextReal() - 0.5f); in eyeSubpath()1023 float py = y + (rng.nextReal() - 0.5f); in eyeSubpath()1061 directionCosTheta(norm, rng.nextReal(), rng.nextReal(), &pdfDir); in lightSubpath()
165 std::ifstream& nextReal(); //!< find next real-valued string
450 std::ifstream& StringInput::nextReal() { return notWord('r'); } in nextReal() function in xlifepp::iomel::StringInput
350 Real x = 2.0 * (mt.nextReal() - 0.5) * 1234.0; in testIncrementalStatistics()351 Real w = mt.nextReal(); in testIncrementalStatistics()
425 fx += (i+1.0)*pow(x[i],4.0) + uniformRng_.nextReal(); in value()