Stride Reference Manual
1.0
Main Page
Namespaces
Classes
Files
File List
File Members
DiseaseProfile.h
Go to the documentation of this file.
1
#pragma once
2
/*
3
* This is free software: you can redistribute it and/or modify it
4
* under the terms of the GNU General Public License as published by
5
* the Free Software Foundation, either version 3 of the License, or
6
* any later version.
7
* The software is distributed in the hope that it will be useful,
8
* but WITHOUT ANY WARRANTY; without even the implied warranty of
9
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
* GNU General Public License for more details.
11
* You should have received a copy of the GNU General Public License
12
* along with the software. If not, see <http://www.gnu.org/licenses/>.
13
*
14
* Copyright 2015, Willem L, Kuylen E, Stijven S & Broeckhove J
15
*/
16
22
#include <boost/property_tree/ptree.hpp>
23
24
namespace
stride
{
25
26
class
DiseaseProfile
{
27
public
:
29
DiseaseProfile
() :
m_transmission_rate
(0.0) {}
30
32
double
getTransmissionRate
() {
return
m_transmission_rate
; }
33
35
void
initialize
(
const
boost::property_tree::ptree& pt_config,
const
boost::property_tree::ptree& pt_disease);
36
37
private
:
38
double
m_transmission_rate
;
39
};
40
41
}
42
stride
Time Dependent Person DataType.
Definition:
NoBehaviour.h:17
stride::DiseaseProfile::initialize
void initialize(const boost::property_tree::ptree &pt_config, const boost::property_tree::ptree &pt_disease)
Initialize.
Definition:
DiseaseProfile.cpp:28
stride::DiseaseProfile
Definition:
DiseaseProfile.h:26
stride::DiseaseProfile::m_transmission_rate
double m_transmission_rate
Definition:
DiseaseProfile.h:38
stride::DiseaseProfile::DiseaseProfile
DiseaseProfile()
Initialize.
Definition:
DiseaseProfile.h:29
stride::DiseaseProfile::getTransmissionRate
double getTransmissionRate()
Return transmission rate.
Definition:
DiseaseProfile.h:32
main
cpp
core
DiseaseProfile.h
Generated on Tue Jun 27 2017 15:37:20 for Stride Reference Manual by
1.8.11