The package structure for Household agents.
More...
#include <Household.hpp>
|
| template<class Archive > |
| void | serialize (Archive &ar, const unsigned int version) |
| | Serializing procedure of the package. More...
|
| |
| | HouseholdPackage () |
| |
| | HouseholdPackage (int aId, int aInitProc, int aAgentType, int aCurProc, int aIns, std::vector< repast::AgentId > aListInd, std::string aType, int aNChildren, int aNAdults, long aHouse) |
| |
| repast::AgentId | getId () const |
| | Return household's agent id. More...
|
| |
The package structure for Household agents.
A structure used for passing households agents from one process to another.
| HouseholdPackage::HouseholdPackage |
( |
| ) |
|
| HouseholdPackage::HouseholdPackage |
( |
int |
aId, |
|
|
int |
aInitProc, |
|
|
int |
aAgentType, |
|
|
int |
aCurProc, |
|
|
int |
aIns, |
|
|
std::vector< repast::AgentId > |
aListInd, |
|
|
std::string |
aType, |
|
|
int |
aNChildren, |
|
|
int |
aNAdults, |
|
|
long |
aHouse |
|
) |
| |
| repast::AgentId HouseholdPackage::getId |
( |
| ) |
const |
|
inline |
Return household's agent id.
- Returns
- an household agent id
template<class Archive >
| void HouseholdPackage::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
inline |
Serializing procedure of the package.
- Parameters
-
| ar | an Archive in which the household will be stored |
| version | version of the package |
| friend class boost::serialization::access |
|
friend |
| int HouseholdPackage::agent_type |
| int HouseholdPackage::cur_proc |
current household process
| long HouseholdPackage::house |
household's housing unit node id
| int HouseholdPackage::init_proc |
initial household process
| int HouseholdPackage::ins |
ins code of the household's municipality
| std::vector<repast::AgentId> HouseholdPackage::list_ind |
ids of households' members
| int HouseholdPackage::n_adults |
number of additional adults
| int HouseholdPackage::n_children |
| std::string HouseholdPackage::type |
The documentation for this struct was generated from the following files:
- /home/johan/Documents/UNamur/VirtualBelgium/Workspace/VirtualBelgium/include/Household.hpp
- /home/johan/Documents/UNamur/VirtualBelgium/Workspace/VirtualBelgium/src/Household.cpp