Obsidian
Probabilistic Geophysical Joint Inversion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
metropolis.cpp File Reference

Contains the implementation of random-walk Metropolis-Hastings sampler. More...

Include dependency graph for metropolis.cpp:

Namespaces

 stateline
 
 stateline::mcmc
 

Functions

bool stateline::mcmc::acceptProposal (const State &newState, const State &oldState, double beta)
 Returns true if we want to accept the MCMC step. More...
 
bool stateline::mcmc::acceptSwap (const State &stateLow, const State &stateHigh, double betaLow, double betaHigh)
 Returns true if we want to accept the MCMC swap. More...
 

Detailed Description

Contains the implementation of random-walk Metropolis-Hastings sampler.

Author
Lachlan McCalman
Darren Shen
Date
2014
License:
Affero General Public License version 3 or later