autoppl  v0.8
A C++ template library for probabilistic programming
configs.hpp
Go to the documentation of this file.
1 #pragma once
2 #include <cstddef>
7 
8 namespace ppl {
9 
13 template <class VarAdapterPolicy=diag_var>
15 {
16  using var_adapter_policy_t = VarAdapterPolicy;
17 
18  // configuration for sampling
19  size_t max_depth = 10;
20 
21  // configuration for step-size adaptation
23 
24  // configuration for variance adaptation
26 };
27 
31 template <class NUTSConfigType>
33 {
35  typename NUTSConfigType::var_adapter_policy_t;
36 };
37 
38 } // namespace ppl
ppl::ConfigBase
Definition: config_base.hpp:8
ppl::NUTSConfig::step_config
StepConfig step_config
Definition: configs.hpp:22
momentum_handler.hpp
config_base.hpp
ppl::nuts_config_traits::var_adapter_policy_t
typename NUTSConfigType::var_adapter_policy_t var_adapter_policy_t
Definition: configs.hpp:35
ppl::VarConfig
Definition: var_adapter.hpp:18
ppl::NUTSConfig
Definition: configs.hpp:15
ppl::NUTSConfig::var_config
VarConfig var_config
Definition: configs.hpp:25
step_adapter.hpp
sampler_tools.hpp
ppl::StepConfig
Definition: step_adapter.hpp:11
ppl
Definition: bounded.hpp:11
ppl::NUTSConfig::var_adapter_policy_t
VarAdapterPolicy var_adapter_policy_t
Definition: configs.hpp:16
ppl::NUTSConfig::max_depth
size_t max_depth
Definition: configs.hpp:19
ppl::nuts_config_traits
Definition: configs.hpp:33