55 std::cout <<
"Trip: " << std::endl;
56 std::cout <<
"\t-From= ";
58 std::cout <<
"\t-To= ";
60 std::cout <<
"\t-At= " <<
atTime <<
" -Day= " <<
day << std::endl;
61 std::cout <<
"\t-Vehicle= " <<
vehicle << std::endl;
62 std::cout <<
"\t-type= " <<
type << std::endl;
72 std::list<AGPosition>::iterator it;
73 for (it = trip.
passBy.begin() ; it != trip.
passBy.end() ; ++it) {
81 std::list<AGPosition>::iterator it;
82 for (it = trip.
passBy.begin() ; it != trip.
passBy.end() ; ++it) {
87 std::list<AGPosition>*
120 std::list<AGPosition> positions;
121 positions.push_back(
from);
122 std::list<AGPosition>::iterator it;
124 positions.push_back(*it);
126 positions.push_back(
to);
128 bool firstPass =
true;
130 for (it = positions.begin() ; it != positions.end() ; ++it) {
138 return (
int)(secPerKm * (dist / 1000.0));
151 int arrTime = arrAtTime + time;