Virtual Belgium  2.0
A micro-simulation platform for the Belgian population
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
IndividualPackage Struct Reference

The package structure for Individual agents. More...

#include <Individual.hpp>

Public Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 Serializing procedure of the package. More...
 
 IndividualPackage ()
 Constructor. More...
 
 IndividualPackage (int aId, int aInitProc, int aAgentType, int aCurProc, repast::AgentId aHhId, int aMunId, char aGender, int aAgeClass, int aAge, char aEducation, char aHhRelationship, char aSPStatus, char aDrivingLicence, std::vector< Activity > aActChain, long aHouse)
 
repast::AgentId getId () const
 Return individual's agent id. More...
 

Public Attributes

int id
 id of the individual More...
 
int init_proc
 initial individual process More...
 
int agent_type
 individual agent_type More...
 
int cur_proc
 individual curent process More...
 
repast::AgentId hh_id
 Repast agent id of the individual. More...
 
int municipality
 ins code of the individual's municipality More...
 
char gender
 gender of the individual More...
 
int age_class
 age class of the individual More...
 
int age
 age of the individual More...
 
char education
 education level of the individual More...
 
char hh_relationship
 household relationship status of the individual More...
 
char sps_status
 socio-professional status of the individual More...
 
char driving_license
 driving license ownership of the individual More...
 
std::vector< Activityact_chain
 activity chain of the individual More...
 
long house
 house of the individual, i.e. a node id More...
 

Friends

class boost::serialization::access
 

Detailed Description

The package structure for Individual agents.

A structure used for passing individual agents from one process to another.

Constructor & Destructor Documentation

IndividualPackage::IndividualPackage ( )

Constructor.

IndividualPackage::IndividualPackage ( int  aId,
int  aInitProc,
int  aAgentType,
int  aCurProc,
repast::AgentId  aHhId,
int  aMunId,
char  aGender,
int  aAgeClass,
int  aAge,
char  aEducation,
char  aHhRelationship,
char  aSPStatus,
char  aDrivingLicence,
std::vector< Activity aActChain,
long  aHouse 
)

Member Function Documentation

repast::AgentId IndividualPackage::getId ( ) const
inline

Return individual's agent id.

Returns
an individual agent id
template<class Archive >
void IndividualPackage::serialize ( Archive &  ar,
const unsigned int  version 
)
inline

Serializing procedure of the package.

Parameters
aran Archive in which the individual will be stored
versionversion of the package

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Member Data Documentation

std::vector<Activity> IndividualPackage::act_chain

activity chain of the individual

int IndividualPackage::age

age of the individual

int IndividualPackage::age_class

age class of the individual

int IndividualPackage::agent_type

individual agent_type

int IndividualPackage::cur_proc

individual curent process

char IndividualPackage::driving_license

driving license ownership of the individual

char IndividualPackage::education

education level of the individual

char IndividualPackage::gender

gender of the individual

repast::AgentId IndividualPackage::hh_id

Repast agent id of the individual.

char IndividualPackage::hh_relationship

household relationship status of the individual

long IndividualPackage::house

house of the individual, i.e. a node id

int IndividualPackage::id

id of the individual

int IndividualPackage::init_proc

initial individual process

int IndividualPackage::municipality

ins code of the individual's municipality

char IndividualPackage::sps_status

socio-professional status of the individual


The documentation for this struct was generated from the following files: