# QuantLib_ProbabilityBoltzmann man page

ProbabilityBoltzmann — Boltzmann Probability.

## Synopsis

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

### Public Member Functions

**ProbabilityBoltzmann** (unsigned long seed=**SeedGenerator::instance**().get())**ProbabilityBoltzmann** (const **ProbabilityBoltzmann** &probability)

bool **operator()** (**Real** currentValue, **Real** newValue, const **Array** &temp) const

## Detailed Description

Boltzmann Probability.

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

## Author

Generated automatically by Doxygen for QuantLib from the source code.

## Referenced By

The man page ProbabilityBoltzmann(3) is an alias of QuantLib_ProbabilityBoltzmann(3).

Fri Sep 1 2017 Version 1.10.1 QuantLib