AlwaysReject

class AlwaysReject : public feasst::Criteria

Always reject the trial.

Public Functions

AlwaysReject(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.