49 routes <<
" <vType id=\"default\" accel=\"4.0\" decel=\"8.0\" sigma=\"0.0\" length=\"5\" minGap=\"2.5\" maxSpeed=\"90\"/>\n";
50 routes <<
" <vType id=\"random\" accel=\"4.0\" decel=\"8.0\" sigma=\"0.0\" length=\"5\" minGap=\"2.5\" maxSpeed=\"90\"/>\n";
51 routes <<
" <vType id=\"bus\" accel=\"2.0\" decel=\"4.0\" sigma=\"0.0\" length=\"10\" minGap=\"3\" maxSpeed=\"70\"/>\n\n";
53 colors[
"default"] =
"1,0,0";
55 colors[
"random"] =
"0,0,1";
60 std::list<AGPosition>::iterator it;
66 <<
"\" type=\"" << trip.
getType()
67 <<
"\" depart=\"" << time
70 <<
"\" departSpeed=\"" << 0
71 <<
"\" arrivalSpeed=\"" << 0
78 routes <<
" " << it->getStreet().getName();
AGPosition getDep() const
const AGStreet & getStreet() const
Provides the street this AGPosition is located on.
std::list< AGPosition > * getPassed()
std::map< std::string, std::string > colors
SUMOReal getPosition() const
Provides the relative position of this AGPosition on the street.
const std::string & getName() const
Provides the id of this edge.
void addTrip(AGTrip trip)
const std::string & getVehicleName() const
AGPosition getArr() const
const std::string & getType() const