PerturbModel
-
class PerturbModel : public feasst::Perturb
Change the ModelExpanded::model_index by plus or minus one.
Public Functions
-
void perturb(System *system, TrialSelect *select, Random *random, const bool is_position_held = false, Acceptance *acceptance = NULL)
Perturb the selection of the system.
- param is_position_held:
If position is held, all but perform the actual perturbation, as typically required for calculations of old configurations and Rosenbluth
Arguments
args:
potential_index: index of potential with model_index (default: 0).
-
void perturb(System *system, TrialSelect *select, Random *random, const bool is_position_held = false, Acceptance *acceptance = NULL)