Stride Reference Manual  - generated for commit 9643b11
InfectorExec.h
Go to the documentation of this file.
1 /*
2  * This is free software: you can redistribute it and/or modify it
3  * under the terms of the GNU General Public License as published by
4  * the Free Software Foundation, either version 3 of the License, or
5  * any later version.
6  * The software is distributed in the hope that it will be useful,
7  * but WITHOUT ANY WARRANTY; without even the implied warranty of
8  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9  * GNU General Public License for more details.
10  * You should have received a copy of the GNU General Public License
11  * along with the software. If not, see <http://www.gnu.org/licenses/>.
12  *
13  * Copyright 2018, Kuylen E, Willem L, Broeckhove J
14  */
15 
21 #pragma once
22 
23 #include <spdlog/spdlog.h>
24 
25 namespace stride {
26 
27 class ContactPool;
28 class AgeContactProfile;
29 class TransmissionProfile;
30 class ContactHandler;
31 
33 typedef void(InfectorExec)(ContactPool& pool, const AgeContactProfile& profile,
34  const TransmissionProfile& trans_profile, ContactHandler& c_handler,
35  unsigned short int sim_day, std::shared_ptr<spdlog::logger> c_logger);
36 
37 } // namespace stride
A group of Persons that potentially have contacts with one another.
Definition: ContactPool.h:38
Processes the contacts between persons and determines whether transmission occurs.
void( InfectorExec)(ContactPool &pool, const AgeContactProfile &profile, const TransmissionProfile &trans_profile, ContactHandler &c_handler, unsigned short int sim_day, std::shared_ptr< spdlog::logger > c_logger)
For use in the InfectorMap and Sim; executes infector.
Definition: InfectorExec.h:33
Transmission probabilities from disease data.
Contact rates as a function of age.
Namespace for the simulator and related classes.
Definition: Calendar.cpp:28