QuantLib: a free/open-source library for quantitative finance
Reference manual - version 1.40
Loading...
Searching...
No Matches
ProbabilityBoltzmann Class Reference

Boltzmann Probability. More...

#include <ql/experimental/math/hybridsimulatedannealingfunctors.hpp>

Public Member Functions

 ProbabilityBoltzmann (unsigned long seed=SeedGenerator::instance().get())
bool operator() (Real currentValue, Real newValue, const Array &temp)

Detailed Description

Boltzmann Probability.

The probability of accepting a new point is sampled from a Boltzmann distribution. A point is accepted if \( \frac{1}{1+exp(-(current-new)/T)} > u \) where \( u \) is drawn from a uniform distribution.