1 #ifndef ABCSMCCONTROLLER_H 2 #define ABCSMCCONTROLLER_H 11 #include "core/Command.h" 13 #include "AbstractController.h" 56 virtual void iterate()
override;
62 static std::string
help();
119 std::chrono::system_clock::now().time_since_epoch().count();
130 std::vector<Epsilon> m_epsilons;
139 std::vector<ParameterName> m_parameter_names;
142 int m_population_size;
145 std::vector<Parameter> m_prmtr_accepted_new;
148 std::vector<double> m_weights_new;
151 int m_number_simulated = 0;
157 std::vector<double> m_prior_pdf_accepted;
160 std::uniform_real_distribution<double> m_distribution;
163 std::mt19937_64 m_generator;
166 std::queue<double> m_prior_pdf_pending;
169 std::vector<Parameter> m_prmtr_accepted_old;
172 std::vector<double> m_weights_old;
175 std::vector<double> m_weights_cumsum;
190 bool m_entered =
false;
193 #endif // ABCSMCCONTROLLER_H virtual Command getSimulator() const override
static ABCSMCController * makeController(const Arguments &args)
ABCSMCController(const Input &input_obj)
static void addLongOptions(LongOptions &lopts)
virtual void iterate() override
virtual ~ABCSMCController() override=default
static std::string help()