SUMO - Simulation of Urban MObility
|
The base class for microscopic and mesoscopic vehicles. More...
#include <MSBaseVehicle.h>
Public Member Functions | |
virtual void | activateReminders (const MSMoveReminder::Notification reason) |
"Activates" all current move reminder | |
SUMOReal | adaptMaxSpeed (SUMOReal referenceSpeed) |
Adapts the current maximum speed using the distribution given in the type. | |
virtual void | addPerson (MSPerson *person) |
Adds a person to this vehicle. | |
void | addReminder (MSMoveReminder *rem) |
Adds a MoveReminder dynamically. | |
virtual bool | addStop (const SUMOVehicleParameter::Stop &stopPar, SUMOTime untilOffset=0)=0 |
Adds a stop. | |
SUMOTime | getDeparture () const |
Returns this vehicle's real departure time. | |
const std::vector< MSDevice * > & | getDevices () const |
Returns this vehicle's devices. | |
const MSEdge * | getEdge () const |
Returns the edge the vehicle is currently at. | |
const std::string & | getID () const |
Returns the name of the vehicle. | |
SUMOReal | getMaxSpeed () const |
Returns the current maximum speed. | |
unsigned int | getNumberReroutes () const |
Returns the number of new routes this vehicle got. | |
const SUMOVehicleParameter & | getParameter () const |
Returns the vehicle's parameter (including departure definition) | |
virtual SUMOReal | getPositionOnLane () const =0 |
Get the vehicle's position along the lane. | |
virtual SUMOReal | getPreDawdleAcceleration () const |
Returns the vehicle's acceleration before dawdling. | |
const MSRoute & | getRoute () const |
Returns the current route. | |
virtual SUMOReal | getSpeed () const =0 |
Returns the vehicle's current speed. | |
const MSVehicleType & | getVehicleType () const |
Returns the vehicle's type definition. | |
bool | hasValidRoute (std::string &msg) const |
Validates the current route. | |
virtual bool | isOnRoad () const |
Returns the information whether the vehicle is on a road (is simulated) | |
virtual bool | isStopped () const =0 |
Returns whether the vehicle is at a stop. | |
MSBaseVehicle (SUMOVehicleParameter *pars, const MSRoute *route, const MSVehicleType *type) | |
Constructor. | |
void | onDepart () |
Called when the vehicle is inserted into the network. | |
void | removeReminder (MSMoveReminder *rem) |
Removes a MoveReminder dynamically. | |
virtual bool | replaceRoute (const MSRoute *route, bool onInit=false)=0 |
Replaces the current route by the given one. | |
bool | replaceRouteEdges (const MSEdgeVector &edges, bool onInit=false) |
Replaces the current route by the given edges. | |
void | reroute (SUMOTime t, SUMOAbstractRouter< MSEdge, SUMOVehicle > &router, bool withTaz=false) |
Performs a rerouting using the given router. | |
const MSEdge * | succEdge (unsigned int nSuccs) const |
Returns the nSuccs'th successor of edge the vehicle is currently at. | |
virtual | ~MSBaseVehicle () |
Destructor. | |
Protected Member Functions | |
void | calculateArrivalPos () |
(Re-)Calculates the arrival position from the vehicle parameters | |
Protected Attributes | |
SUMOReal | myArrivalPos |
the position on the destination lane where the vehicle stops | |
MSRouteIterator | myCurrEdge |
Iterator to current route-edge. | |
SUMOTime | myDeparture |
The real departure time. | |
std::vector< MSDevice * > | myDevices |
The devices this vehicle has. | |
bool | myHasIndividualMaxSpeed |
is true if there has an individual speed been set | |
SUMOReal | myIndividualMaxSpeed |
unsigned int | myNumberReroutes |
The number of reroutings. | |
const SUMOVehicleParameter * | myParameter |
This Vehicle's parameter. | |
SUMOReal | myReferenceSpeed |
the speed which served as reference when calculating the individual maxspeed | |
const MSRoute * | myRoute |
This Vehicle's route. | |
const MSVehicleType * | myType |
This Vehicle's type. | |
Move reminder structures | |
typedef std::vector< std::pair < MSMoveReminder *, SUMOReal > > | MoveReminderCont |
Definition of a move reminder container. | |
MoveReminderCont | myMoveReminders |
Current lane's move reminder. |
The base class for microscopic and mesoscopic vehicles.
Definition at line 57 of file MSBaseVehicle.h.
typedef std::vector< std::pair<MSMoveReminder*, SUMOReal> > MSBaseVehicle::MoveReminderCont [protected] |
Definition of a move reminder container.
Definition at line 257 of file MSBaseVehicle.h.
MSBaseVehicle::MSBaseVehicle | ( | SUMOVehicleParameter * | pars, |
const MSRoute * | route, | ||
const MSVehicleType * | type | ||
) |
Constructor.
Definition at line 56 of file MSBaseVehicle.cpp.
References MSRoute::addReference(), MSDevice_Tripinfo::buildVehicleDevices(), MSDevice_Vehroutes::buildVehicleDevices(), MSDevice_HBEFA::buildVehicleDevices(), MSDevice_Routing::buildVehicleDevices(), calculateArrivalPos(), myDevices, myMoveReminders, and myRoute.
MSBaseVehicle::~MSBaseVehicle | ( | ) | [virtual] |
Destructor.
Definition at line 80 of file MSBaseVehicle.cpp.
References myDevices, myParameter, myRoute, and MSRoute::release().
void MSBaseVehicle::activateReminders | ( | const MSMoveReminder::Notification | reason | ) | [virtual] |
"Activates" all current move reminder
For all move reminder stored in "myMoveReminders", their method "MSMoveReminder::notifyEnter" is called.
[in] | reason | The reason for changing the reminders' states |
Reimplemented in MSVehicle.
Definition at line 269 of file MSBaseVehicle.cpp.
References myMoveReminders.
SUMOReal MSBaseVehicle::adaptMaxSpeed | ( | SUMOReal | referenceSpeed | ) | [virtual] |
Adapts the current maximum speed using the distribution given in the type.
Implements SUMOVehicle.
Definition at line 123 of file MSBaseVehicle.cpp.
References MSVehicleType::getMaxSpeed(), MSVehicleType::getMaxSpeedWithDeviation(), MSVehicleType::hasSpeedDeviation(), MIN2(), myHasIndividualMaxSpeed, myIndividualMaxSpeed, myReferenceSpeed, and myType.
void MSBaseVehicle::addPerson | ( | MSPerson * | person | ) | [virtual] |
Adds a person to this vehicle.
The default implementation does nothing since persons are not supported by default
[in] | person | The person to add |
Implements SUMOVehicle.
Reimplemented in MSVehicle.
Definition at line 225 of file MSBaseVehicle.cpp.
void MSBaseVehicle::addReminder | ( | MSMoveReminder * | rem | ) |
Adds a MoveReminder dynamically.
[in] | rem | the reminder to add |
Definition at line 252 of file MSBaseVehicle.cpp.
References myMoveReminders.
Referenced by MSVehicle::adaptLaneEntering2MoveReminder(), MSVehicle::enterLaneAtInsertion(), and MSVehicle::enterLaneAtLaneChange().
virtual bool SUMOVehicle::addStop | ( | const SUMOVehicleParameter::Stop & | stopPar, |
SUMOTime | untilOffset = 0 |
||
) | [pure virtual, inherited] |
Adds a stop.
The stop is put into the sorted list.
[in] | stop | The stop to add |
Implemented in MSVehicle.
void MSBaseVehicle::calculateArrivalPos | ( | ) | [protected] |
(Re-)Calculates the arrival position from the vehicle parameters
Definition at line 281 of file MSBaseVehicle.cpp.
References ARRIVAL_POS_DEFAULT, ARRIVAL_POS_GIVEN, ARRIVAL_POS_MAX, ARRIVAL_POS_RANDOM, SUMOVehicleParameter::arrivalPos, SUMOVehicleParameter::arrivalPosProcedure, getID(), MSEdge::getLanes(), MSRoute::getLastEdge(), MAX2(), MIN2(), myArrivalPos, myParameter, myRoute, RandHelper::rand(), SUMOReal, and WRITE_WARNING.
Referenced by MSBaseVehicle(), and MSVehicle::replaceRoute().
SUMOTime MSBaseVehicle::getDeparture | ( | ) | const [virtual] |
Returns this vehicle's real departure time.
Implements SUMOVehicle.
Definition at line 213 of file MSBaseVehicle.cpp.
References myDeparture.
const std::vector<MSDevice*>& MSBaseVehicle::getDevices | ( | ) | const [inline, virtual] |
Returns this vehicle's devices.
Implements SUMOVehicle.
Definition at line 179 of file MSBaseVehicle.h.
References myDevices.
const MSEdge * MSBaseVehicle::getEdge | ( | ) | const [virtual] |
Returns the edge the vehicle is currently at.
Implements SUMOVehicle.
Definition at line 147 of file MSBaseVehicle.cpp.
References myCurrEdge.
Referenced by MSVehicleTransfer::addVeh(), MSVehicleTransfer::checkInsertions(), and TraCIServerAPI_Vehicle::commandDistanceRequest().
const std::string & MSBaseVehicle::getID | ( | ) | const [virtual] |
Returns the name of the vehicle.
Implements SUMOVehicle.
Definition at line 90 of file MSBaseVehicle.cpp.
References SUMOVehicleParameter::id, and myParameter.
Referenced by calculateArrivalPos(), MSVehicleTransfer::checkInsertions(), traci::TraCIServer::commandAddVehicle(), MSLane::detectCollisions(), MSVehicle::enterLaneAtInsertion(), MSVTypeProbe::execute(), MSLane::isInsertionSuccess(), MSCFModel_KraussOrig1::moveHelper(), MSVehicle::moveRegardingCritical(), TraCIServerAPI_Vehicle::processSet(), MSLane::removeVehicle(), replaceRouteEdges(), reroute(), MSLane::setCritical(), MSVehicle::vsafeCriticalCont(), and MSXMLRawOut::writeVehicle().
SUMOReal MSBaseVehicle::getMaxSpeed | ( | ) | const [virtual] |
Returns the current maximum speed.
Implements SUMOVehicle.
Definition at line 114 of file MSBaseVehicle.cpp.
References MSVehicleType::getMaxSpeed(), myHasIndividualMaxSpeed, myIndividualMaxSpeed, and myType.
Referenced by MSCFModel_Wiedemann::_v(), MSVehicleTransfer::checkInsertions(), traci::TraCIServer::commandAddVehicle(), GUIVehicle::getColorValue(), MSLane::insertVehicle(), and MSVehicle::moveChecked().
unsigned int MSBaseVehicle::getNumberReroutes | ( | ) | const [virtual] |
Returns the number of new routes this vehicle got.
Implements SUMOVehicle.
Definition at line 219 of file MSBaseVehicle.cpp.
References myNumberReroutes.
Referenced by GUIVehicle::drawGLAdditional(), GUIVehicle::getColorValue(), and replaceRouteEdges().
const SUMOVehicleParameter & MSBaseVehicle::getParameter | ( | ) | const [virtual] |
Returns the vehicle's parameter (including departure definition)
Implements SUMOVehicle.
Definition at line 96 of file MSBaseVehicle.cpp.
References myParameter.
Referenced by MSPersonControl::boardAnyWaiting(), MSEdge::getDepartLane(), GUIVehicle::getParameterWindow(), MSLane::insertVehicle(), TraCIServerAPI_Vehicle::processGet(), and GUIVehicle::setFunctionalColor().
virtual SUMOReal SUMOVehicle::getPositionOnLane | ( | ) | const [pure virtual, inherited] |
Get the vehicle's position along the lane.
Implemented in MSVehicle.
Referenced by MSDevice_Tripinfo::notifyEnter(), MSInstantInductLoop::notifyEnter(), MSInductLoop::notifyEnter(), MSE2Collector::notifyEnter(), MSDevice_Tripinfo::notifyLeave(), MSE2Collector::by_vehicle_position_sorter::operator()(), and MSXMLRawOut::writeVehicle().
SUMOReal MSBaseVehicle::getPreDawdleAcceleration | ( | ) | const [virtual] |
Returns the vehicle's acceleration before dawdling.
This default implementation returns always 0.
Implements SUMOVehicle.
Reimplemented in MSVehicle.
Definition at line 200 of file MSBaseVehicle.cpp.
const MSRoute & MSBaseVehicle::getRoute | ( | ) | const [virtual] |
Returns the current route.
Implements SUMOVehicle.
Definition at line 102 of file MSBaseVehicle.cpp.
References myRoute.
Referenced by TraCIServerAPI_Vehicle::commandDistanceRequest(), MSVehicle::enterLaneAtLaneChange(), MSEdge::getDepartLane(), getMaxSpeedRegardingNextLanes(), MSLane::isInsertionSuccess(), TraCIServerAPI_Vehicle::processGet(), and GUIVehicle::setFunctionalColor().
virtual SUMOReal SUMOVehicle::getSpeed | ( | ) | const [pure virtual, inherited] |
Returns the vehicle's current speed.
Implemented in MSVehicle.
Referenced by MSInductLoop::collectVehiclesOnDet(), MSE3Collector::detectorUpdate(), MSE3Collector::enter(), MSE3Collector::leave(), MSDevice_Tripinfo::notifyEnter(), MSDevice_Tripinfo::notifyLeave(), MSInstantInductLoop::notifyLeave(), TraCIServerAPI_Vehicle::processSet(), and MSXMLRawOut::writeVehicle().
const MSVehicleType & MSBaseVehicle::getVehicleType | ( | ) | const [virtual] |
Returns the vehicle's type definition.
Implements SUMOVehicle.
Definition at line 108 of file MSBaseVehicle.cpp.
References myType.
Referenced by MSLaneChanger::change(), MSVehicleTransfer::checkInsertions(), MSVehicle::checkRewindLinkLanes(), MSLane::detectCollisions(), MSE2Collector::detectorUpdate(), drawAction_drawBlinker(), drawAction_drawVehicleAsBoxPlus(), drawAction_drawVehicleAsPoly(), drawAction_drawVehicleAsTrianglePlus(), drawAction_drawVehicleBlinker(), drawAction_drawVehicleBrakeLight(), GUIVehicle::drawGL(), MSLane::enteredByLaneChange(), MSVehicle::enterLaneAtLaneChange(), MSVTypeProbe::execute(), MSLane::freeInsertion(), MSVehicle::gap2pred(), MSEdge::getDepartLane(), MSLane::getFollowerOnConsecutive(), MSLane::getLastVehicleInformation(), MSLane::getLeaderOnConsecutive(), MSLaneChanger::getRealFollower(), MSLaneChanger::getRealLeader(), MSLaneChanger::getRealThisLeader(), MSLane::incorporateVehicle(), MSLane::insertVehicle(), MSLane::integrateNewVehicle(), MSLane::isInsertionSuccess(), MSLane::leftByLaneChange(), MSCFModel::leftVehicleVsafe(), MSLane::maxSpeedGapInsertion(), MSVehicle::moveChecked(), MSVehicle::moveRegardingCritical(), MSVehicle::overlap(), MSLCM_DK2004::patchSpeed(), MSAbstractLaneChangeModel::predInteraction(), TraCIServerAPI_Vehicle::processGet(), MSVehicle::processNextStop(), MSLane::pWagGenericInsertion(), MSLane::pWagSimpleInsertion(), MSLane::removeVehicle(), MSLane::setCritical(), GUIVehicle::setFunctionalColor(), MSVehicle::vsafeCriticalCont(), MSLCM_DK2004::wantsChangeToLeft(), and MSLCM_DK2004::wantsChangeToRight().
bool MSBaseVehicle::hasValidRoute | ( | std::string & | msg | ) | const |
Validates the current route.
[out] | msg | Description why the route is not valid (if it is the case) |
Definition at line 230 of file MSBaseVehicle.cpp.
References MSRoute::end(), MSVehicleType::getVehicleClass(), myCurrEdge, myRoute, and myType.
Referenced by MSVehicle::enterLaneAtInsertion(), and TraCIServerAPI_Vehicle::processGet().
virtual bool MSBaseVehicle::isOnRoad | ( | ) | const [inline, virtual] |
Returns the information whether the vehicle is on a road (is simulated)
Implements SUMOVehicle.
Reimplemented in MSVehicle.
Definition at line 121 of file MSBaseVehicle.h.
Referenced by MSXMLRawOut::writeVehicle().
virtual bool SUMOVehicle::isStopped | ( | ) | const [pure virtual, inherited] |
Returns whether the vehicle is at a stop.
Implemented in MSVehicle.
Referenced by MSDevice_Person::notifyMove().
void MSBaseVehicle::onDepart | ( | ) | [virtual] |
Called when the vehicle is inserted into the network.
Sets optional information about departure time, informs the vehicle control about a further running vehicle.
Implements SUMOVehicle.
Definition at line 206 of file MSBaseVehicle.cpp.
References MSNet::getCurrentTimeStep(), MSNet::getInstance(), MSNet::getVehicleControl(), myDeparture, and MSVehicleControl::vehicleDeparted().
Referenced by traci::TraCIServer::commandAddVehicle().
void MSBaseVehicle::removeReminder | ( | MSMoveReminder * | rem | ) |
Removes a MoveReminder dynamically.
[in] | rem | the reminder to remove |
Definition at line 258 of file MSBaseVehicle.cpp.
References myMoveReminders.
virtual bool SUMOVehicle::replaceRoute | ( | const MSRoute * | route, |
bool | onInit = false |
||
) | [pure virtual, inherited] |
Replaces the current route by the given one.
Implemented in MSVehicle.
Referenced by MSTriggeredRerouter::notifyEnter(), MSDevice_Routing::preInsertionReroute(), TraCIServerAPI_Vehicle::processSet(), and replaceRouteEdges().
bool MSBaseVehicle::replaceRouteEdges | ( | const MSEdgeVector & | edges, |
bool | onInit = false |
||
) | [virtual] |
Replaces the current route by the given edges.
It is possible that the new route is not accepted, if a) it does not contain the vehicle's current edge, or b) something fails on insertion into the routes container (see in-line comments).
[in] | edges | The new list of edges to pass |
[in] | simTime | The time at which the route was replaced |
Implements SUMOVehicle.
Definition at line 174 of file MSBaseVehicle.cpp.
References MSRoute::addReference(), MSRoute::dictionary(), MSRoute::getColor(), Named::getID(), getID(), getNumberReroutes(), MSRoute::getStops(), myRoute, MSRoute::release(), SUMOVehicle::replaceRoute(), and toString().
Referenced by TraCIServerAPI_Vehicle::processSet(), and reroute().
void MSBaseVehicle::reroute | ( | SUMOTime | t, |
SUMOAbstractRouter< MSEdge, SUMOVehicle > & | router, | ||
bool | withTaz = false |
||
) | [virtual] |
Performs a rerouting using the given router.
Tries to find a new route between the current edge and the destination edge, first. Tries to replace the current route by the new one using replaceRoute.
[in] | t | The time for which the route is computed |
[in] | router | The router to use |
Implements SUMOVehicle.
Definition at line 153 of file MSBaseVehicle.cpp.
References SUMOAbstractRouter< E, V >::compute(), MSEdge::dictionary(), SUMOVehicleParameter::fromTaz, getID(), MSRoute::getLastEdge(), myCurrEdge, myParameter, myRoute, replaceRouteEdges(), SUMOVehicleParameter::toTaz, and WRITE_WARNING.
const MSEdge * MSBaseVehicle::succEdge | ( | unsigned int | nSuccs | ) | const [virtual] |
Returns the nSuccs'th successor of edge the vehicle is currently at.
If the rest of the route (counted from the current edge) has less than nSuccs edges, 0 is returned.
[in] | nSuccs | The number of edge to look forward |
Implements SUMOVehicle.
Definition at line 137 of file MSBaseVehicle.cpp.
References myCurrEdge.
Referenced by MSVehicleTransfer::addVeh(), and MSVehicleTransfer::checkInsertions().
SUMOReal MSBaseVehicle::myArrivalPos [protected] |
the position on the destination lane where the vehicle stops
Definition at line 270 of file MSBaseVehicle.h.
Referenced by calculateArrivalPos(), MSVehicle::ends(), MSVehicle::getBestLanes(), MSVehicle::moveRegardingCritical(), and MSVehicle::vsafeCriticalCont().
MSRouteIterator MSBaseVehicle::myCurrEdge [protected] |
Iterator to current route-edge.
Definition at line 239 of file MSBaseVehicle.h.
Referenced by MSVehicle::addStop(), MSVehicle::ends(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::enterLaneAtMove(), MSVehicle::getBestLanes(), MSVehicle::getDistanceToPosition(), getEdge(), hasValidRoute(), MSVehicle::moveChecked(), MSVehicle::moveRegardingCritical(), MSVehicle::processNextStop(), MSVehicle::replaceRoute(), reroute(), succEdge(), MSVehicle::vsafeCriticalCont(), and MSVehicle::willPass().
SUMOTime MSBaseVehicle::myDeparture [protected] |
The real departure time.
Definition at line 267 of file MSBaseVehicle.h.
Referenced by getDeparture(), and onDepart().
std::vector<MSDevice*> MSBaseVehicle::myDevices [protected] |
The devices this vehicle has.
Definition at line 264 of file MSBaseVehicle.h.
Referenced by MSVehicle::addPerson(), getDevices(), GUIVehicle::GUIVehicle(), MSBaseVehicle(), and ~MSBaseVehicle().
bool MSBaseVehicle::myHasIndividualMaxSpeed [protected] |
is true if there has an individual speed been set
Definition at line 248 of file MSBaseVehicle.h.
Referenced by adaptMaxSpeed(), getMaxSpeed(), MSVehicle::setIndividualMaxSpeed(), and MSVehicle::unsetIndividualMaxSpeed().
SUMOReal MSBaseVehicle::myIndividualMaxSpeed [protected] |
An individual speed for an vehicle that is used (iff set) instead of the maximal speed of the vehicle class. NOTE: This is just a little workaround for allowing an external influence on the actual speed
Definition at line 245 of file MSBaseVehicle.h.
Referenced by adaptMaxSpeed(), getMaxSpeed(), and MSVehicle::setIndividualMaxSpeed().
MoveReminderCont MSBaseVehicle::myMoveReminders [protected] |
Current lane's move reminder.
Definition at line 260 of file MSBaseVehicle.h.
Referenced by activateReminders(), MSVehicle::activateReminders(), MSVehicle::adaptLaneEntering2MoveReminder(), MSVehicle::addPerson(), addReminder(), GUIVehicle::GUIVehicle(), MSVehicle::leaveLane(), MSBaseVehicle(), removeReminder(), and MSVehicle::workOnMoveReminders().
unsigned int MSBaseVehicle::myNumberReroutes [protected] |
The number of reroutings.
Definition at line 273 of file MSBaseVehicle.h.
Referenced by getNumberReroutes(), and MSVehicle::replaceRoute().
const SUMOVehicleParameter* MSBaseVehicle::myParameter [protected] |
This Vehicle's parameter.
Definition at line 230 of file MSBaseVehicle.h.
Referenced by calculateArrivalPos(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::getBestLanes(), getID(), getParameter(), MSVehicle::moveChecked(), MSVehicle::moveRegardingCritical(), reroute(), MSVehicle::vsafeCriticalCont(), and ~MSBaseVehicle().
SUMOReal MSBaseVehicle::myReferenceSpeed [protected] |
the speed which served as reference when calculating the individual maxspeed
Definition at line 251 of file MSBaseVehicle.h.
Referenced by adaptMaxSpeed().
const MSRoute* MSBaseVehicle::myRoute [protected] |
This Vehicle's route.
Definition at line 233 of file MSBaseVehicle.h.
Referenced by MSVehicle::addStop(), calculateArrivalPos(), GUIVehicle::drawRoute(), MSVehicle::ends(), MSVehicle::getBestLanes(), MSVehicle::getDistanceToPosition(), getRoute(), hasValidRoute(), MSVehicle::moveChecked(), MSVehicle::moveRegardingCritical(), MSBaseVehicle(), MSVehicle::replaceRoute(), replaceRouteEdges(), reroute(), MSVehicle::vsafeCriticalCont(), MSVehicle::willPass(), and ~MSBaseVehicle().
const MSVehicleType* MSBaseVehicle::myType [protected] |
This Vehicle's type.
Definition at line 236 of file MSBaseVehicle.h.
Referenced by adaptMaxSpeed(), MSVehicle::enterLaneAtInsertion(), MSVehicle::getAngle(), MSVehicle::getBestLanes(), MSVehicle::getCarFollowModel(), MSVehicle::getHarmonoise_NoiseEmissions(), MSVehicle::getHBEFA_CO2Emissions(), MSVehicle::getHBEFA_COEmissions(), MSVehicle::getHBEFA_FuelConsumption(), MSVehicle::getHBEFA_HCEmissions(), MSVehicle::getHBEFA_NOxEmissions(), MSVehicle::getHBEFA_PMxEmissions(), getMaxSpeed(), GUIVehicle::getParameterWindow(), getVehicleType(), hasValidRoute(), MSVehicle::processNextStop(), MSVehicle::replaceVehicleType(), and MSVehicle::~MSVehicle().