57 myId(idHouseholds) {};
61 myId(idHouseholds) {};
65 void generatePeople(
int numAdults,
int numChilds,
bool firstRetired);
68 const std::list<AGAdult>&
getAdults()
const;
70 const std::list<AGCar>&
getCars()
const;
const std::list< AGAdult > & getAdults() const
void generateCars(double rate)
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)
const std::list< AGChild > & getChildren() const
AGHousehold(AGPosition pos, AGCity *city, int idHouseholds)
std::list< AGAdult > myAdults
bool isCloseFromPubTransport(std::list< AGPosition > *pubTransport)
bool retiredHouseholders()
std::list< AGCar > myCars
AGHousehold(AGStreet *str, AGCity *city, int idHouseholds)
bool allocateAdultsWork()
std::list< AGChild > myChildren
const std::list< AGCar > & getCars() const