50 const bool ignoreStopErrors,
const bool fromRouteFile) {
A vehicle from the mesoscopic point of view.
void informVehicleStateListener(const SUMOVehicle *const vehicle, VehicleState to, const std::string &info="")
Informs all added listeners about a vehicle's state change.
static MSNet * getInstance()
Returns the pointer to the unique instance of MSNet (singleton).
The car-following model and parameter.
static std::mt19937 * getParsingRNG()
Representation of a vehicle.
int myLoadedVehNo
The number of build vehicles.
~MEVehicleControl()
Destructor.
The vehicle was built, but has not yet departed.
void addStops(const bool ignoreStopErrors)
Adds stops to the built vehicle.
Structure representing possible vehicle parameter.
virtual SUMOVehicle * buildVehicle(SUMOVehicleParameter *defs, const MSRoute *route, MSVehicleType *type, const bool ignoreStopErrors, const bool fromRouteFile=true)
Builds a vehicle, increases the number of built vehicles.
MEVehicleControl()
Constructor.
The class responsible for building and deletion of vehicles.
double computeChosenSpeedDeviation(std::mt19937 *rng, const double minDev=-1.) const
Computes and returns the speed deviation.