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