altbacken.external.acceptance

Classes

BoltzmannAcceptance([boltzmann_constant])

The BoltzmannEnergy class models energy difference transitions using the Boltzmann distribution, often applied in fields like statistical mechanics and optimization.

class altbacken.external.acceptance.BoltzmannAcceptance(boltzmann_constant: float = 1.0)[source]

Bases: object

The BoltzmannEnergy class models energy difference transitions using the Boltzmann distribution, often applied in fields like statistical mechanics and optimization.

This class helps calculate the probability of transitioning between states. Through a callable interface, it computes values based on energy state differences, a provided temperature, and the Boltzmann constant. It aids in understanding systems governed by thermodynamics or simulated annealing processes.

boltzmann_constant

The Boltzmann constant used in the energy calculation.

Type:

float

__init__(boltzmann_constant: float = 1.0)[source]
__call__(current_value: float, new_value: float, temperature: float) float[source]

Call self as a function.