Metropolis
-
class Metropolis : public feasst::Criteria
Metropolis et al.[1] acceptance criteria.
References:
Public Functions
Same as above, but with an added constraint.
-
bool is_accepted(const System &system, Acceptance *acceptance, Random *random)
Return whether or not the trial attempt should be accepted.
Arguments
num_trials_per_iteration: define an iteration as a number of trials (as measured by number of calls to is_accepted) default: 1e9. Note that iterations are defined like cycles, but are not necessarily the number of particles.
Criteria arguments.