autoppl  v0.8
A C++ template library for probabilistic programming
config_base.hpp
Go to the documentation of this file.
1 #pragma once
2 #include <cstddef>
4 
5 namespace ppl {
6 
7 struct ConfigBase
8 {
9  size_t warmup = 1000;
10  size_t samples = 1000;
11  size_t seed = mcmc::random_seed();
12  bool prune = true;
13 };
14 
15 } // namespace ppl
ppl::ConfigBase
Definition: config_base.hpp:8
ppl::ConfigBase::seed
size_t seed
Definition: config_base.hpp:11
ppl::mcmc::random_seed
size_t random_seed()
Definition: sampler_tools.hpp:10
sampler_tools.hpp
ppl::ConfigBase::prune
bool prune
Definition: config_base.hpp:12
ppl
Definition: bounded.hpp:11
ppl::ConfigBase::warmup
size_t warmup
Definition: config_base.hpp:9
ppl::ConfigBase::samples
size_t samples
Definition: config_base.hpp:10