Metropolis

class Metropolis : public feasst::Criteria

Metropolis acceptance criteria.

https://doi.org/10.1063%2F1.1699114

Public Functions

Metropolis(std::shared_ptr<Constraint> constraint, const argtype &args = argtype())

Same as above, but with an added constraint.

bool is_accepted(const Acceptance &acceptance_, const System &system, Random *random)

Return whether or not the trial attempt should be accepted.