91 const std::string&
getType()
const;
93 const std::list<AGPosition>*
getPassed()
const;
A location in the 2D plane freely positioned on a street.
void setDep(AGPosition departure)
void setVehicleName(std::string name)
const std::list< AGPosition > * getPassed() const
int getTimeTrip(double secPerKm) const
AGPosition getDep() const
void setArr(AGPosition arrival)
AGTrip(AGPosition from, AGPosition to, int at)
void setDepTime(int time)
int getRideBackArrTime(double secPerKm) const
void addLayOverWithoutDestination(AGTrip &trip)
void setType(std::string type)
AGTrip(AGPosition from, AGPosition to, AGCar c, int at)
const std::string & getType() const
AGTrip(AGPosition from, AGPosition to, std::string v, int at, int day)
bool operator<(const AGTrip &trip) const
AGPosition getArr() const
std::list< AGPosition > myPassBy
AGTrip(AGPosition from, AGPosition to, std::string v, int at)
void addLayOver(AGPosition by)
AGTrip(AGPosition from, AGPosition to, AGBus b, int at)
int getArrTime(double secPerKm) const
int estimateDepTime(int arrTime, double secPerKm) const
const std::string & getVehicleName() const