Tune

class Tune : public feasst::Modify

Each trial has a tunable value stored in this object. Every update, check if state has changed and replace with stored values. Also, Tune the stored values.

Public Functions

std::string header(const Criteria &criteria, const System &system, const TrialFactory &trials) const

Return the header for writing.

void initialize(Criteria *criteria, System *system, TrialFactory *trial_factory)

Initialize and precompute before trials.

void update(Criteria *criteria, System *system, Random *random, TrialFactory *trial_factory)

Perform update.

std::string write(Criteria *criteria, System *system, TrialFactory *trial_factory)

Perform write.

Arguments

  • trials_per_tune: number of attempted trials per tune (default: 1e3).

  • Stepper arguments.