31 Runner(std::shared_ptr<EventAggregator> bus,
32 std::unique_ptr<RandomBitGenerator> seed_generator)
noexcept;
57 std::atomic<
bool> running_;
60 std::stop_source source_;
61 std::
string runner_id_{};
63 void run_model_thread(
const std::stop_token &token,
Simulation &model,
unsigned int run,
66 void notify(std::unique_ptr<hgps::EventMessage> message);
Defines the event aggregator interface type.
Definition event_aggregator.h:59
Pseudo-random number generator algorithm interface.
Definition randombit_generator.h:9
Defines the simulation executive data type class.
Definition runner.h:24
void cancel() noexcept
Cancel a running experiment.
Definition runner.cpp:108
bool is_running() const noexcept
Gets a value indicating whether an experiment is current running.
Definition runner.cpp:106
double run(Simulation &baseline, const unsigned int trial_runs)
Run an experiment for baseline scenario only.
Definition runner.cpp:17
Defines the simulation engine data type class.
Definition simulation.h:24
Top-level namespace for Health-GPS Console host application.
Definition command_options.cpp:8
@ baseline
Baseline scenario.
@ intervention
Intervention scenario.
Global namespace.
Definition column_iterator.h:123