TransitionMatrixGuess
-
class TransitionMatrixGuess : public feasst::Bias
Begin with a guess of the LnProbability Macrostate distribution, and end with TransitionMatrix.
Public Functions
-
void update(const int macrostate_old, const int macrostate_new, const double ln_metropolis_prob, const bool is_accepted, const bool is_endpoint, const Macrostate ¯o)
Update only.
-
int cycles_to_complete() const
Updates min_sweeps, but neither flatness.
-
void set_cycles_to_complete(const int cycle)
Set the number of cycles required for completion.
-
const LnProbability &ln_prob() const
The natural log of the macrostate probability.
-
void infrequent_update(const Macrostate ¯o)
Perform an infrequent update to the bias.
-
void set_ln_prob(const LnProbability &ln_prob)
Set the macrostate probability distribution.
Arguments
TransitionMatrix arguments.
min_collect_sweeps: Begin using the TransitionMatrix bias when this many sweeps has been reached (default: 10).
ln_prob_file: name of file containing one number for each line corresponding to the LnProbability of each Macrostate.
-
void update(const int macrostate_old, const int macrostate_new, const double ln_metropolis_prob, const bool is_accepted, const bool is_endpoint, const Macrostate ¯o)