63 myId(idHouseholds) {};
67 myId(idHouseholds) {};
71 void generatePeople(
int numAdults,
int numChilds,
bool firstRetired);
74 const std::list<AGAdult>&
getAdults()
const;
76 const std::list<AGCar>&
getCars()
const;
const std::list< AGCar > & getCars() const
bool allocateChildrenSchool()
A location in the 2D plane freely positioned on a street.
A model of the street in the city.
void generatePeople(int numAdults, int numChilds, bool firstRetired)
AGHousehold(AGPosition pos, AGCity *city, int idHouseholds)
const std::list< AGAdult > & getAdults() const
std::list< AGAdult > myAdults
bool isCloseFromPubTransport(std::list< AGPosition > *pubTransport)
bool retiredHouseholders()
unsigned int getPeopleNbr()
unsigned int getAdultNbr()
void generateCars(SUMOReal rate)
std::list< AGCar > myCars
AGHousehold(AGStreet *str, AGCity *city, int idHouseholds)
bool allocateAdultsWork()
const std::list< AGChild > & getChildren() const
std::list< AGChild > myChildren