Reseeding if energy did not improve
This class wraps 2 takestep objects, one for a regular takestep move, and a reseeding step which is executed if the energy of the basin hopping run did not improve after a given number of steps.
The energy is considered as improved if it is lower than the lowest energy found during the current cycle.
Parameters : | takestep : takestep object
reseed : takestep object
maxnoimprove : integer
|
---|
Methods
__call__(*args, **kwargs) | |
scale(factor) | scale the stepsize |
takeStep(coords, **kwargs) | |
updateStep(accepted, **kwargs) |