125 if (0 > begin || begin > end) {
132 return (begin + tAlea);
std::list< AGTrip > & getPartialActivityTrips()
virtual bool generateTrips()=0
AGHousehold * myHousehold
std::list< AGTrip > myPartialActivityTrips
int availableTranspMeans(AGPosition from, AGPosition to)
AGDataAndStatistics * myStatData
int possibleTranspMean(AGPosition destination)
int depHour(AGPosition from, AGPosition to, int arrival)
int arrHour(AGPosition from, AGPosition to, int departure)
int randomTimeBetween(int begin, int end)
int timeToDrive(AGPosition from, AGPosition to)
std::map< int, AGPosition > busStations
A location in the 2D plane freely positioned on a street.
double distanceTo(const AGPosition &otherPos) const
Computes the distance between two AGPosition objects.
double minDistanceTo(const std::list< AGPosition > &positions) const
Computes the distance to the closest position in a list.
static double rand(SumoRNG *rng=nullptr)
Returns a random real number in [0, 1)