TrialCompute

class TrialCompute

Implement the perturbation and calculation of acceptance.

Subclassed by feasst::ComputeAddAVB, feasst::ComputeAddAVBDivalent, feasst::ComputeAddMultiple, feasst::ComputeBeta, feasst::ComputeGCA, feasst::ComputeGibbsParticleTransfer, feasst::ComputeGibbsVolumeTransfer, feasst::ComputeModel, feasst::ComputeMorph, feasst::ComputeMoveCluster, feasst::ComputeRemoveAVB, feasst::ComputeRemoveAVBDivalent, feasst::ComputeRemoveMultiple, feasst::TrialComputeAdd, feasst::TrialComputeMove, feasst::TrialComputeRemove, feasst::TrialComputeTranslate, feasst::TrialComputeVolume

Public Functions

void compute_rosenbluth(const int old, Criteria *criteria, System *system, Acceptance *acceptance, std::vector<TrialStage*> *stages, Random *random)

Perform the stages on the system and compute the acceptance.

param old:

Set to 1 for “old” system and “0” for new.

virtual void perturb_and_acceptance(Criteria *criteria, System *system, Acceptance *acceptance, std::vector<TrialStage*> *stages, Random *random) = 0

Perform the Perturbations and determine acceptance.