25 _step_size(_aiss->getAffineStepSize())
29 paramError(
"sampler",
"The selected sampler is not of type AffineInvariantStretchSampler.");
34 const std::vector<Real> & evidence)
36 for (
unsigned int i = 0; i < tv.size(); ++i)
37 tv[i] = std::exp(std::min((
_priors.size() - 1) * std::log(
_step_size[i]) + evidence[i], 0.0));
PMCMCDecision will help making sample accept/reject decisions in MCMC schemes (for e...
registerMooseObject("StochasticToolsApp", AffineInvariantStretchDecision)
A class for performing Affine Invariant Ensemble MCMC with stretch sampler.
AffineInvariantStretchDecision(const InputParameters ¶meters)
static InputParameters validParams()
const AffineInvariantStretchSampler *const _aiss
Affine stretch sampler.
virtual void computeTransitionVector(std::vector< Real > &tv, const std::vector< Real > &evidence) override
Compute the transition probability vector (after the computation of evidence)
void paramError(const std::string ¶m, Args... args) const
const std::vector< Real > & _step_size
Affine step sizes.
const std::vector< const Distribution * > _priors
Storage for the priors.
static InputParameters validParams()
A class for performing Affine Invariant Ensemble MCMC with stretch sampler.