void Conn::printPathList(PathList& paths, Fleet::Ptr _fleet) { // cout << "\n\nPrinting path list \n\n"; while(!paths.empty()) { Cost cost(0); Time time(0); bool exp = true; Path p = paths.front(); Path::iterator it = p.begin(); for(; it != p.end(); it++) { Segment* seg = *it; cost = cost + seg->cost(_fleet); time = time + seg->time(_fleet); if(!seg->expediteSupport()) exp = false; } cout << cost.string() << " " << time.string() << " " << (exp?"yes; ":"no; "); Conn::printPath(paths.front()); cout << "\n"; paths.pop(); } }