Stride Reference Manual  1.0
ContactProfile.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 "core/ClusterType.h"
23 #include "pop/Age.h"
24 
25 #include <boost/property_tree/ptree.hpp>
26 #include <array>
27 
28 namespace stride {
29 
30 class ContactProfile : public std::array<double, maximumAge() + 1> {
31 public:
34 
36  ContactProfile(ClusterType cluster_type, const boost::property_tree::ptree& pt_contacts);
37 };
38 
39 }
40 
Time Dependent Person DataType.
Definition: NoBehaviour.h:17
ContactProfile()
Need to keep the default constructor available.
Helpers for age.
Definition of ClusterType.
ClusterType
Enumerates the cluster types.
Definition: ClusterType.h:28