 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
56 myId(idHouseholds) {};
60 myId(idHouseholds) {};
64 void generatePeople(
int numAdults,
int numChilds,
bool firstRetired);
67 const std::list<AGAdult>&
getAdults()
const;
69 const std::list<AGCar>&
getCars()
const;
void generatePeople(int numAdults, int numChilds, bool firstRetired)
std::list< AGCar > myCars
std::list< AGAdult > myAdults
bool isCloseFromPubTransport(std::list< AGPosition > *pubTransport)
AGHousehold(AGStreet *str, AGCity *city, int idHouseholds)
void generateCars(double rate)
std::list< AGChild > myChildren
bool retiredHouseholders()
A model of the street in the city.
const std::list< AGChild > & getChildren() const
bool allocateAdultsWork()
A location in the 2D plane freely positioned on a street.
const std::list< AGAdult > & getAdults() const
const std::list< AGCar > & getCars() const
bool allocateChildrenSchool()
AGHousehold(AGPosition pos, AGCity *city, int idHouseholds)