pele.accept_tests.Metropolis#
- class pele.accept_tests.Metropolis(temperature, random=<bound method RandomState.rand of RandomState(MT19937)>)[source]#
Accept steps based on the metropolis criterion
- Parameters:
- temperaturefloat
- randomcallable
return a random number in [0,1)
Methods
|
wrapper for acceptRejectE |
|
the Metropolis criterion |
Force acceptance of the next step. |
Attributes