28 #include <boost/property_tree/xml_parser.hpp> 43 const auto sim = m_runner->GetSim();
44 m_logger->info(
" SimRunner at start:");
46 write_xml(ss, m_runner->GetConfig(), xml_writer_make_settings<ptree::key_type>(
' ', 8));
47 m_logger->trace(
"Run config used:\n {}", ss.str());
48 m_logger->info(
" Day: {:4} Done, infected count: {:7}", sim->GetCalendar()->GetSimulationDay(),
49 sim->GetPopulation()->GetInfectedCount());
53 const auto sim = m_runner->GetSim();
54 m_logger->info(
" Day: {:4} Done, infected count: {:7}", sim->GetCalendar()->GetSimulationDay(),
55 sim->GetPopulation()->GetInfectedCount());
59 const auto sim = m_runner->GetSim();
60 m_logger->info(
" SimRunner done after: {}", m_runner->GetClock().ToString());
Namespace to manage events signalled by the SimRunner.
Observer for SimEvents for commandline interface usage.
Utilities for the project.
Header file for the core Population class.
Header for the Simulator class.
Header file for the Calendar class.
Namespace for the simulator and related classes.
Header for the SimRunner class.