lppl
v2.0.0
|
#include <algorithm>
#include <iostream>
#include <cstddef>
#include <cmath>
#include <functional>
#include <memory>
#include <optional>
#include <random>
#include <unordered_map>
#include <vector>
#include <distributions.hpp>
#include <record.hpp>
#include <effects.hpp>
#include <query.hpp>
#include <inference/inference.hpp>
#include <inference/proposal.hpp>
Classes | |
struct | AncestorMetropolis< I, O, V, Q, Ts > |
Metropolis Hastings using the prior distribution as the proposal. More... | |
struct | GenericMetropolis< I, O, V, Q, Ts > |
Generic Metropolis-Hastings algorithm with user-specified proposal distribution. More... | |
struct | has_proposal< GenericMetropolis > |
struct | inference_state< AncestorMetropolis, I, O, Ts... > |
struct | inference_state< GenericMetropolis, I, O, Ts... > |
Functions | |
template<typename... Ts> | |
double | log_accept_prior (record_t< DTypes< Ts... >> &orig_r, record_t< DTypes< Ts... >> &new_r) |
Log acceptance probability for use when proposing from the prior. More... | |
This file is part of fmcs. Copyright David Rushing Dewhurst, 2022 - present. Some rights reserved.