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