All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
Gaussian_random_walk_proposer Class Reference

#include <sample_proposer.h>

Public Member Functions

 Gaussian_random_walk_proposer (double variance)
 Construct a GRWP. More...
Mh_proposal_result operator() (const double &m, double &mp) const
 Propose a new value. More...

Detailed Description

Simple single-dimensional Gaussian random-walk proposer. Given a value x, this object will propose x' ~ N(x, s), where s is provided at construction.

Constructor & Destructor Documentation

Gaussian_random_walk_proposer::Gaussian_random_walk_proposer ( double  variance)

Construct a GRWP.

Member Function Documentation

Mh_proposal_result Gaussian_random_walk_proposer::operator() ( const double &  m,
double &  mp 
) const

Propose a new value.

The documentation for this class was generated from the following file: