#include <MCMCChain.h>
template<typename _HYP>
class MCMCChain< _HYP >
- Author
- Steven Piantadosi
- Date
- 25/10/21
◆ HYP
◆ MCMCChain() [1/4]
◆ MCMCChain() [2/4]
◆ MCMCChain() [3/4]
◆ MCMCChain() [4/4]
◆ ~MCMCChain()
◆ acceptance_ratio()
template<typename _HYP>
double MCMCChain< _HYP >::acceptance_ratio |
( |
| ) |
|
|
inline |
Get my acceptance ratio
- Returns
◆ at_temperature()
template<typename _HYP>
double MCMCChain< _HYP >::at_temperature |
( |
double |
t | ) |
|
|
inline |
Return my current posterior at a given temperature t
- Parameters
-
- Returns
◆ check()
◆ getCurrent() [1/2]
get a reference to the current value
- Returns
◆ getCurrent() [2/2]
get a reference to the current value
- Returns
◆ getMax()
◆ restart()
◆ run() [1/2]
Run MCMC according to the control parameters passed in. NOTE: ctl cannot be passed by reference.
- Parameters
-
◆ run() [2/2]
◆ runOnCurrent()
This is called by the constructor to compute the posterior. NOTE it does not callback
◆ set_data()
template<typename _HYP>
void MCMCChain< _HYP >::set_data |
( |
typename HYP::data_t * |
d, |
|
|
bool |
recompute_posterior = true |
|
) |
| |
|
inline |
Set this data.
- Parameters
-
d | - what data to set |
recompute_posterior | - should I recompute the posterior on current? |
◆ acceptances
◆ current
◆ current_mutex
◆ data
◆ history
◆ maxval
◆ proposals
◆ samples
◆ steps_since_improvement
template<typename _HYP>
unsigned long MCMCChain< _HYP >::steps_since_improvement |
◆ temperature
template<typename _HYP>
std::atomic<double> MCMCChain< _HYP >::temperature |
The documentation for this class was generated from the following file: