![]() |
Eclipse SUMO - Simulation of Urban MObility
|
The class responsible for building and deletion of vehicles (gui-version) More...
#include <GUIVehicleControl.h>
Public Types | |
typedef std::map< std::string, SUMOVehicle * >::const_iterator | constVehIt |
Definition of the internal vehicles map iterator. More... | |
Public Member Functions | |
void | abortWaiting () |
informes about all waiting vehicles (deletion in destructor) More... | |
void | adaptIntermodalRouter (MSNet::MSIntermodalRouter &router) const |
bool | addVehicle (const std::string &id, SUMOVehicle *v) override |
Tries to insert the vehicle into the internal vehicle container. More... | |
void | deleteVehicle (SUMOVehicle *v, bool discard=false) override |
Deletes the vehicle. More... | |
void | discountStateRemoved (int n) |
discount vehicles that were removed during state loading More... | |
virtual int | getHaltingVehicleNo () const override |
Returns the number of halting vehicles. More... | |
double | getMaxSpeedFactor () const |
return the maximum speed factor for all vehicles that ever entered the network More... | |
double | getMinDeceleration () const |
return the minimum deceleration capability for all vehicles that ever entered the network More... | |
double | getScale () const |
sets the demand scaling factor More... | |
virtual std::pair< double, double > | getVehicleMeanSpeeds () const override |
get current absolute and relative mean vehicle speed in the network More... | |
GUIVehicleControl () | |
Constructor. More... | |
void | insertVehicleIDs (std::vector< GUIGlID > &into, bool listParking, bool listTeleporting) |
Returns the list of all known vehicles by gl-id. More... | |
void | registerCollision (bool teleport) |
registers one collision-related teleport More... | |
void | registerEmergencyStop () |
register emergency stop More... | |
void | registerOneWaiting () |
increases the count of vehicles waiting for a transport to allow recognition of person / container related deadlocks More... | |
void | registerStopEnded () |
register emergency stop More... | |
void | registerStopStarted () |
register emergency stop More... | |
void | registerTeleportJam () |
register one non-collision-related teleport More... | |
void | registerTeleportWrongLane () |
register one non-collision-related teleport More... | |
void | registerTeleportYield () |
register one non-collision-related teleport More... | |
void | releaseVehicles () |
unlock access to vehicle removal/additions for thread synchronization More... | |
void | secureVehicles () |
lock access to vehicle removal/additions for thread synchronization More... | |
void | setScale (double scale) |
sets the demand scaling factor More... | |
void | unregisterOneWaiting () |
decreases the count of vehicles waiting for a transport to allow recognition of person / container related deadlocks More... | |
~GUIVehicleControl () | |
Destructor. More... | |
Vehicle creation | |
SUMOVehicle * | buildVehicle (SUMOVehicleParameter *defs, const MSRoute *route, MSVehicleType *type, const bool ignoreStopErrors, const bool fromRouteFile=true, bool addRouteStops=true) override |
Builds a vehicle, increases the number of built vehicles. More... | |
Insertion, deletion and retrieval of vehicles | |
SUMOVehicle * | getVehicle (const std::string &id) const |
Returns the vehicle with the given id. More... | |
void | fixVehicleCounts () |
void | scheduleVehicleRemoval (SUMOVehicle *veh, bool checkDuplicate=false) |
Removes a vehicle after it has ended. More... | |
void | removePending () |
Removes a vehicle after it has ended. More... | |
constVehIt | loadedVehBegin () const |
Returns the begin of the internal vehicle map. More... | |
constVehIt | loadedVehEnd () const |
Returns the end of the internal vehicle map. More... | |
Setting vehicle statistics | |
void | vehicleDeparted (const SUMOVehicle &v) |
Informs this control about a vehicle's departure. More... | |
Retrieval of vehicle statistics (always accessable) | |
int | getLoadedVehicleNo () const |
Returns the number of build vehicles. More... | |
double | getVehicleMeanSpeed () const |
double | getVehicleMeanSpeedRelative () const |
int | getEndedVehicleNo () const |
Returns the number of removed vehicles. More... | |
int | getArrivedVehicleNo () const |
Returns the number of arrived vehicles. More... | |
int | getDiscardedVehicleNo () const |
Returns the number of discarded vehicles. More... | |
int | getRunningVehicleNo () const |
Returns the number of build and inserted, but not yet deleted vehicles. More... | |
int | getDepartedVehicleNo () const |
Returns the number of inserted vehicles. More... | |
int | getQuota (double frac=-1, int loaded=-1) const |
Returns the number of instances of the current vehicle that shall be emitted considering that "frac" of all vehicles shall be emitted overall if a negative fraction is given the demand scaling factor is used (–scale) if a negative loaded number is is given, myLoadedVehNo is used. More... | |
int | getActiveVehicleCount () const |
Returns the number of build vehicles that have not been removed or need to wait for a passenger or a container. More... | |
int | getCollisionCount () const |
return the number of collisions More... | |
int | getTeleportsCollisions () const |
return the number of collisions More... | |
int | getTeleportsJam () const |
return the number of teleports due to jamming More... | |
int | getTeleportsYield () const |
return the number of teleports due to vehicles stuck on a minor road More... | |
int | getTeleportsWrongLane () const |
return the number of teleports due to vehicles stuck on the wrong lane More... | |
int | getTeleportCount () const |
return the number of teleports (including collisions) More... | |
int | getEmergencyStops () const |
return the number of emergency stops More... | |
int | getStoppedVehiclesCount () const |
return the number of vehicles that are currently stopped More... | |
double | getTotalDepartureDelay () const |
Returns the total departure delay. More... | |
double | getTotalTravelTime () const |
Returns the total travel time. More... | |
Insertion and retrieval of vehicle types | |
bool | addVType (MSVehicleType *vehType) |
Adds a vehicle type. More... | |
void | removeVType (const MSVehicleType *vehType) |
bool | addVTypeDistribution (const std::string &id, RandomDistributor< MSVehicleType * > *vehTypeDistribution) |
Adds a vehicle type distribution. More... | |
bool | hasVType (const std::string &id) const |
Asks for existence of a vehicle type. More... | |
bool | hasVTypeDistribution (const std::string &id) const |
Asks for a vehicle type distribution. More... | |
MSVehicleType * | getVType (const std::string &id=DEFAULT_VTYPE_ID, SumoRNG *rng=nullptr, bool readOnly=false) |
Returns the named vehicle type or a sample from the named distribution. More... | |
void | insertVTypeIDs (std::vector< std::string > &into) const |
Inserts ids of all known vehicle types and vehicle type distributions to the given vector. More... | |
const std::set< std::string > | getVTypeDistributionMembership (const std::string &id) const |
Return the distribution IDs the vehicle type is a member of. More... | |
const RandomDistributor< MSVehicleType * > * | getVTypeDistribution (const std::string &typeDistID) const |
return the vehicle type distribution with the given id More... | |
State I/O | |
void | setState (int runningVehNo, int loadedVehNo, int endedVehNo, double totalDepartureDelay, double totalTravelTime) |
Sets the current state variables as loaded from the stream. More... | |
void | saveState (OutputDevice &out) |
Saves the current state into the given stream. More... | |
void | clearState (const bool reinit) |
Remove all vehicles before quick-loading state. More... | |
Protected Member Functions | |
void | initVehicle (MSBaseVehicle *built, const bool ignoreStopErrors, bool addRouteStops) |
Private Member Functions | |
bool | checkVType (const std::string &id) |
Checks whether the vehicle type (distribution) may be added. More... | |
GUIVehicleControl (const GUIVehicleControl &s) | |
invalidated copy constructor More... | |
void | initDefaultTypes () |
create default types More... | |
bool | isPendingRemoval (SUMOVehicle *veh) |
whether the given vehicle is scheduled for removal More... | |
GUIVehicleControl & | operator= (const GUIVehicleControl &s) |
invalidated assignment operator More... | |
Private Attributes | |
FXMutex | myLock |
The mutex used to avoid concurrent updates of the vehicle buffer. More... | |
Vehicle statistics (always accessible) | |
int | myLoadedVehNo |
The number of build vehicles. More... | |
int | myRunningVehNo |
The number of vehicles within the network (build and inserted but not removed) More... | |
int | myEndedVehNo |
The number of removed vehicles. More... | |
int | myDiscarded |
The number of vehicles which were discarded while loading. More... | |
int | myCollisions |
The number of collisions. More... | |
int | myTeleportsCollision |
The number of teleports due to collision. More... | |
int | myTeleportsJam |
The number of teleports due to jam. More... | |
int | myTeleportsYield |
The number of teleports due to vehicles stuck on a minor road. More... | |
int | myTeleportsWrongLane |
The number of teleports due to vehicles stuck on the wrong lane. More... | |
int | myEmergencyStops |
The number of emergency stops. More... | |
int | myStoppedVehicles |
The number of stopped vehicles. More... | |
Vehicle statistics | |
double | myTotalDepartureDelay |
The aggregated time vehicles had to wait for departure (in seconds) More... | |
double | myTotalTravelTime |
The aggregated time vehicles needed to aacomplish their route (in seconds) More... | |
Vehicle type container | |
VTypeDictType | myVTypeDict |
Dictionary of vehicle types. More... | |
VTypeDistDictType | myVTypeDistDict |
A distribution of vehicle types (probability->vehicle type) More... | |
std::map< std::string, std::set< std::string > > | myVTypeToDist |
Inverse lookup from vehicle type to distributions it is a member of. More... | |
std::set< std::string > | myReplaceableDefaultVTypes |
the default vehicle types which may still be replaced More... | |
int | myWaitingForTransportable |
the number of vehicles waiting for persons or containers contained in myWaiting which can only continue by being triggered More... | |
double | myScale |
The scaling factor (especially for inc-dua) More... | |
double | myMaxSpeedFactor |
The maximum speed factor for all vehicles in the network. More... | |
double | myMinDeceleration |
The minimum deceleration capability for all vehicles in the network. More... | |
std::vector< SUMOVehicle * > | myPTVehicles |
List of vehicles which belong to public transport. More... | |
std::vector< SUMOVehicle * > | myPendingRemovals |
List of vehicles which are going to be removed. More... | |
typedef std::map< std::string, MSVehicleType * > | VTypeDictType |
Vehicle type dictionary type. More... | |
typedef std::map< std::string, RandomDistributor< MSVehicleType * > * > | VTypeDistDictType |
Vehicle type distribution dictionary type. More... | |
Vehicle container | |
typedef std::map< std::string, SUMOVehicle * > | VehicleDictType |
Vehicle dictionary type. More... | |
VehicleDictType | myVehicleDict |
Dictionary of vehicles. More... | |
The class responsible for building and deletion of vehicles (gui-version)
Builds GUIVehicle instances instead of MSVehicle.
This is partially unsecure due to concurrent access...
Recheck vehicle deletion
Definition at line 44 of file GUIVehicleControl.h.
|
inherited |
Definition of the internal vehicles map iterator.
Definition at line 73 of file MSVehicleControl.h.
|
protectedinherited |
Vehicle dictionary type.
Definition at line 604 of file MSVehicleControl.h.
|
privateinherited |
Vehicle type dictionary type.
Definition at line 615 of file MSVehicleControl.h.
|
privateinherited |
Vehicle type distribution dictionary type.
Definition at line 620 of file MSVehicleControl.h.
GUIVehicleControl::GUIVehicleControl | ( | ) |
Constructor.
Definition at line 35 of file GUIVehicleControl.cpp.
GUIVehicleControl::~GUIVehicleControl | ( | ) |
|
private |
invalidated copy constructor
|
inherited |
informes about all waiting vehicles (deletion in destructor)
Definition at line 440 of file MSVehicleControl.cpp.
References MSVehicleControl::myVehicleDict, SPLIT, TL, and WRITE_WARNINGF.
Referenced by MSNet::adaptToState().
|
inherited |
Definition at line 501 of file MSVehicleControl.cpp.
References IntermodalNetwork< E, L, N, V >::addSchedule(), MSRoute::dictionary(), IntermodalRouter< E, L, N, V >::getNetwork(), MSRoute::getStops(), and MSVehicleControl::myPTVehicles.
Referenced by MSNet::adaptIntermodalRouter().
|
overridevirtual |
Tries to insert the vehicle into the internal vehicle container.
Identical to the MSVehicleControl implementation except for locking.
[in] | id | The id of the vehicle |
[in] | v | The vehicle |
Reimplemented from MSVehicleControl.
Definition at line 59 of file GUIVehicleControl.cpp.
References MSVehicleControl::addVehicle(), and myLock.
|
inherited |
Adds a vehicle type.
If another vehicle type (or distribution) with the same id exists, false is returned. Otherwise, the vehicle type is added to the internal vehicle type container "myVTypeDict".
This control get responsible for deletion of the added vehicle type.
[in] | vehType | The vehicle type to add |
Definition at line 338 of file MSVehicleControl.cpp.
References MSVehicleControl::checkVType(), MSVehicleType::getID(), and MSVehicleControl::myVTypeDict.
|
inherited |
Adds a vehicle type distribution.
If another vehicle type (or distribution) with the same id exists, false is returned. Otherwise, the vehicle type distribution is added to the internal vehicle type distribution container "myVTypeDistDict".
This control get responsible for deletion of the added vehicle type distribution.
[in] | id | The id of the distribution to add |
[in] | vehTypeDistribution | The vehicle type distribution to add |
Definition at line 360 of file MSVehicleControl.cpp.
References MSVehicleControl::checkVType(), RandomDistributor< T >::getVals(), MSVehicleControl::myVTypeDistDict, and MSVehicleControl::myVTypeToDist.
|
overridevirtual |
Builds a vehicle, increases the number of built vehicles.
Instead of a MSVehicle, a GUIVehicle is built
[in] | defs | The parameter defining the vehicle |
[in] | route | The route of this vehicle |
[in] | type | The type of this vehicle |
[in] | ignoreStopErrors | whether invalid stops trigger a warning only |
[in] | fromRouteFile | whether we are just reading the route file or creating via trigger, traci, ... |
Reimplemented from MSVehicleControl.
Definition at line 48 of file GUIVehicleControl.cpp.
References MSVehicleType::computeChosenSpeedDeviation(), MSRouteHandler::getParsingRNG(), and MSVehicleControl::initVehicle().
|
privateinherited |
Checks whether the vehicle type (distribution) may be added.
This method checks also whether the default type may still be replaced
[in] | id | The id of the vehicle type (distribution) to add |
Definition at line 324 of file MSVehicleControl.cpp.
References MSVehicleControl::myReplaceableDefaultVTypes, MSVehicleControl::myVTypeDict, and MSVehicleControl::myVTypeDistDict.
Referenced by MSVehicleControl::addVType(), and MSVehicleControl::addVTypeDistribution().
|
inherited |
Remove all vehicles before quick-loading state.
Definition at line 230 of file MSVehicleControl.cpp.
References MSVehicleControl::initDefaultTypes(), MSVehicleControl::myCollisions, MSVehicleControl::myDiscarded, MSVehicleControl::myEmergencyStops, MSVehicleControl::myEndedVehNo, MSVehicleControl::myLoadedVehNo, MSVehicleControl::myPendingRemovals, MSVehicleControl::myRunningVehNo, MSVehicleControl::myStoppedVehicles, MSVehicleControl::myTeleportsCollision, MSVehicleControl::myTeleportsJam, MSVehicleControl::myTeleportsWrongLane, MSVehicleControl::myTeleportsYield, MSVehicleControl::myTotalDepartureDelay, MSVehicleControl::myTotalTravelTime, MSVehicleControl::myVehicleDict, MSVehicleControl::myVTypeDict, and MSVehicleControl::myVTypeDistDict.
Referenced by MSNet::clearState(), and MSVehicleControl::~MSVehicleControl().
|
overridevirtual |
Deletes the vehicle.
Identical to the MSVehicleControl implementation except for locking.
[in] | v | The vehicle to delete |
[discard] | Whether the vehicle is discard during loading (scale < 1) |
Reimplemented from MSVehicleControl.
Definition at line 66 of file GUIVehicleControl.cpp.
References MSVehicleControl::deleteVehicle(), and myLock.
|
inlineinherited |
discount vehicles that were removed during state loading
Definition at line 498 of file MSVehicleControl.h.
References MSVehicleControl::myDiscarded, MSVehicleControl::myEndedVehNo, and MSVehicleControl::myRunningVehNo.
Referenced by MSStateHandler::myEndElement().
|
inlineinherited |
Definition at line 144 of file MSVehicleControl.h.
References MSVehicleControl::myDiscarded, MSVehicleControl::myEndedVehNo, and MSVehicleControl::myLoadedVehNo.
Referenced by MSRouteHandler::closeVehicle().
|
inlineinherited |
Returns the number of build vehicles that have not been removed or need to wait for a passenger or a container.
Definition at line 288 of file MSVehicleControl.h.
References MSVehicleControl::myEndedVehNo, MSVehicleControl::myLoadedVehNo, and MSVehicleControl::myWaitingForTransportable.
Referenced by LIBSUMO_NAMESPACE::Simulation::getMinExpectedNumber(), and MSNet::simulationState().
|
inlineinherited |
Returns the number of arrived vehicles.
Definition at line 246 of file MSVehicleControl.h.
References MSVehicleControl::myDiscarded, and MSVehicleControl::myEndedVehNo.
Referenced by GUINet::getParameterWindow(), and MSNet::writeSummaryOutput().
|
inlineinherited |
return the number of collisions
Definition at line 294 of file MSVehicleControl.h.
References MSVehicleControl::myCollisions.
Referenced by GUIApplicationWindow::checkGamingEvents(), MSNet::generateStatistics(), GUINet::getParameterWindow(), MSNet::writeStatistics(), and MSNet::writeSummaryOutput().
|
inlineinherited |
Returns the number of inserted vehicles.
Definition at line 269 of file MSVehicleControl.h.
References MSVehicleControl::myDiscarded, MSVehicleControl::myEndedVehNo, and MSVehicleControl::myRunningVehNo.
Referenced by MSNet::generateStatistics(), GUINet::getParameterWindow(), MSNet::postSimStepOutput(), MSNet::writeStatistics(), and MSNet::writeSummaryOutput().
|
inlineinherited |
Returns the number of discarded vehicles.
Definition at line 253 of file MSVehicleControl.h.
References MSVehicleControl::myDiscarded.
Referenced by GUINet::getParameterWindow().
|
inlineinherited |
return the number of emergency stops
Definition at line 322 of file MSVehicleControl.h.
References MSVehicleControl::myEmergencyStops.
Referenced by MSNet::generateStatistics(), and MSNet::writeStatistics().
|
inlineinherited |
Returns the number of removed vehicles.
Definition at line 239 of file MSVehicleControl.h.
References MSVehicleControl::myEndedVehNo.
Referenced by MSNet::writeSummaryOutput().
|
overridevirtual |
Returns the number of halting vehicles.
Reimplemented from MSVehicleControl.
Definition at line 73 of file GUIVehicleControl.cpp.
References MSVehicleControl::getHaltingVehicleNo(), and myLock.
|
inlineinherited |
Returns the number of build vehicles.
Definition at line 217 of file MSVehicleControl.h.
References MSVehicleControl::myLoadedVehNo.
Referenced by NLBuilder::build(), MSNet::generateStatistics(), GUINet::getParameterWindow(), MSNet::writeStatistics(), and MSNet::writeSummaryOutput().
|
inlineinherited |
return the maximum speed factor for all vehicles that ever entered the network
Definition at line 510 of file MSVehicleControl.h.
References MSVehicleControl::myMaxSpeedFactor.
Referenced by MSLane::getMaximumBrakeDist().
|
inlineinherited |
return the minimum deceleration capability for all vehicles that ever entered the network
Definition at line 515 of file MSVehicleControl.h.
References MSVehicleControl::myMinDeceleration.
Referenced by MSLane::getMaximumBrakeDist().
|
inherited |
Returns the number of instances of the current vehicle that shall be emitted considering that "frac" of all vehicles shall be emitted overall if a negative fraction is given the demand scaling factor is used (–scale) if a negative loaded number is is given, myLoadedVehNo is used.
Definition at line 483 of file MSVehicleControl.cpp.
References getScalingQuota(), MSVehicleControl::myLoadedVehNo, and MSVehicleControl::myScale.
Referenced by MSRouteHandler::addFlowTransportable(), MSRouteHandler::closeVehicle(), MSInsertionControl::determineCandidates(), and MSDevice::equippedByDefaultAssignmentOptions().
|
inlineinherited |
Returns the number of build and inserted, but not yet deleted vehicles.
Definition at line 261 of file MSVehicleControl.h.
References MSVehicleControl::myRunningVehNo.
Referenced by MSNet::generateStatistics(), GUINet::getParameterWindow(), GUIApplicationWindow::handleEvent_SimulationStep(), MSNet::postSimStepOutput(), GUINet::setSimDuration(), MSNet::simulationStep(), MSNet::writeStatistics(), and MSNet::writeSummaryOutput().
|
inlineinherited |
sets the demand scaling factor
Definition at line 527 of file MSVehicleControl.h.
References MSVehicleControl::myScale.
Referenced by MSRouteHandler::addFlowTransportable(), MSRouteHandler::closeVehicle(), MSInsertionControl::determineCandidates(), and LIBSUMO_NAMESPACE::Simulation::getScale().
|
inlineinherited |
return the number of vehicles that are currently stopped
Definition at line 327 of file MSVehicleControl.h.
References MSVehicleControl::myStoppedVehicles.
Referenced by GUINet::getParameterWindow(), and MSNet::writeSummaryOutput().
|
inherited |
return the number of teleports (including collisions)
Definition at line 495 of file MSVehicleControl.cpp.
References MSVehicleControl::myTeleportsCollision, MSVehicleControl::myTeleportsJam, MSVehicleControl::myTeleportsWrongLane, and MSVehicleControl::myTeleportsYield.
Referenced by MSNet::generateStatistics(), GUINet::getParameterWindow(), MSNet::simulationState(), MSNet::writeStatistics(), and MSNet::writeSummaryOutput().
|
inlineinherited |
return the number of collisions
Definition at line 299 of file MSVehicleControl.h.
References MSVehicleControl::myTeleportsCollision.
|
inlineinherited |
return the number of teleports due to jamming
Definition at line 304 of file MSVehicleControl.h.
References MSVehicleControl::myTeleportsJam.
Referenced by MSNet::generateStatistics(), and MSNet::writeStatistics().
|
inlineinherited |
return the number of teleports due to vehicles stuck on the wrong lane
Definition at line 314 of file MSVehicleControl.h.
References MSVehicleControl::myTeleportsWrongLane.
Referenced by MSNet::generateStatistics(), and MSNet::writeStatistics().
|
inlineinherited |
return the number of teleports due to vehicles stuck on a minor road
Definition at line 309 of file MSVehicleControl.h.
References MSVehicleControl::myTeleportsYield.
Referenced by MSNet::generateStatistics(), and MSNet::writeStatistics().
|
inlineinherited |
Returns the total departure delay.
Definition at line 334 of file MSVehicleControl.h.
References MSVehicleControl::myTotalDepartureDelay.
Referenced by MSNet::writeSummaryOutput().
|
inlineinherited |
Returns the total travel time.
Definition at line 342 of file MSVehicleControl.h.
References MSVehicleControl::myTotalTravelTime.
Referenced by MSNet::writeSummaryOutput().
|
inherited |
Returns the vehicle with the given id.
If no vehicle with the given id is store din "myVehicleDict", 0 is returned.
[in] | id | The id of the vehicle to retrieve |
Definition at line 297 of file MSVehicleControl.cpp.
References MSVehicleControl::myVehicleDict.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), MSRouteHandler::addRideOrTransport(), MSRouteHandler::closeVehicle(), MSStateHandler::closeVehicle(), MSInsertionControl::determineCandidates(), METriggeredCalibrator::execute(), Command_RouteReplacement::execute(), MSCalibrator::execute(), LIBSUMO_NAMESPACE::Vehicle::getFollowSpeed(), LIBSUMO_NAMESPACE::TrafficLight::getFutureTripIds(), MSCFModel_CC::getRadarMeasurements(), LIBSUMO_NAMESPACE::Vehicle::getSecureGap(), LIBSUMO_NAMESPACE::Polygon::getTrafficObject(), libsumo::Helper::getVehicle(), LIBSUMO_NAMESPACE::Vehicle::isOnInit(), MSLane::loadState(), MESegment::loadState(), MSVehicleTransfer::loadState(), MSStageDriving::loadState(), MSStateHandler::myStartElement(), MSDevice_Bluelight::notifyMove(), MSStageDriving::proceed(), MSDevice_SSM::processEncounters(), MSVehicle::processNextStop(), TraCIServerAPI_Vehicle::processSet(), MSCalibrator::removePending(), MSCFModel_CC::setParameter(), and GUINet::vehicleExists().
|
inlineinherited |
Definition at line 229 of file MSVehicleControl.h.
References MSVehicleControl::getVehicleMeanSpeeds().
Referenced by GUINet::getParameterWindow().
|
inlineinherited |
Definition at line 232 of file MSVehicleControl.h.
References MSVehicleControl::getVehicleMeanSpeeds().
Referenced by GUINet::getParameterWindow().
|
overridevirtual |
get current absolute and relative mean vehicle speed in the network
Reimplemented from MSVehicleControl.
Definition at line 80 of file GUIVehicleControl.cpp.
References MSVehicleControl::getVehicleMeanSpeeds(), and myLock.
|
inherited |
Returns the named vehicle type or a sample from the named distribution.
[in] | id | The id of the vehicle type to return. If left out, the default type is returned. |
Definition at line 390 of file MSVehicleControl.cpp.
References MSVehicleControl::myReplaceableDefaultVTypes, MSVehicleControl::myVTypeDict, and MSVehicleControl::myVTypeDistDict.
Referenced by LIBSUMO_NAMESPACE::Person::add(), LIBSUMO_NAMESPACE::Vehicle::add(), MSRouteHandler::addPersonTrip(), MSRouteHandler::addTranship(), MSRouteHandler::closeTransportable(), MSRouteHandler::closeTransportableFlow(), MSRouteHandler::closeVehicle(), MSInsertionControl::determineCandidates(), METriggeredCalibrator::execute(), MSCalibrator::execute(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), LIBSUMO_NAMESPACE::Simulation::findRoute(), LIBSUMO_NAMESPACE::VehicleType::getVType(), MSDevice_ToC::initColorScheme(), MSInsertionControl::initScale(), MSDevice_ToC::MSDevice_ToC(), MSPModel_Striping::MSPModel_Striping(), MSCalibrator::myStartElement(), MSCalibrator::VehicleRemover::notifyEnter(), MSDevice_Bluelight::notifyMove(), MSRouteHandler::openRoute(), MSRouteHandler::openVehicleTypeDistribution(), METriggeredCalibrator::remainingVehicleCapacity(), MSCalibrator::remainingVehicleCapacity(), MSDevice_Bluelight::resetVehicle(), MSStageTrip::setArrived(), LIBSUMO_NAMESPACE::Calibrator::setFlow(), MSDevice_ToC::setParameter(), LIBSUMO_NAMESPACE::Person::setType(), LIBSUMO_NAMESPACE::Vehicle::setType(), MSDevice_ToC::switchHolderType(), and MSMeanData_Emissions::MSLaneMeanDataValues::write().
|
inherited |
return the vehicle type distribution with the given id
Definition at line 429 of file MSVehicleControl.cpp.
References MSVehicleControl::myVTypeDistDict.
Referenced by MSInsertionControl::initScale(), and MSCalibrator::VehicleRemover::notifyEnter().
|
inherited |
Return the distribution IDs the vehicle type is a member of.
[in] | vehType | The vehicle type to look for membership in distributions |
Definition at line 419 of file MSVehicleControl.cpp.
References MSVehicleControl::myVTypeToDist.
Referenced by MSDevice_ToC::MSDevice_ToC(), MSDetectorFileOutput::vehicleApplies(), and MSTriggeredRerouter::vehicleApplies().
|
inherited |
Asks for existence of a vehicle type.
If vehicle type or distribution with the id exists, true is returned, false otherwise.
[in] | id | The id of the type or distribution |
Definition at line 378 of file MSVehicleControl.cpp.
References MSVehicleControl::myVTypeDict, and MSVehicleControl::myVTypeDistDict.
Referenced by LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), and MSDevice_ToC::MSDevice_ToC().
|
inherited |
Asks for a vehicle type distribution.
If vehicle type distribution with the id exists, true is returned, false otherwise.
[in] | id | The id of the distribution |
Definition at line 384 of file MSVehicleControl.cpp.
References MSVehicleControl::myVTypeDistDict.
Referenced by MSRouteHandler::closeVehicle(), MSInsertionControl::initScale(), MSDevice_ToC::MSDevice_ToC(), and MSBaseVehicle::saveState().
|
privateinherited |
create default types
Definition at line 74 of file MSVehicleControl.cpp.
References MSVehicleType::build(), DEFAULT_BIKETYPE_ID, DEFAULT_CONTAINERTYPE_ID, DEFAULT_PEDTYPE_ID, DEFAULT_TAXITYPE_ID, DEFAULT_VTYPE_ID, DEFAULT_VTYPES, SUMOVTypeParameter::height, SUMOVTypeParameter::length, MSVehicleControl::myReplaceableDefaultVTypes, MSVehicleControl::myVTypeDict, SUMOVTypeParameter::parametersSet, SVC_BICYCLE, SVC_IGNORING, SVC_PASSENGER, SVC_PEDESTRIAN, SVC_TAXI, VTYPEPARS_VEHICLECLASS_SET, and SUMOVTypeParameter::width.
Referenced by MSVehicleControl::clearState(), and MSVehicleControl::MSVehicleControl().
|
protectedinherited |
Definition at line 113 of file MSVehicleControl.cpp.
References MSBaseVehicle::addStops(), MSNet::BUILT, MSNet::getInstance(), MSNet::informVehicleStateListener(), MSBaseVehicle::initDevices(), and MSVehicleControl::myLoadedVehNo.
Referenced by MSVehicleControl::buildVehicle(), buildVehicle(), GUIMEVehicleControl::buildVehicle(), and MEVehicleControl::buildVehicle().
void GUIVehicleControl::insertVehicleIDs | ( | std::vector< GUIGlID > & | into, |
bool | listParking, | ||
bool | listTeleporting | ||
) |
Returns the list of all known vehicles by gl-id.
[fill] | into The list to fill with vehicle ids |
[listParking] | Whether parking vehicles shall be listed as well |
[listTeleporting] | Whether teleporting vehicles shall be listed as well |
Definition at line 87 of file GUIVehicleControl.cpp.
References GUIGlObject::getGlID(), SUMOVehicle::isOnRoad(), SUMOVehicle::isParking(), myLock, and MSVehicleControl::myVehicleDict.
|
inherited |
Inserts ids of all known vehicle types and vehicle type distributions to the given vector.
[in] | into | The vector to fill with ids |
Definition at line 407 of file MSVehicleControl.cpp.
References MSVehicleControl::myVTypeDict, and MSVehicleControl::myVTypeDistDict.
|
privateinherited |
whether the given vehicle is scheduled for removal
Definition at line 136 of file MSVehicleControl.cpp.
References MSVehicleControl::myPendingRemovals.
Referenced by MSVehicleControl::scheduleVehicleRemoval().
|
inlineinherited |
Returns the begin of the internal vehicle map.
Definition at line 181 of file MSVehicleControl.h.
References MSVehicleControl::myVehicleDict.
Referenced by GUIApplicationWindow::checkGamingEvents(), GUIApplicationWindow::checkGamingEventsDRT(), MSVTypeProbe::execute(), MSVehicleControl::getHaltingVehicleNo(), MSVTKExport::getPositions(), MSVTKExport::getSpeed(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), MSVehicleControl::getVehicleMeanSpeeds(), GUIViewTraffic::getVehicleParamKeys(), MSRailSignalConstraint::getVehID(), GUIViewTraffic::onGamingClick(), MSVehicleType::setActionStepLength(), MSAmitranTrajectories::write(), MSFCDExport::write(), MSBatteryExport::write(), MSEmissionExport::write(), MSElecHybridExport::writeAggregated(), MSNet::writeOutput(), and MSFullExport::writeVehicles().
|
inlineinherited |
Returns the end of the internal vehicle map.
Definition at line 189 of file MSVehicleControl.h.
References MSVehicleControl::myVehicleDict.
Referenced by GUIApplicationWindow::checkGamingEvents(), GUIApplicationWindow::checkGamingEventsDRT(), MSVTypeProbe::execute(), MSVehicleControl::getHaltingVehicleNo(), MSVTKExport::getPositions(), MSVTKExport::getSpeed(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), MSVehicleControl::getVehicleMeanSpeeds(), GUIViewTraffic::getVehicleParamKeys(), MSRailSignalConstraint::getVehID(), GUIViewTraffic::onGamingClick(), MSVehicleType::setActionStepLength(), MSAmitranTrajectories::write(), MSFCDExport::write(), MSBatteryExport::write(), MSEmissionExport::write(), MSElecHybridExport::writeAggregated(), MSNet::writeOutput(), and MSFullExport::writeVehicles().
|
private |
invalidated assignment operator
|
inlineinherited |
registers one collision-related teleport
Definition at line 445 of file MSVehicleControl.h.
References MSVehicleControl::myCollisions, and MSVehicleControl::myTeleportsCollision.
Referenced by MSLane::detectCollisions(), MSLane::detectPedestrianJunctionCollision(), MSLane::executeMovements(), and MSLane::handleCollisionBetween().
|
inlineinherited |
register emergency stop
Definition at line 468 of file MSVehicleControl.h.
References MSVehicleControl::myEmergencyStops.
Referenced by MSVehicle::executeMove().
|
inlineinherited |
increases the count of vehicles waiting for a transport to allow recognition of person / container related deadlocks
Definition at line 434 of file MSVehicleControl.h.
References MSVehicleControl::myWaitingForTransportable.
Referenced by MSVehicleControl::addVehicle(), MEVehicle::mayProceed(), and MSVehicle::processNextStop().
|
inlineinherited |
register emergency stop
Definition at line 478 of file MSVehicleControl.h.
References MSVehicleControl::myStoppedVehicles.
Referenced by MSVehicle::resumeFromStopping().
|
inlineinherited |
register emergency stop
Definition at line 473 of file MSVehicleControl.h.
References MSVehicleControl::myStoppedVehicles.
Referenced by MSVehicle::processNextStop().
|
inlineinherited |
register one non-collision-related teleport
Definition at line 453 of file MSVehicleControl.h.
References MSVehicleControl::myTeleportsJam.
Referenced by MSLane::executeMovements(), and MELoop::teleportVehicle().
|
inlineinherited |
register one non-collision-related teleport
Definition at line 463 of file MSVehicleControl.h.
References MSVehicleControl::myTeleportsWrongLane.
Referenced by MSLane::executeMovements().
|
inlineinherited |
register one non-collision-related teleport
Definition at line 458 of file MSVehicleControl.h.
References MSVehicleControl::myTeleportsYield.
Referenced by MSLane::executeMovements().
void GUIVehicleControl::releaseVehicles | ( | ) |
unlock access to vehicle removal/additions for thread synchronization
Definition at line 106 of file GUIVehicleControl.cpp.
References myLock.
Referenced by GUIViewTraffic::getVehicleParamKeys().
|
inherited |
Removes a vehicle after it has ended.
Writes output to tripinfos and vehroutes if wished; decrements the number of running vehicles and increments the number of ended vehicles. Then deletes the vehicle using "deleteVehicle".
This method should be called for each vehicle that was inserted into the network and quits its ride.
[in] | veh | The vehicle to remove |
Definition at line 146 of file MSVehicleControl.cpp.
References MSNet::ARRIVED, OutputDevice::closeTag(), MSVehicleControl::deleteVehicle(), OutputDevice::flush(), OutputDevice::getDeviceByOption(), MSNet::getInstance(), OptionsCont::getOptions(), MSNet::informVehicleStateListener(), OptionsCont::isSet(), MSVehicleControl::myPendingRemovals, MSVehicleControl::myRunningVehNo, MSVehicleControl::myTotalTravelTime, and STEPS2TIME.
Referenced by MSEdgeControl::executeMovements(), LIBSUMO_NAMESPACE::Vehicle::remove(), and MSNet::simulationStep().
|
inherited |
Definition at line 348 of file MSVehicleControl.cpp.
References MSVehicleType::getID(), MSVehicleControl::myVTypeDict, and MSVehicleControl::myVTypeToDist.
Referenced by MSBaseVehicle::replaceVehicleType(), MSTransportable::replaceVehicleType(), MSTransportable::~MSTransportable(), and MSVehicle::~MSVehicle().
|
inherited |
Saves the current state into the given stream.
Definition at line 204 of file MSVehicleControl.cpp.
References OutputDevice::closeTag(), MSVehicleControl::myEndedVehNo, MSVehicleControl::myLoadedVehNo, MSVehicleControl::myReplaceableDefaultVTypes, MSVehicleControl::myRunningVehNo, MSVehicleControl::myTotalDepartureDelay, MSVehicleControl::myTotalTravelTime, MSVehicleControl::myVehicleDict, MSVehicleControl::myVTypeDict, MSVehicleControl::myVTypeDistDict, OutputDevice::openTag(), SUMO_ATTR_BEGIN, SUMO_ATTR_DEPART, SUMO_ATTR_END, SUMO_ATTR_ID, SUMO_ATTR_NUMBER, SUMO_ATTR_PROBS, SUMO_ATTR_TIME, SUMO_ATTR_VTYPES, SUMO_TAG_DELAY, SUMO_TAG_VTYPE_DISTRIBUTION, and OutputDevice::writeAttr().
Referenced by MSStateHandler::saveState().
|
inherited |
Removes a vehicle after it has ended.
Writes output to tripinfos and vehroutes if wished; decrements the number of running vehicles and increments the number of ended vehicles. Then deletes the vehicle using "deleteVehicle".
This method should be called for each vehicle that was inserted into the network and quits its ride.
[in] | veh | The vehicle to remove |
Definition at line 127 of file MSVehicleControl.cpp.
References MSVehicleControl::isPendingRemoval(), MSVehicleControl::myPendingRemovals, and MSVehicleControl::myRunningVehNo.
Referenced by MSVehicleTransfer::add(), MELoop::changeSegment(), MSVehicleTransfer::checkInsertions(), MSLane::detectCollisions(), MSLane::executeMovements(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdRemoveObject(), MESegment::receive(), LIBSUMO_NAMESPACE::Vehicle::remove(), and MSCalibrator::removePending().
void GUIVehicleControl::secureVehicles | ( | ) |
lock access to vehicle removal/additions for thread synchronization
Definition at line 100 of file GUIVehicleControl.cpp.
References myLock.
Referenced by GUIViewTraffic::getVehicleParamKeys().
|
inlineinherited |
sets the demand scaling factor
Definition at line 522 of file MSVehicleControl.h.
References MSVehicleControl::myScale.
Referenced by GUIApplicationWindow::handleEvent_SimulationLoaded(), GUIApplicationWindow::onCmdDemandScale(), and LIBSUMO_NAMESPACE::Simulation::setScale().
|
inherited |
Sets the current state variables as loaded from the stream.
Definition at line 194 of file MSVehicleControl.cpp.
References MSVehicleControl::myEndedVehNo, MSVehicleControl::myLoadedVehNo, MSVehicleControl::myRunningVehNo, MSVehicleControl::myTotalDepartureDelay, and MSVehicleControl::myTotalTravelTime.
Referenced by MSStateHandler::myEndElement().
|
inlineinherited |
decreases the count of vehicles waiting for a transport to allow recognition of person / container related deadlocks
Definition at line 440 of file MSVehicleControl.h.
References MSVehicleControl::myWaitingForTransportable.
Referenced by MSVehicle::boardTransportables(), MEVehicle::mayProceed(), MSStageDriving::proceed(), MSVehicle::processNextStop(), MEVehicle::resumeFromStopping(), and MSVehicle::resumeFromStopping().
|
inherited |
Informs this control about a vehicle's departure.
If the mean waiting time shall be computed (f.e. for summary-output), the absolut waiting time is increased by the waiting time of the given vehicle.
[in] | v | The inserted vehicle |
Definition at line 181 of file MSVehicleControl.cpp.
References SUMOVehicleParameter::depart, MSNet::DEPARTED, MSVehicleType::getCarFollowModel(), SUMOTrafficObject::getChosenSpeedFactor(), SUMOVehicle::getDeparture(), MSNet::getInstance(), MSCFModel::getMaxDecel(), SUMOTrafficObject::getParameter(), SUMOTrafficObject::getVClass(), SUMOTrafficObject::getVehicleType(), MSNet::informVehicleStateListener(), MAX2(), MIN2(), MSVehicleControl::myMaxSpeedFactor, MSVehicleControl::myMinDeceleration, MSVehicleControl::myRunningVehNo, MSVehicleControl::myTotalDepartureDelay, STEPFLOOR, STEPS2TIME, SVC_NON_ROAD, and SVC_PEDESTRIAN.
Referenced by MSBaseVehicle::onDepart().
|
privateinherited |
The number of collisions.
Definition at line 566 of file MSVehicleControl.h.
Referenced by MSVehicleControl::clearState(), MSVehicleControl::getCollisionCount(), and MSVehicleControl::registerCollision().
|
privateinherited |
The number of vehicles which were discarded while loading.
Definition at line 563 of file MSVehicleControl.h.
Referenced by MSVehicleControl::clearState(), MSVehicleControl::deleteVehicle(), MSVehicleControl::discountStateRemoved(), MSVehicleControl::fixVehicleCounts(), MSVehicleControl::getArrivedVehicleNo(), MSVehicleControl::getDepartedVehicleNo(), and MSVehicleControl::getDiscardedVehicleNo().
|
privateinherited |
The number of emergency stops.
Definition at line 581 of file MSVehicleControl.h.
Referenced by MSVehicleControl::clearState(), MSVehicleControl::getEmergencyStops(), and MSVehicleControl::registerEmergencyStop().
|
privateinherited |
The number of removed vehicles.
Definition at line 560 of file MSVehicleControl.h.
Referenced by MSVehicleControl::clearState(), MSVehicleControl::deleteVehicle(), MSVehicleControl::discountStateRemoved(), MSVehicleControl::fixVehicleCounts(), MSVehicleControl::getActiveVehicleCount(), MSVehicleControl::getArrivedVehicleNo(), MSVehicleControl::getDepartedVehicleNo(), MSVehicleControl::getEndedVehicleNo(), MSVehicleControl::saveState(), and MSVehicleControl::setState().
|
privateinherited |
The number of build vehicles.
Definition at line 554 of file MSVehicleControl.h.
Referenced by MSVehicleControl::clearState(), MSVehicleControl::fixVehicleCounts(), MSVehicleControl::getActiveVehicleCount(), MSVehicleControl::getLoadedVehicleNo(), MSVehicleControl::getQuota(), MSVehicleControl::initVehicle(), MSVehicleControl::saveState(), and MSVehicleControl::setState().
|
mutableprivate |
The mutex used to avoid concurrent updates of the vehicle buffer.
Definition at line 123 of file GUIVehicleControl.h.
Referenced by addVehicle(), deleteVehicle(), getHaltingVehicleNo(), getVehicleMeanSpeeds(), insertVehicleIDs(), releaseVehicles(), secureVehicles(), and ~GUIVehicleControl().
|
privateinherited |
The maximum speed factor for all vehicles in the network.
Definition at line 637 of file MSVehicleControl.h.
Referenced by MSVehicleControl::getMaxSpeedFactor(), and MSVehicleControl::vehicleDeparted().
|
privateinherited |
The minimum deceleration capability for all vehicles in the network.
Definition at line 640 of file MSVehicleControl.h.
Referenced by MSVehicleControl::getMinDeceleration(), and MSVehicleControl::vehicleDeparted().
|
privateinherited |
List of vehicles which are going to be removed.
Definition at line 649 of file MSVehicleControl.h.
Referenced by MSVehicleControl::clearState(), MSVehicleControl::isPendingRemoval(), MSVehicleControl::removePending(), and MSVehicleControl::scheduleVehicleRemoval().
|
privateinherited |
List of vehicles which belong to public transport.
Definition at line 643 of file MSVehicleControl.h.
Referenced by MSVehicleControl::adaptIntermodalRouter(), MSVehicleControl::addVehicle(), and MSVehicleControl::deleteVehicle().
|
privateinherited |
the default vehicle types which may still be replaced
Definition at line 628 of file MSVehicleControl.h.
Referenced by MSVehicleControl::checkVType(), MSVehicleControl::getVType(), MSVehicleControl::initDefaultTypes(), and MSVehicleControl::saveState().
|
privateinherited |
The number of vehicles within the network (build and inserted but not removed)
Definition at line 557 of file MSVehicleControl.h.
Referenced by MSVehicleControl::clearState(), MSVehicleControl::discountStateRemoved(), MSVehicleControl::getDepartedVehicleNo(), MSVehicleControl::getRunningVehicleNo(), MSVehicleControl::removePending(), MSVehicleControl::saveState(), MSVehicleControl::scheduleVehicleRemoval(), MSVehicleControl::setState(), and MSVehicleControl::vehicleDeparted().
|
privateinherited |
The scaling factor (especially for inc-dua)
Definition at line 634 of file MSVehicleControl.h.
Referenced by MSVehicleControl::getQuota(), MSVehicleControl::getScale(), MSVehicleControl::MSVehicleControl(), and MSVehicleControl::setScale().
|
privateinherited |
The number of stopped vehicles.
Definition at line 584 of file MSVehicleControl.h.
Referenced by MSVehicleControl::clearState(), MSVehicleControl::getStoppedVehiclesCount(), MSVehicleControl::registerStopEnded(), and MSVehicleControl::registerStopStarted().
|
privateinherited |
The number of teleports due to collision.
Definition at line 569 of file MSVehicleControl.h.
Referenced by MSVehicleControl::clearState(), MSVehicleControl::getTeleportCount(), MSVehicleControl::getTeleportsCollisions(), and MSVehicleControl::registerCollision().
|
privateinherited |
The number of teleports due to jam.
Definition at line 572 of file MSVehicleControl.h.
Referenced by MSVehicleControl::clearState(), MSVehicleControl::getTeleportCount(), MSVehicleControl::getTeleportsJam(), and MSVehicleControl::registerTeleportJam().
|
privateinherited |
The number of teleports due to vehicles stuck on the wrong lane.
Definition at line 578 of file MSVehicleControl.h.
Referenced by MSVehicleControl::clearState(), MSVehicleControl::getTeleportCount(), MSVehicleControl::getTeleportsWrongLane(), and MSVehicleControl::registerTeleportWrongLane().
|
privateinherited |
The number of teleports due to vehicles stuck on a minor road.
Definition at line 575 of file MSVehicleControl.h.
Referenced by MSVehicleControl::clearState(), MSVehicleControl::getTeleportCount(), MSVehicleControl::getTeleportsYield(), and MSVehicleControl::registerTeleportYield().
|
privateinherited |
The aggregated time vehicles had to wait for departure (in seconds)
Definition at line 592 of file MSVehicleControl.h.
Referenced by MSVehicleControl::clearState(), MSVehicleControl::getTotalDepartureDelay(), MSVehicleControl::saveState(), MSVehicleControl::setState(), and MSVehicleControl::vehicleDeparted().
|
privateinherited |
The aggregated time vehicles needed to aacomplish their route (in seconds)
Definition at line 595 of file MSVehicleControl.h.
Referenced by MSVehicleControl::clearState(), MSVehicleControl::getTotalTravelTime(), MSVehicleControl::removePending(), MSVehicleControl::saveState(), and MSVehicleControl::setState().
|
protectedinherited |
Dictionary of vehicles.
Definition at line 606 of file MSVehicleControl.h.
Referenced by MSVehicleControl::abortWaiting(), MSVehicleControl::addVehicle(), MSVehicleControl::clearState(), MSVehicleControl::deleteVehicle(), MSVehicleControl::getVehicle(), GUIMEVehicleControl::insertVehicleIDs(), insertVehicleIDs(), MSVehicleControl::loadedVehBegin(), MSVehicleControl::loadedVehEnd(), and MSVehicleControl::saveState().
|
privateinherited |
Dictionary of vehicle types.
Definition at line 617 of file MSVehicleControl.h.
Referenced by MSVehicleControl::addVType(), MSVehicleControl::checkVType(), MSVehicleControl::clearState(), MSVehicleControl::getVType(), MSVehicleControl::hasVType(), MSVehicleControl::initDefaultTypes(), MSVehicleControl::insertVTypeIDs(), MSVehicleControl::removeVType(), and MSVehicleControl::saveState().
|
privateinherited |
A distribution of vehicle types (probability->vehicle type)
Definition at line 622 of file MSVehicleControl.h.
Referenced by MSVehicleControl::addVTypeDistribution(), MSVehicleControl::checkVType(), MSVehicleControl::clearState(), MSVehicleControl::getVType(), MSVehicleControl::getVTypeDistribution(), MSVehicleControl::hasVType(), MSVehicleControl::hasVTypeDistribution(), MSVehicleControl::insertVTypeIDs(), and MSVehicleControl::saveState().
|
privateinherited |
Inverse lookup from vehicle type to distributions it is a member of.
Definition at line 625 of file MSVehicleControl.h.
Referenced by MSVehicleControl::addVTypeDistribution(), MSVehicleControl::getVTypeDistributionMembership(), and MSVehicleControl::removeVType().
|
privateinherited |
the number of vehicles waiting for persons or containers contained in myWaiting which can only continue by being triggered
Definition at line 631 of file MSVehicleControl.h.
Referenced by MSVehicleControl::getActiveVehicleCount(), MSVehicleControl::registerOneWaiting(), and MSVehicleControl::unregisterOneWaiting().