 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
49 const bool ignoreStopErrors,
const bool fromRouteFile) {
The car-following model and parameter.
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.
Representation of a vehicle.
MEVehicleControl()
Constructor.
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.
int myLoadedVehNo
The number of build vehicles.
double computeChosenSpeedDeviation(std::mt19937 *rng, const double minDev=-1.) const
Computes and returns the speed deviation.
The vehicle was built, but has not yet departed.
void addStops(const bool ignoreStopErrors)
Adds stops to the built vehicle.
static MSNet * getInstance()
Returns the pointer to the unique instance of MSNet (singleton).
static std::mt19937 * getParsingRNG()
get parsing RNG
The class responsible for building and deletion of vehicles.
~MEVehicleControl()
Destructor.