Metropolis
-
class Metropolis : public feasst::Criteria
Metropolis acceptance criteria.
https://doi.org/10.1063%2F1.1699114
Public Functions
-
Metropolis(argtype args = argtype())
args:
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.
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.
-
Metropolis(argtype args = argtype())