50 initVehicle(built, ignoreStopErrors, addRouteStops, source);
std::shared_ptr< const MSRoute > ConstMSRoutePtr
~MEVehicleControl()
Destructor.
MEVehicleControl()
Constructor.
virtual SUMOVehicle * buildVehicle(SUMOVehicleParameter *defs, ConstMSRoutePtr route, MSVehicleType *type, const bool ignoreStopErrors, const VehicleDefinitionSource source=VehicleDefinitionSource::ROUTEFILE, bool addRouteStops=true) override
Builds a vehicle, increases the number of built vehicles.
A vehicle from the mesoscopic point of view.
static SumoRNG * getParsingRNG()
get parsing RNG
The class responsible for building and deletion of vehicles.
VehicleDefinitionSource
possible origins of a vehicle definition
void initVehicle(MSBaseVehicle *built, const bool ignoreStopErrors, bool addRouteStops, const VehicleDefinitionSource source)
The car-following model and parameter.
double computeChosenSpeedDeviation(SumoRNG *rng, const double minDev=-1.) const
Computes and returns the speed deviation.
Representation of a vehicle.
Structure representing possible vehicle parameter.