![]() |
Eclipse SUMO - Simulation of Urban MObility
|
A lane area vehicles can halt at. More...
#include <MSParkingArea.h>
Data Structures | |
struct | LotSpaceDefinition |
Representation of a single lot space. More... | |
Public Types | |
typedef std::map< std::string, std::string > | Map |
parameters map | |
Public Member Functions | |
virtual bool | addAccess (MSLane *lane, const double pos, double length) |
adds an access point to this stop | |
virtual void | addLotEntry (double x, double y, double z, double width, double length, double angle, double slope) |
Add a lot entry to parking area. | |
void | addTo (const StoringVisitor &cont) const |
Adds this object to the given container. | |
bool | addTransportable (const MSTransportable *p) |
adds a transportable to this stop | |
void | clearParameter () |
Clears the parameter map. | |
void | clearState () |
Remove all vehicles before quick-loading state. | |
void | enter (SUMOVehicle *veh) |
Called if a vehicle enters this stop. | |
void | enter (SUMOVehicle *veh, bool parking) |
Called if a vehicle enters this stop. | |
bool | fits (double pos, const SUMOVehicle &veh) const |
return whether the given vehicle fits at the given position | |
double | getAccessDistance (const MSEdge *edge) const |
the distance from the access on the given edge to the stop, -1 on failure | |
double | getAccessPos (const MSEdge *edge) const |
the position on the given edge which is connected to this stop, -1 on failure | |
const std::vector< std::tuple< MSLane *, double, double > > & | getAllAccessPos () const |
lanes and positions connected to this stop | |
double | getAngle () const |
Returns the lot rectangle angle. | |
double | getBeginLanePosition () const |
Returns the begin position of this stop. | |
int | getCapacity () const |
Returns the area capacity. | |
Position | getCenterPos () const |
the position in the middle of the stop shape | |
const RGBColor & | getColor () const |
double | getDouble (const std::string &key, const double defaultValue) const |
Returns the value for a given key converted to a double. | |
std::vector< double > | getDoubles (const std::string &key, std::vector< double > defaultValue=std::vector< double >()) const |
Returns the value for a given key converted to a list of doubles. | |
SumoXMLTag | getElement () const |
return the type of this stopping place | |
double | getEndLanePosition () const |
Returns the end position of this stop. | |
double | getGUIAngle (const SUMOVehicle &forVehicle) const |
Return the GUI angle of the lot where the vehicle is parked. | |
const std::string & | getID () const |
Returns the id. | |
double | getInsertionPosition (const SUMOVehicle &forVehicle) const |
Returns the insertion position of a parked vehicle. | |
const MSLane & | getLane () const |
Returns the lane this stop is located at. | |
int | getLastFreeLotAngle () const |
Return the angle of myLastFreeLot - the next parking lot only expected to be called after we have established there is space in the parking area. | |
double | getLastFreeLotGUIAngle () const |
Return the GUI angle of myLastFreeLot - the angle the GUI uses to rotate into the next parking lot as above, only expected to be called after we have established there is space in the parking area. | |
double | getLastFreePos () const |
double | getLastFreePos (const SUMOVehicle &forVehicle, double brakePos=0) const |
Returns the last free position on this stop. | |
double | getLastFreePosWithReservation (SUMOTime t, const SUMOVehicle &forVehicle, double brakePos) |
Returns the last free position on this stop including reservatiosn from the current lane and time step. | |
int | getLastStepOccupancy () const |
Returns the area occupancy at the end of the last simulation step. | |
double | getLength () const |
Returns the lot rectangle length. | |
int | getLotIndex (const SUMOVehicle *veh) const |
compute lot for this vehicle | |
int | getManoeuverAngle (const SUMOVehicle &forVehicle) const |
Return the manoeuver angle of the lot where the vehicle is parked. | |
const std::string & | getMyName () const |
int | getNumAlternatives () const |
get number alternatives | |
int | getNumWaitingPersons () const |
get number of persons waiting at this stop | |
int | getOccupancy () const |
Returns the area occupancy. | |
int | getOccupancyIncludingBlocked () const |
Returns the area occupancy. | |
virtual const std::string | getParameter (const std::string &key, const std::string defaultValue="") const |
Returns the value for a given key. | |
const Parameterised::Map & | getParametersMap () const |
Returns the inner key/value map. | |
std::string | getParametersStr (const std::string kvsep="=", const std::string sep="|") const |
Returns the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN". | |
int | getStoppedVehicleNumber () const |
Returns the number of stopped vehicles waiting on this stop. | |
std::vector< const SUMOVehicle * > | getStoppedVehicles () const |
get list of vehicles waiting at this stop | |
double | getStoppingPosition (const SUMOVehicle *veh) const |
For vehicles at the stop this gives the the actual stopping position of the vehicle. For all others the last free stopping position. | |
int | getTransportableNumber () const |
Returns the number of transportables waiting on this stop. | |
std::vector< const MSTransportable * > | getTransportables () const |
Returns the tranportables waiting on this stop. | |
double | getVehicleAngle (const SUMOVehicle &forVehicle) const |
Returns the angle of parked vehicle. | |
Position | getVehiclePosition (const SUMOVehicle &forVehicle) const |
Returns the position of parked vehicle. | |
double | getVehicleSlope (const SUMOVehicle &forVehicle) const |
Returns the slope of parked vehicle. | |
int | getWaitingCapacity () const |
get number of persons that can wait at this stop | |
void | getWaitingPersonIDs (std::vector< std::string > &into) const |
get IDs of persons waiting at this stop | |
double | getWaitingPositionOnLane (MSTransportable *t) const |
Returns the lane position corresponding to getWaitPosition() | |
Position | getWaitPosition (MSTransportable *person) const |
Returns the next free waiting place for pedestrians / containers. | |
double | getWidth () const |
Returns the lot rectangle width. | |
bool | hasSpaceForTransportable () const |
whether there is still capacity for more transportables | |
bool | knowsParameter (const std::string &key) const |
Returns whether the parameter is known. | |
void | leaveFrom (SUMOVehicle *what) |
Called if a vehicle leaves this stop. | |
MSParkingArea (const std::string &id, const std::vector< std::string > &lines, MSLane &lane, double begPos, double endPos, int capacity, double width, double length, double angle, const std::string &name, bool onRoad, const std::string &departPos, bool lefthand) | |
Constructor. | |
void | notifyEgressBlocked () |
update state so that vehicles wishing to enter cooperate with exiting vehicles | |
bool | parkOnRoad () const |
whether vehicles park on the road | |
void | removeTransportable (const MSTransportable *p) |
Removes a transportable from this stop. | |
virtual void | setID (const std::string &newID) |
resets the id | |
void | setNumAlternatives (int alternatives) |
set number alternatives | |
virtual void | setParameter (const std::string &key, const std::string &value) |
Sets a parameter. | |
void | setParameters (const Parameterised ¶ms) |
set the inner key/value map in map<string, string> format | |
void | setParametersMap (const Parameterised::Map ¶msMap) |
set the inner key/value map in map<string, string> format | |
void | setParametersStr (const std::string ¶msString, const std::string kvsep="=", const std::string sep="|") |
set the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN" | |
void | unsetParameter (const std::string &key) |
Removes a parameter. | |
SUMOTime | updateOccupancy (SUMOTime currentTime) |
Called at the end of the time step. | |
void | updateParameters (const Parameterised::Map &mapArg) |
Adds or updates all given parameters from the map. | |
void | writeParams (OutputDevice &device) const |
write Params in the given outputdevice | |
virtual | ~MSParkingArea () |
Destructor. | |
Static Public Member Functions | |
static bool | areAttributesValid (const std::string &value, bool report=false, const std::string kvsep="=", const std::string sep="|") |
check if given string can be parsed to an attributes map "key1=value1|key2=value2|...|keyN=valueN" (used in generic datas) | |
static bool | areParametersValid (const std::string &value, bool report=false, const std::string kvsep="=", const std::string sep="|") |
check if given string can be parsed to a parameters map "key1=value1|key2=value2|...|keyN=valueN" | |
template<class T > | |
static std::string | getIDSecure (const T *obj, const std::string &fallBack="NULL") |
get an identifier for Named-like object which may be Null | |
static int | getTransportablesAbreast (double length, SumoXMLTag element) |
Protected Member Functions | |
void | computeLastFreePos () |
Computes the last free position on this stop. | |
int | getTransportablesAbreast () const |
Protected Attributes | |
std::vector< std::tuple< MSLane *, double, double > > | myAccessPos |
lanes and positions connected to this stop | |
double | myAngle |
The default angle of each parking space. | |
const double | myBegPos |
The begin position this bus stop is located at. | |
int | myCapacity |
Stop area total capacity. | |
const RGBColor | myColor |
The color of the stopping place. | |
double | myDepartPos |
custom departPos | |
DepartPosDefinition | myDepartPosDefinition |
bool | myEgressBlocked |
whether a vehicle wants to exit but is blocked | |
const SumoXMLTag | myElement |
the type of stopping place | |
const double | myEndPos |
The end position this bus stop is located at. | |
std::map< const SUMOVehicle *, std::pair< double, double >, ComparatorNumericalIdLess > | myEndPositions |
A map from objects (vehicles) to the areas they acquire after entering the stop. | |
std::string | myID |
The name of the object. | |
const MSLane & | myLane |
The lane this bus stop is located at. | |
int | myLastFreeLot |
Last free lot number (-1 no free lot) | |
double | myLastFreePos |
The last free position at this stop (variable) | |
const SUMOVehicle * | myLastParking |
The length of the last parking vehicle (or 0 if there is none) | |
int | myLastStepOccupancy |
Changes to the occupancy in the current time step. | |
double | myLength |
The default length of each parking space. | |
std::vector< std::string > | myLines |
The list of lines that are assigned to this stop. | |
const std::string | myName |
The name of the stopping place. | |
int | myNumAlternatives |
the number of alternative parkingAreas that are assigned to parkingAreaRerouter | |
bool | myOnRoad |
Whether vehicles stay on the road. | |
const double | myParkingFactor |
the scaled space capacity for parking vehicles | |
double | myReservationMaxLength |
reservation max length | |
int | myReservations |
number of reservations | |
SUMOTime | myReservationTime |
track parking reservations from the lane for the current time step | |
int | myRoadSideCapacity |
Stop area capacity configured via roadsideCapacity. | |
PositionVector | myShape |
The roadside shape of this parkingArea. | |
std::vector< LotSpaceDefinition > | mySpaceOccupancies |
All the spaces in this parking area. | |
const int | myTransportableCapacity |
The number of transportables that can wait here. | |
const double | myTransportableDepth |
row depth of waiting transportables | |
Command * | myUpdateEvent |
Event for updating the occupancy. | |
std::set< int > | myWaitingSpots |
std::map< const MSTransportable *, int > | myWaitingTransportables |
Persons waiting at this stop (mapped to waiting position) | |
double | myWidth |
The default width of each parking space. | |
Private Member Functions | |
MSParkingArea (const MSParkingArea &)=delete | |
Invalidated copy constructor. | |
MSParkingArea & | operator= (const MSParkingArea &)=delete |
Invalidated assignment operator. | |
Static Private Member Functions | |
static bool | isParameterValid (const std::string &value, const std::string &kvsep, const std::string &sep) |
check if given string can be parsed to a parameter of type "key=value" | |
Private Attributes | |
Parameterised::Map | myMap |
The key->value map. | |
A lane area vehicles can halt at.
The stop tracks the last free space a vehicle may halt at by being informed about a vehicle's entering and depart. It keeps the information about entered vehicles' begin and end position within an internal container ("myEndPositions") and is so able to compute the last free space.
Please note that using the last free space disallows vehicles to enter a free space in between other vehicles.
Definition at line 58 of file MSParkingArea.h.
|
inherited |
parameters map
Definition at line 45 of file Parameterised.h.
MSParkingArea::MSParkingArea | ( | const std::string & | id, |
const std::vector< std::string > & | lines, | ||
MSLane & | lane, | ||
double | begPos, | ||
double | endPos, | ||
int | capacity, | ||
double | width, | ||
double | length, | ||
double | angle, | ||
const std::string & | name, | ||
bool | onRoad, | ||
const std::string & | departPos, | ||
bool | lefthand | ||
) |
Constructor.
[in] | id | The id of the stop |
[in] | net | The net the stop belongs to |
[in] | lines | Names of the lines that halt on this stop |
[in] | lane | The lane the stop is placed on |
[in] | begPos | Begin position of the stop on the lane |
[in] | endPos | End position of the stop on the lane |
[in] | capacity | Capacity of the stop |
[in] | width | Width of the default lot rectangle |
[in] | length | Length of the default lot rectangle |
[in] | angle | Angle of the default lot rectangle |
Definition at line 45 of file MSParkingArea.cpp.
References addLotEntry(), GeomHelper::calculateLotSpaceAngle(), GeomHelper::calculateLotSpacePosition(), GeomHelper::calculateLotSpaceSlope(), computeLastFreePos(), Named::getID(), MSLane::getLength(), MSLane::getShape(), PositionVector::getSubpart(), MSLane::getWidth(), GIVEN, MSGlobals::gLefthand, MSLane::interpolateLanePosToGeometryPos(), MAX2(), MIN2(), PositionVector::move2side(), myAngle, MSStoppingPlace::myBegPos, myDepartPos, myDepartPosDefinition, MSStoppingPlace::myElement, MSStoppingPlace::myEndPos, MSStoppingPlace::myLane, myLength, myOnRoad, myShape, mySpaceOccupancies, myWidth, SUMOVehicleParameter::parseDepartPos(), SUMO_const_laneWidth, toString(), Position::x(), Position::y(), and Position::z().
|
virtual |
Destructor.
Definition at line 109 of file MSParkingArea.cpp.
|
privatedelete |
Invalidated copy constructor.
|
virtualinherited |
adds an access point to this stop
Reimplemented in GUIBusStop.
Definition at line 311 of file MSStoppingPlace.cpp.
References Position::distanceTo(), MSLane::geometryPositionAtOffset(), MSStoppingPlace::myAccessPos, MSStoppingPlace::myBegPos, MSStoppingPlace::myEndPos, and MSStoppingPlace::myLane.
Referenced by GUIBusStop::addAccess(), and NLTriggerBuilder::addAccess().
|
virtual |
Add a lot entry to parking area.
[in] | x | X position of the lot center |
[in] | y | Y position of the lot center |
[in] | z | Z position of the lot center |
[in] | width | Width of the lot rectangle |
[in] | length | Length of the lot rectangle |
[in] | angle | Angle of the lot rectangle |
[in] | slope | Slope of the lot rectangle |
Reimplemented in GUIParkingArea.
Definition at line 113 of file MSParkingArea.cpp.
References computeLastFreePos(), MSParkingArea::LotSpaceDefinition::endPos, MSStoppingPlace::getBeginLanePosition(), MSStoppingPlace::getLane(), MSLane::getLength(), getLength(), MSLane::getShape(), MSGlobals::gModelParkingManoeuver, MSParkingArea::LotSpaceDefinition::manoeuverAngle, myCapacity, MSStoppingPlace::myEndPos, mySpaceOccupancies, PositionVector::nearest_offset_to_point2D(), MSParkingArea::LotSpaceDefinition::position, RAD2DEG, MSParkingArea::LotSpaceDefinition::rotation, MSParkingArea::LotSpaceDefinition::sideIsLHS, PositionVector::transformToVectorCoordinates(), and Position::y().
Referenced by GUIParkingArea::addLotEntry(), NLTriggerBuilder::addLotEntry(), and MSParkingArea().
|
inlineinherited |
Adds this object to the given container.
[in,filled] | cont The container to add this item to |
Definition at line 118 of file Named.h.
References Named::StoringVisitor::add().
|
inherited |
adds a transportable to this stop
Definition at line 221 of file MSStoppingPlace.cpp.
References MSStoppingPlace::hasSpaceForTransportable(), MSStoppingPlace::myWaitingSpots, and MSStoppingPlace::myWaitingTransportables.
Referenced by MSStageDriving::loadState(), MSStageWaiting::loadState(), MSStageTranship::moveToNextEdge(), MSDevice_Transportable::notifyMove(), and MSStageWaiting::proceed().
|
staticinherited |
check if given string can be parsed to an attributes map "key1=value1|key2=value2|...|keyN=valueN" (used in generic datas)
Definition at line 216 of file Parameterised.cpp.
References StringTokenizer::getVector(), Parameterised::isParameterValid(), TL, and WRITE_WARNINGF.
Referenced by GNEFrameAttributeModules::GenericDataAttributes::areAttributesValid(), GNEEdgeData::isValid(), GNEEdgeRelData::isValid(), and GNETAZRelData::isValid().
|
staticinherited |
check if given string can be parsed to a parameters map "key1=value1|key2=value2|...|keyN=valueN"
Definition at line 197 of file Parameterised.cpp.
References StringTokenizer::getVector(), Parameterised::isParameterValid(), TL, and WRITE_WARNINGF.
Referenced by GNEAccess::isValid(), GNEBusStop::isValid(), GNECalibrator::isValid(), GNECalibratorFlow::isValid(), GNEChargingStation::isValid(), GNEContainerStop::isValid(), GNEEntryExitDetector::isValid(), GNEInductionLoopDetector::isValid(), GNEInstantInductionLoopDetector::isValid(), GNELaneAreaDetector::isValid(), GNEMultiEntryExitDetector::isValid(), GNEOverheadWire::isValid(), GNEParkingArea::isValid(), GNEParkingSpace::isValid(), GNERerouter::isValid(), GNERouteProbe::isValid(), GNETAZ::isValid(), GNETAZSourceSink::isValid(), GNETractionSubstation::isValid(), GNEVaporizer::isValid(), GNEVariableSpeedSign::isValid(), GNEContainer::isValid(), GNEPerson::isValid(), GNERoute::isValid(), GNEStop::isValid(), GNEVehicle::isValid(), GNEVType::isValid(), GNEConnection::isValid(), GNECrossing::isValid(), GNEEdge::isValid(), GNEEdgeType::isValid(), GNEJunction::isValid(), GNELane::isValid(), GNELaneType::isValid(), GNEPOI::isValid(), GNEPoly::isValid(), GNETLSEditorFrame::TLSAttributes::isValidParameters(), and GNEFrameAttributeModules::GenericDataAttributes::onCmdSetParameters().
|
inherited |
Clears the parameter map.
Definition at line 120 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NLHandler::beginEdgeParsing().
|
inherited |
Remove all vehicles before quick-loading state.
Definition at line 347 of file MSStoppingPlace.cpp.
References MSStoppingPlace::computeLastFreePos(), MSStoppingPlace::myEndPositions, and MSStoppingPlace::myWaitingTransportables.
|
protected |
Computes the last free position on this stop.
The last free position is the one, the last vehicle ends at. It is stored in myLastFreePos. If no vehicle halts, the last free position gets the value of myEndPos.
Definition at line 401 of file MSParkingArea.cpp.
References getCapacity(), getOccupancy(), MIN2(), MSStoppingPlace::myBegPos, myEgressBlocked, myLastFreeLot, MSStoppingPlace::myLastFreePos, and mySpaceOccupancies.
Referenced by addLotEntry(), enter(), leaveFrom(), MSParkingArea(), and notifyEgressBlocked().
void MSParkingArea::enter | ( | SUMOVehicle * | veh | ) |
Called if a vehicle enters this stop.
Stores the position of the entering vehicle in myEndPositions.
Recomputes the free space using "computeLastFreePos" then.
[in] | what | The vehicle that enters the parking area |
Definition at line 322 of file MSParkingArea.cpp.
References MSEventControl::addEvent(), computeLastFreePos(), MSNet::getEndOfTimestepEvents(), Named::getID(), MSNet::getInstance(), MSVehicleType::getLength(), getLotIndex(), MSVehicleType::getMinGap(), SUMOTrafficObject::getParameter(), SUMOTrafficObject::getPositionOnLane(), SUMOTrafficObject::getVehicleType(), MSStoppingPlace::myEndPositions, myLastFreeLot, MSStoppingPlace::myLastFreePos, mySpaceOccupancies, myUpdateEvent, SUMOVehicle::setNumberParkingReroutes(), Parameterised::setParameter(), SIMSTEP, time2string(), toString(), updateOccupancy(), and WRITE_WARNING.
Referenced by MSVehicle::processNextStop().
|
inherited |
Called if a vehicle enters this stop.
Stores the position of the entering vehicle in myEndPositions.
Recomputes the free space using "computeLastFreePos" then.
[in] | what | The vehicle that enters the bus stop |
[in] | beg | The begin halting position of the vehicle |
[in] | what | The end halting position of the vehicle |
Definition at line 95 of file MSStoppingPlace.cpp.
References MSStoppingPlace::computeLastFreePos(), MSVehicleType::getLengthWithGap(), MSVehicleType::getMinGap(), SUMOTrafficObject::getPositionOnLane(), SUMOTrafficObject::getVehicleType(), MSStoppingPlace::myEndPositions, and MSStoppingPlace::myParkingFactor.
Referenced by MSVehicle::leaveLane(), and MSVehicle::processNextStop().
|
inherited |
return whether the given vehicle fits at the given position
Definition at line 145 of file MSStoppingPlace.cpp.
References MSVehicleType::getLength(), SUMOTrafficObject::getVehicleType(), MSStoppingPlace::myBegPos, MSStoppingPlace::myEndPos, and MSStoppingPlace::myParkingFactor.
Referenced by MSStoppingPlace::getLastFreePos(), and MSVehicle::processNextStop().
|
inherited |
the distance from the access on the given edge to the stop, -1 on failure
Definition at line 284 of file MSStoppingPlace.cpp.
References MSLane::getEdge(), MSStoppingPlace::myAccessPos, and MSStoppingPlace::myLane.
Referenced by MSPerson::checkAccess().
|
inherited |
the position on the given edge which is connected to this stop, -1 on failure
Definition at line 270 of file MSStoppingPlace.cpp.
References MSLane::getEdge(), MSStoppingPlace::myAccessPos, MSStoppingPlace::myBegPos, MSStoppingPlace::myEndPos, and MSStoppingPlace::myLane.
Referenced by MSStageDriving::canLeaveVehicle(), MSPerson::checkAccess(), MSPerson::MSPersonStage_Access::MSPersonStage_Access(), MSRouteHandler::parseWalkPositions(), MSStageDriving::proceed(), and MSStageTrip::setArrived().
|
inlineinherited |
lanes and positions connected to this stop
Definition at line 197 of file MSStoppingPlace.h.
References MSStoppingPlace::myAccessPos.
Referenced by MSStageDriving::registerWaiting().
double MSParkingArea::getAngle | ( | ) | const |
Returns the lot rectangle angle.
Definition at line 501 of file MSParkingArea.cpp.
References myAngle.
Referenced by NLTriggerBuilder::parseAndAddLotEntry().
|
inherited |
Returns the begin position of this stop.
Definition at line 77 of file MSStoppingPlace.cpp.
References MSStoppingPlace::myBegPos.
Referenced by addLotEntry(), MSTriggeredRerouter::addParkValues(), MSRouteHandler::addStop(), libsumo::Helper::buildStopParameters(), MSStageDriving::canLeaveVehicle(), MSPerson::checkAccess(), GUIOverheadWire::drawGL(), libsumo::Helper::findObjectShape(), MSNet::getStoppingPlaceID(), MSIdling_TaxiStand::idle(), MSChargingStation::MSChargingStation(), MSRouteHandler::parseWalkPositions(), MSVehicle::processNextStop(), MSBaseVehicle::replaceParkingArea(), GUIVehicle::rerouteDRTStop(), MSTriggeredRerouter::rerouteParkingArea(), MSVehicle::rerouteParkingArea(), MSTransportable::rerouteParkingArea(), MSStageTrip::setArrived(), MSStage::setDestination(), MSDevice_ToC::triggerMRM(), MSChargingStation::vehicleIsInside(), and MSOverheadWire::vehicleIsInside().
int MSParkingArea::getCapacity | ( | ) | const |
Returns the area capacity.
Definition at line 507 of file MSParkingArea.cpp.
References myCapacity.
Referenced by MSTriggeredRerouter::addParkValues(), computeLastFreePos(), getLastFreePosWithReservation(), LIBSUMO_NAMESPACE::Simulation::getParameter(), GUIParkingArea::getParameterWindow(), MSVehicle::processNextStop(), and MSTriggeredRerouter::rerouteParkingArea().
|
inherited |
the position in the middle of the stop shape
Definition at line 88 of file MSStoppingPlace.cpp.
References MSLane::getShape(), MSLane::getWidth(), MSLane::interpolateLanePosToGeometryPos(), MSStoppingPlace::myBegPos, MSStoppingPlace::myEndPos, MSStoppingPlace::myLane, and PositionVector::positionAtOffset().
Referenced by GUIBusStop::drawGL(), GUIPerson::getGUIPosition(), and MSPerson::MSPersonStage_Access::MSPersonStage_Access().
|
inherited |
Definition at line 305 of file MSStoppingPlace.cpp.
References MSStoppingPlace::myColor.
Referenced by GUIBusStop::drawGL().
|
inherited |
Returns the value for a given key converted to a double.
[in] | key | The key to ask for |
[in] | defaultValue | The default value to return if no value is stored under the key |
Definition at line 81 of file Parameterised.cpp.
References Parameterised::myMap, TL, StringUtils::toDouble(), WRITE_WARNING, and WRITE_WARNINGF.
Referenced by MSDevice_Battery::buildVehicleDevices(), EnergyParams::EnergyParams(), MSSOTLPolicy5DStimulus::getStimCox(), MSSOTLPolicy5DStimulus::getStimCoxExpDispersionIn(), MSSOTLPolicy5DStimulus::getStimCoxExpDispersionOut(), MSSOTLPolicy5DStimulus::getStimCoxExpIn(), MSSOTLPolicy5DStimulus::getStimCoxExpOut(), MSSOTLPolicy5DStimulus::getStimDivisorDispersionIn(), MSSOTLPolicy5DStimulus::getStimDivisorDispersionOut(), MSSOTLPolicy5DStimulus::getStimDivisorIn(), MSSOTLPolicy5DStimulus::getStimDivisorOut(), MSSOTLPolicy5DStimulus::getStimOffsetDispersionIn(), MSSOTLPolicy5DStimulus::getStimOffsetDispersionOut(), MSSOTLPolicy5DStimulus::getStimOffsetIn(), MSSOTLPolicy5DStimulus::getStimOffsetOut(), MSActuatedTrafficLightLogic::init(), MSDevice_ElecHybrid::MSDevice_ElecHybrid(), and MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus().
|
inherited |
Returns the value for a given key converted to a list of doubles.
[in] | key | The key to ask for |
[in] | defaultValue | The default value to return if no value is stored under the key |
Definition at line 99 of file Parameterised.cpp.
References StringTokenizer::getVector(), Parameterised::myMap, TL, StringUtils::toDouble(), WRITE_WARNING, and WRITE_WARNINGF.
Referenced by EnergyParams::EnergyParams().
|
inlineinherited |
return the type of this stopping place
Definition at line 210 of file MSStoppingPlace.h.
References MSStoppingPlace::myElement.
Referenced by MSStageTrip::getDestinationDescription(), MSStageTrip::getOriginDescription(), MSStageDriving::routeOutput(), MSStageTranship::routeOutput(), MSStageTrip::routeOutput(), and MSStageWaiting::routeOutput().
|
inherited |
Returns the end position of this stop.
Definition at line 83 of file MSStoppingPlace.cpp.
References MSStoppingPlace::myEndPos.
Referenced by MSTriggeredRerouter::addParkValues(), MSRouteHandler::addRideOrTransport(), MSRouteHandler::addStop(), MSRouteHandler::addTranship(), libsumo::Helper::buildStopParameters(), MSStageDriving::canLeaveVehicle(), MSPerson::checkAccess(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), GUIOverheadWire::drawGL(), libsumo::Helper::findObjectShape(), MSNet::getStoppingPlaceID(), MSIdling_TaxiStand::idle(), MSChargingStation::MSChargingStation(), MSTriggeredRerouter::notifyEnter(), MSDevice_StationFinder::notifyMove(), GUIViewTraffic::onGamingClick(), MSBaseVehicle::replaceParkingArea(), GUIVehicle::rerouteDRTStop(), MSTriggeredRerouter::rerouteParkingArea(), MSVehicle::rerouteParkingArea(), MSTransportable::rerouteParkingArea(), MSStageTrip::setArrived(), MSStage::setDestination(), MSDevice_ToC::triggerMRM(), MSChargingStation::vehicleIsInside(), and MSOverheadWire::vehicleIsInside().
double MSParkingArea::getGUIAngle | ( | const SUMOVehicle & | forVehicle | ) | const |
Return the GUI angle of the lot where the vehicle is parked.
Definition at line 271 of file MSParkingArea.cpp.
References DEG2RAD, and mySpaceOccupancies.
Referenced by MSVehicle::Manoeuvre::configureExitManoeuvre().
|
inlineinherited |
Returns the id.
Definition at line 74 of file Named.h.
References Named::myID.
Referenced by MSLCM_LC2013::_patchSpeed(), MSLCM_SL2015::_patchSpeed(), MSCFModel_EIDM::_v(), MSCFModel_ACC::_v(), MSCFModel_IDM::_v(), MSCFModel_CACC::_v(), MSCFModel_Wiedemann::_v(), MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLaneChangerSublane::abortLCManeuver(), MSTransportable::abortStage(), MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToJunctionLeader(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaderDistance(), MSVehicle::adaptToLeaders(), MSVehicle::adaptToOncomingLeader(), MSVehicleTransfer::add(), MSDetectorControl::add(), MSPModel_Striping::add(), PCPolyContainer::add(), ShapeContainer::add(), PCPolyContainer::add(), ShapeContainer::add(), MSDetectorControl::add(), MSDetectorControl::add(), NLTriggerBuilder::addAccess(), RORouteDef::addAlternative(), MSLane::addApproachingLane(), MSTractionSubstation::addChargeValueForOutput(), MSChargingStation::addChargeValueForOutput(), MSOverheadWire::addChargeValueForOutput(), NBNodeCont::addCluster2Join(), NLHandler::addConflict(), NLHandler::addConnection(), NBLoadedSUMOTLDef::addConnection(), MSPModel_Striping::addCrossingVehs(), RODFDetectorCon::addDetector(), NIXMLEdgesHandler::addEdge(), RONet::addEdge(), ROJTREdge::addFollowerProbability(), MSLane::addLeaders(), MSTLLogicControl::TLSLogicVariants::addLogic(), RONet::addNode(), MSLaneChangerSublane::addOutsideLeaders(), MSTractionSubstation::addOverheadWireClampToCircuit(), MSTractionSubstation::addOverheadWireInnerSegmentToCircuit(), MSTractionSubstation::addOverheadWireSegmentToCircuit(), MSTriggeredRerouter::addParkValues(), NIImporter_SUMO::addPhase(), GUIEdge::addRerouter(), MSDevice_Taxi::addReservation(), MSDispatch::addReservation(), MSRouteHandler::addRideOrTransport(), RONet::addRouteDef(), NIXMLEdgesHandler::addSplit(), NBTrafficLightLogic::addStep(), MSRouteHandler::addStop(), RORouteHandler::addStop(), ROVehicle::addStop(), MSBaseVehicle::addStop(), MSNet::addStoppingPlace(), MSRouteHandler::addTranship(), MSVehicle::addTransportable(), AGActivityTripWriter::addTrip(), NIXMLConnectionsHandler::addWalkingArea(), MSBaseVehicle::allowsBoarding(), MSTransportable::appendStage(), LIBSUMO_NAMESPACE::Person::appendWalkingStage(), MSCFModel::applyHeadwayAndSpeedDifferencePerceptionErrors(), MSCFModel::applyHeadwayPerceptionError(), libsumo::Helper::applySubscriptionFilterLanes(), libsumo::Helper::applySubscriptionFilterLateralDistance(), libsumo::Helper::applySubscriptionFilterLateralDistanceSinglePass(), libsumo::Helper::applySubscriptionFilters(), libsumo::Helper::applySubscriptionFilterTurn(), MSLaneChanger::avoidDeadlock(), MSDevice_ToC::awarenessRecoveryStep(), GUITrafficLightLogicWrapper::begin2TrackPhases(), MSPModel_Striping::blockedAtDist(), MSLink::blockedAtTime(), MSLink::blockedByFoe(), MSVehicle::boardTransportables(), MSVehicle::brakeForOverlap(), NIVisumTL::build(), LIBSUMO_NAMESPACE::TrafficLight::buildConstraint(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildCountSensorForLane(), MSSOTLE2Sensors::buildCountSensorForOutLane(), NBNode::buildCrossings(), NBNode::buildCrossingsAndWalkingAreas(), MSTransportableDevice_Routing::buildDevices(), MSTransportableDevice_BTreceiver::buildDevices(), MSTransportableDevice_BTsender::buildDevices(), MSTransportableDevice_FCD::buildDevices(), NIImporter_VISUM::buildDistrictNode(), MSRailSignal::LinkInfo::buildDriveWay(), NLDetectorBuilder::buildE2Detector(), NLDetectorBuilder::buildE2Detector(), RODFNet::buildEdgeFlowMap(), NLDetectorBuilder::buildInductLoop(), NBEdge::buildInnerEdges(), NLTriggerBuilder::buildInnerOverheadWireSegments(), GNETLSEditorFrame::buildInternalLanes(), NIVissimEdge::buildNBEdge(), NGEdge::buildNBEdge(), NBOwnTLDef::buildNemaPhases(), NBRampsComputer::buildOffRamp(), NBRampsComputer::buildOnRamp(), MSRailSignal::DriveWay::buildRoute(), MELoop::buildSegmentsFor(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), libsumo::Helper::buildStopParameters(), MSDevice_Bluelight::buildVehicleDevices(), MSVehicleDevice_BTreceiver::buildVehicleDevices(), MSVehicleDevice_BTsender::buildVehicleDevices(), MSDevice_DriverState::buildVehicleDevices(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice_FCD::buildVehicleDevices(), MSDevice_Friction::buildVehicleDevices(), MSDevice_GLOSA::buildVehicleDevices(), MSDevice_Routing::buildVehicleDevices(), MSDevice_SSM::buildVehicleDevices(), MSDevice_Taxi::buildVehicleDevices(), MSDevice_ToC::buildVehicleDevices(), MSDevice_Tripinfo::buildVehicleDevices(), MSDevice_Transportable::buildVehicleDevices(), MSDevice_Vehroutes::buildVehicleDevices(), MSDevice_Battery::buildVehicleDevices(), NBNode::buildWalkingAreas(), MSBaseVehicle::calculateArrivalParams(), MSSwarmTrafficLightLogic::calculateEtaDiff(), MSSwarmTrafficLightLogic::calculateEtaRatio(), NEMALogic::calculateInitialPhases170(), MSE2Collector::calculateTimeLossAndTimeOnDetector(), MSStageDriving::canLeaveVehicle(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), MSLCHelper::canSaveBlockerLength(), MSLaneChanger::change(), MSLaneChangerSublane::change(), MSLCM_SL2015::changed(), MSLaneChanger::changeOpposite(), MELoop::changeSegment(), MSActuatedTrafficLightLogic::changeStepAndDuration(), MSSimpleTrafficLightLogic::changeStepAndDuration(), LIBSUMO_NAMESPACE::Vehicle::changeTarget(), MSTLLogicControl::check2Switch(), MSEdge::checkAndRegisterBiDirEdge(), MSLaneChanger::checkChange(), MSLaneChanger::checkChangeOpposite(), MSLaneChangerSublane::checkChangeOpposite(), MSLaneChangerSublane::checkChangeSublane(), NBEdgeCont::checkConsistency(), MSRailSignal::DriveWay::checkCrossingFlanks(), MSDevice_ToC::checkDynamicToC(), MSLane::checkFailure(), MSRailSignal::DriveWay::checkFlanks(), MSLane::checkForPedestrians(), MSVehicleTransfer::checkInsertions(), MSVehicle::checkLinkLeader(), MSE2Collector::checkPositioning(), MSRoute::checkRemoval(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), MEVehicle::checkStop(), MSLCM_SL2015::checkStrategicChange(), MSAbstractLaneChangeModel::checkTraCICommands(), MSLaneChanger::checkTraCICommands(), MSLink::checkWalkingAreaFoe(), MSSwarmTrafficLightLogic::choosePolicy(), MSDevice_SSM::classifyEncounter(), ShapeContainer::clearHighlights(), NBTrafficLightLogic::closeBuilding(), ODDistrictHandler::closeDistrict(), NLHandler::closeEdge(), MSDevice_SSM::closeEncounter(), RORouteHandler::closeRouteDistribution(), MSRouteHandler::closeVehicle(), RORouteHandler::closeVehicle(), NBTrafficLightDefinition::collectAllLinks(), NBTrafficLightDefinition::collectEdges(), NBLoadedSUMOTLDef::collectEdgeVectors(), NBLoadedTLDef::collectLinks(), MSLCM_SL2015::commitManoeuvre(), IntermodalRouter< E, L, N, V >::compute(), NBTrafficLightDefinition::compute(), ROJTRRouter::compute(), MSVehicle::computeAngle(), MSDispatch::computeDetourTime(), NBNodeShapeComputer::computeEdgeBoundaries(), MSVehicle::computeFurtherLanes(), MSDevice_SSM::computeGlobalMeasures(), NBNode::computeInternalLaneShape(), NBNode::computeLanes2Lanes(), NBNode::computeLogic(), NBOwnTLDef::computeLogicAndConts(), NBNodeShapeComputer::computeNodeShapeDefault(), NBNodeShapeComputer::computeNodeShapeSmall(), NBNodeTypeComputer::computeNodeTypes(), NBRampsComputer::computeRamps(), RODFNet::computeRoutesFor(), MSLaneChanger::computeSafeOppositeLength(), NBTrafficLightLogicCont::computeSingleLogic(), NBNode::computeSmoothShape(), MSLCM_LC2013::computeSpeedLat(), MSLCM_SL2015::computeSpeedLat(), MSDevice_SSM::computeSSMs(), MSLaneChanger::computeSurplusGap(), NBTurningDirectionsComputer::computeTurnDirectionsForNode(), MSVehicle::Manoeuvre::configureEntryManoeuvre(), MSVehicle::Manoeuvre::configureExitManoeuvre(), MSRailSignal::DriveWay::conflictLaneOccupied(), NGNet::connect(), MSRailSignal::constraintsAllow(), NEMALogic::constructTimingAndPhaseDefs(), MSLaneChanger::continueChange(), MSLaneChangerSublane::continueChangeSublane(), libsumo::Helper::convertCartesianToRoadMap(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), NBLoadedSUMOTLDef::copyIndices(), NBOwnTLDef::corridorLike(), MSSOTLWaveTrafficLightLogic::countVehicles(), MSSOTLE2Sensors::countVehicles(), MSDevice_SSM::createEncounters(), GNETLSEditorFrame::TLSDefinition::createTLS(), GUINet::createTLWrapper(), MSDevice_Taxi::customerArrived(), NBNodeCont::customTLID(), MSDevice_ToC::deactivateDeliberateLCs(), MSRailSignal::DriveWay::deadlockLaneOccupied(), libsumo::Helper::debugPrint(), MSLCM_SL2015::decideDirection(), MSActuatedTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decideNextPhase(), MSSOTLPolicyBasedTrafficLightLogic::decideNextPhase(), MSSwarmTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decidePolicy(), MSSwarmTrafficLightLogic::decidePolicy(), MSVehicleControl::deleteVehicle(), MSDevice_ElecHybrid::deleteVehicleFromCircuit(), MSLane::detectCollisionBetween(), MSLane::detectCollisions(), MSE3Collector::detectorUpdate(), MSLane::detectPedestrianJunctionCollision(), NIVissimDistrictConnection::dict_BuildDistrictNodes(), NIVissimDistrictConnection::dict_BuildDistricts(), MSEdge::dictionaryHint(), NBNodeCont::discardTrafficLights(), MSDispatch_Greedy::dispatch(), MSDispatch_GreedyShared::dispatch(), MSDispatch_RouteExtension::dispatch(), MSDevice_Taxi::dispatchShared(), GUILane::drawGL(), MSDevice_SSM::Encounter::Encounter(), MSAbstractLaneChangeModel::endLaneChangeManeuver(), MSE3Collector::enter(), NEMAPhase::enter(), enter(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::enterLaneAtMove(), MSVehicle::Manoeuvre::entryManoeuvreIsComplete(), MSTransportableControl::erase(), NEMALogic::error_handle_not_set(), METriggeredCalibrator::execute(), Command_SaveTLSProgram::execute(), Command_SaveTLSState::execute(), Command_SaveTLSSwitches::execute(), Command_SaveTLSSwitchStates::execute(), Command_RouteReplacement::execute(), MSDevice_BTreceiver::BTreceiverUpdate::execute(), MSVTypeProbe::execute(), MSPModel_Striping::MovePedestrians::execute(), MSCalibrator::execute(), MSVehicle::executeFractionalMove(), MSVehicle::executeMove(), MSLane::executeMovements(), NBNodeCont::extract(), NBTrafficLightLogicCont::extract(), MSDevice_SSM::filterByConflictType(), LIBSUMO_NAMESPACE::Person::filterReservation(), NBLoadedSUMOTLDef::finalChecks(), MSCFModel::finalizeSpeed(), MSCFModel_Daniel1::finalizeSpeed(), MSCFModel_EIDM::finalizeSpeed(), MSLaneChanger::findCandidate(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), MSRailSignal::DriveWay::findFlankProtection(), MSDevice_SSM::findFoeConflictLane(), MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::flushConflicts(), MSDevice_SSM::flushGlobalMeasures(), MSCFModel_CACC::followSpeed(), MSCFModel_EIDM::followSpeed(), MSCFModel_W99::followSpeed(), NBTrafficLightDefinition::forbids(), MSLaneChanger::foundHilltop(), MSCFModel_EIDM::freeSpeed(), NBNodeCont::generateNodeClusters(), MSDevice_Tripinfo::generateOutput(), MSStopOut::generateOutputForUnfinished(), GUITrafficLightLogicWrapper::getActiveTLLogic(), RODFDetectorCon::getAggFlowFor(), RODFDetectorCon::getAnyDetectorForEdge(), MSPModel_Striping::getArbitraryPath(), MSVehicle::getBackPosition(), MSVehicle::getBackPositionOnLane(), LIBSUMO_NAMESPACE::Vehicle::getBestLanes(), MSLaneChanger::getBestLanesOpposite(), NBOwnTLDef::getBestPair(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), MSVehicle::getCenterOnEdge(), MSDevice_Battery::getChargingStationID(), MSRailSignal::getClickableTLLinkID(), GUIVehicle::getColorValue(), MSLaneChanger::getColumnleader(), MSActuatedTrafficLightLogic::getConditions(), LIBSUMO_NAMESPACE::TrafficLight::getConstraintsByFoe(), LIBSUMO_NAMESPACE::TrafficLight::getControlledLinks(), MSLane::getCriticalLeader(), MSCalibrator::getCurrentStateInterval(), NBNodeShapeComputer::getDefaultRadius(), MSLink::getDescription(), MSStop::getDescription(), NBTrafficLightDefinition::getDescription(), MSStageTrip::getDestinationDescription(), GUIPerson::getDestinationEdgeID(), GUIPerson::getDestinationStopID(), MSDevice_SSM::getDetectionRange(), RODFNet::getDetectorEdge(), MSActuatedTrafficLightLogic::getDetectorPriority(), MSRailSignal::LinkInfo::getDriveWay(), MSSimpleTrafficLightLogic::getEarliest(), GUIPerson::getEdgeID(), GUIMEVehicle::getEdgeID(), MSMeanData::getEdgeID(), LIBSUMO_NAMESPACE::RouteProbe::getEdgeID(), MSDevice_SSM::getExtraTime(), MSPModel_Remote::getFirstPedestrianLane(), MSLane::getFirstVehicleInformation(), MSBaseVehicle::getFlowID(), MSLane::getFollower(), MSLane::getFollowersOnConsecutive(), GUIPerson::getFromEdgeID(), MSPModel_Striping::PStateVehicle::getID(), NBEdge::getID(), LIBSUMO_NAMESPACE::Vehicle::getJunctionFoes(), MSRailSignal::getJunctionLinkID(), RORouteHandler::getJunctionTaz(), LIBSUMO_NAMESPACE::Calibrator::getLaneID(), getLastFreePos(), getLastFreePosWithReservation(), MSLane::getLastVehicleInformation(), MSSimpleTrafficLightLogic::getLatest(), MSVehicle::getLatOffset(), MSLane::getLeader(), MSLink::getLeaderInfo(), MSLane::getLeaderOnConsecutive(), MSLaneChangerSublane::getLeaders(), MSLane::getLeadersOnConsecutive(), MSLink::getLengthBeforeCrossing(), MSDevice_BTsender::getLocation(), MSDevice_SSM::getMDRAC_PRT(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForInputLanes(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForOutputLanes(), MSDevice_SSM::getMeasuresAndThresholds(), NIImporter_VISUM::getNamedEdgeContinuating(), MSPModel_Striping::getNeighboringObstacles(), MSCalibrator::getNewVehicleID(), MSPerson::getNextEdge(), MSPModel_Striping::getNextLane(), MSPModel_Striping::getNextLaneObstacles(), LIBSUMO_NAMESPACE::Vehicle::getNextLinks(), MSLaneChanger::getOncomingOppositeVehicle(), MSLane::getOppositeFollower(), MSLane::getOppositeLeader(), MSStageTrip::getOriginDescription(), MSDevice_SSM::getOutputFilename(), MSDevice_ElecHybrid::getOverheadWireSegmentID(), MSOverheadWire::getOverheadWireSegmentName(), MSDevice_ToC::getParameter(), MSActuatedTrafficLightLogic::getParameter(), NEMALogic::getParameter(), LIBSUMO_NAMESPACE::Simulation::getParameter(), GUITrafficLightLogicWrapper::getParameterWindow(), GUIContainer::getParameterWindow(), GUILane::getParameterWindow(), GUILane::getParentName(), MSLane::getPartialBehind(), MSSimpleDriverState::getPerceivedHeadway(), MSSimpleDriverState::getPerceivedSpeedDifference(), MSSOTLTrafficLightLogic::getPhaseIndexWithMaxCTS(), MSSwarmTrafficLightLogic::getPheromoneForInputLanes(), MSSwarmTrafficLightLogic::getPheromoneForOutputLanes(), PolygonDynamics::getPolygonID(), GUITrafficLightLogicWrapper::getPopUpMenu(), NLTriggerBuilder::getPosition(), NLDetectorBuilder::getPositionChecking(), MSBaseVehicle::getPrefixedParameter(), MSCFModel_CC::getRadarMeasurements(), MSLaneChanger::getRealFollower(), MSLaneChanger::getRealLeader(), LIBSUMO_NAMESPACE::Vehicle::getRoadID(), MSLCHelper::getRoundaboutDistBonus(), LIBSUMO_NAMESPACE::Vehicle::getRouteID(), LIBSUMO_NAMESPACE::Calibrator::getRouteProbeID(), MSBaseVehicle::getRouteValidity(), GUIBaseVehicle::getScaleValue(), MSAbstractLaneChangeModel::getShadowLane(), MSBaseVehicle::getSingularType(), MSTransportable::getSingularType(), LIBSUMO_NAMESPACE::Person::getStage(), MSPerson::MSPersonStage_Walking::getStageSummary(), MSStageDriving::getStageSummary(), MSStageTranship::getStageSummary(), MSStageWaiting::getStageSummary(), MSDevice_Taxi::getStopLane(), MSNet::getStoppingPlaceID(), MSDevice::getStringParam(), MSLane::getSurroundingVehicles(), MSActuatedTrafficLightLogic::getTarget(), LIBSUMO_NAMESPACE::Vehicle::getTeleportingIDList(), MSRailSignal::getTLLinkID(), NIImporter_OpenDrive::getTLSSecure(), MSDevice_ElecHybrid::getTractionSubstationID(), PedestrianEdge< E, L, N, V >::getTravelTime(), MSVehicle::getUpcomingLanesUntil(), MSLane::getUpcomingLinks(), MSDevice_SSM::getUpstreamVehicles(), LIBSUMO_NAMESPACE::Person::getVehicle(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), GUIPerson::getVehicleID(), MSPModel_Striping::getVehicleObstacles(), MSDevice_SSM::getVehiclesOnJunction(), MSRailSignalConstraint::getVehID(), MSStageDriving::getWaitingDescription(), MSEdge::getWaitingVehicle(), MSLink::getZipperSpeed(), GNEEdge::GNEEdge(), NBNode::guessCrossings(), RODFDetectorCon::guessEmptyFlows(), NBNodeCont::guessTLs(), GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow(), MSLane::handleCollisionBetween(), MSLane::handleIntermodalCollisionBetween(), MSRailSignal::hasInsertionConstraint(), MSRailSignal::hasOncomingRailTraffic(), MSBaseVehicle::hasValidRouteStart(), MSVehicle::hasValidRouteStart(), MSBaseVehicle::haveValidStopEdges(), LIBSUMO_NAMESPACE::POI::highlight(), LIBSUMO_NAMESPACE::Vehicle::highlight(), MSIdling_Stop::idle(), MSIdling_RandomCircling::idle(), MSIdling_TaxiStand::idle(), MSLink::ignoreFoe(), MSVehicle::ignoreFoe(), MSVehicle::ignoreRed(), MSVehicle::Influencer::implicitDeltaPosRemote(), NBNode::indirectLeftShape(), MSLCM_LC2013::inform(), MSLCM_SL2015::inform(), MSLCM_SL2015::informFollower(), MSLCM_LC2013::informFollower(), MSLCM_SL2015::informLeader(), MSLCM_LC2013::informLeader(), MSCalibrator::init(), NBEdge::init(), MSDelayBasedTrafficLightLogic::init(), MSDeterministicHiLevelTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), MSTrafficLightLogic::init(), MSActuatedTrafficLightLogic::init(), MSRailSignal::init(), NEMALogic::init(), MSActuatedTrafficLightLogic::initAttributeOverride(), MSE2Collector::initAuxiliaries(), MESegment::initialise(), MSTrafficLightLogic::initMesoTLSPenalties(), NBOwnTLDef::initNeedsContRelation(), PolygonDynamics::initTrackedPosition(), NIImporter_SUMO::initTrafficLightLogic(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), NBDistrictCont::insert(), NBNodeCont::insert(), NBTrafficLightLogicCont::insert(), NIImporter_OpenStreetMap::insertEdge(), MSCFModel_IDM::insertionFollowSpeed(), MSBaseVehicle::insertStop(), MSLane::insertVehicle(), MSEdge::insertVehicle(), MSPModel_Striping::insertWalkArePaths(), MSLane::integrateNewVehicles(), IntermodalNetwork< E, L, N, V >::IntermodalNetwork(), GNEJunction::invalidateTLS(), NBNode::invalidateTLS(), MSTLLogicControl::isActive(), MSPedestrianPushButton::isActiveForEdge(), MSPedestrianPushButton::isActiveOnAnySideOfTheRoad(), RODFNet::isAllowed(), RODFNet::isDestination(), RODFNet::isFalseSource(), MSLane::isInsertionSuccess(), MSBaseVehicle::isJumping(), MSVehicle::isLeader(), MESegment::isOpen(), RODFNet::isSource(), NIImporter_VISUM::isSplitEdge(), MSSOTLTrafficLightLogic::isThresholdPassed(), RORoute::isValid(), MSStageDriving::isWaitingFor(), MESegment::jamThresholdForSpeed(), NBNodeCont::joinNodeCluster(), MSVehicle::joinTrainPartFront(), MSAbstractLaneChangeModel::laneChangeOutput(), MSVehicle::lateralDistanceToLane(), MSE3Collector::leave(), MSE3Collector::leaveFront(), MSVehicle::leaveLane(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), MSPedestrianPushButton::loadCrossingEdgeMap(), NIImporter_OpenDrive::loadNetwork(), MSPedestrianPushButton::loadPushButtons(), MSVehicle::loadState(), MSVehicleTransfer::loadState(), MSActuatedTrafficLightLogic::loadState(), ODDistrictCont::makeDistricts(), MSE2Collector::makeMoveNotification(), MSE2Collector::makeVehicleInfo(), NWWriter_OpenDrive::mapmatchRoadObjects(), MEVehicle::mayProceed(), MSSOTLE2Sensors::meanVehiclesSpeed(), METriggeredCalibrator::METriggeredCalibrator(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), MSPModel_Striping::PState::moveTo(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), MSDevice_ToC::MRMExecutionStep(), MSChargingStation::MSChargingStation(), MSDevice_Battery::MSDevice_Battery(), MSDevice_ElecHybrid::MSDevice_ElecHybrid(), MSDevice_Taxi::MSDevice_Taxi(), MSDevice_ToC::MSDevice_ToC(), MSE2Collector::MSE2Collector(), MSE2Collector::MSE2Collector(), MSLCM_LC2013::MSLCM_LC2013(), MSParkingArea(), MSSimpleDriverState::MSSimpleDriverState(), MSLCM_SL2015::mustOvertakeStopped(), NBLoadedTLDef::myCompute(), NIImporter_SUMO::myEndElement(), MSStateHandler::myStartElement(), MSCalibrator::myStartElement(), MSLaneSpeedTrigger::myStartElement(), MSTriggeredRerouter::myStartElement(), MSPModel_Striping::nextBlocking(), MSDevice_ElecHybrid::notifyEnter(), MSE2Collector::notifyEnter(), MSDevice_Bluelight::notifyEnter(), MSDevice_BTreceiver::notifyEnter(), MSDevice_BTsender::notifyEnter(), MSDevice_Example::notifyEnter(), MSDevice_GLOSA::notifyEnter(), MSDevice_SSM::notifyEnter(), MSDevice_Tripinfo::notifyEnter(), MSMeanData::MeanDataValues::notifyEnter(), MSMeanData::MeanDataValueTracker::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), MSCalibrator::VehicleRemover::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSE3Collector::MSE3EntryReminder::notifyEnter(), MSE3Collector::MSE3LeaveReminder::notifyEnter(), MSDevice_ElecHybrid::notifyLeave(), MSDevice_Bluelight::notifyLeave(), MSDevice_BTreceiver::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_Example::notifyLeave(), MSDevice_SSM::notifyLeave(), MSDevice_Transportable::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSE2Collector::notifyLeave(), MSE3Collector::MSE3EntryReminder::notifyLeave(), MSE3Collector::MSE3LeaveReminder::notifyLeave(), MSDevice_ElecHybrid::notifyMove(), MSDevice_Battery::notifyMove(), MSDevice_Bluelight::notifyMove(), MSDevice_BTreceiver::notifyMove(), MSDevice_BTsender::notifyMove(), MSDevice_Example::notifyMove(), MSDevice_GLOSA::notifyMove(), MSDevice_SSM::notifyMove(), MSDevice_StationFinder::notifyMove(), MSE2Collector::notifyMove(), MSInductLoop::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSDevice_ToC::notifyMove(), MSE3Collector::MSE3LeaveReminder::notifyMove(), MSE3Collector::MSE3EntryReminder::notifyMove(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), GNETLSEditorFrame::TLSDefinition::onCmdResetCurrentProgram(), MSVehicle::onRemovalFromNet(), MSLink::opened(), RORouteHandler::openRoute(), MSLane::incoming_lane_priority_sorter::operator()(), MSLane::outgoing_lane_priority_sorter::operator()(), MSEdge::transportable_by_position_sorter::operator()(), NBNetBuilder::by_id_sorter::operator()(), NBNode::nodes_by_id_sorter::operator()(), RODFNet::idComp::operator()(), MSLaneChangerSublane::outputLCStarted(), NIImporter_VISUM::parse_Connectors_legacy(), NIImporter_VISUM::parse_EdgePolys(), NIImporter_VISUM::parse_Lanes(), NIImporter_VISUM::parse_stopPoints(), NIImporter_VISUM::parse_Turns(), NLTriggerBuilder::parseAndBuildCalibrator(), NLTriggerBuilder::parseAndBuildOverheadWireSection(), MSRouteHandler::parseWalkPositions(), NBLoadedSUMOTLDef::patchIfCrossingsAdded(), MSLCM_LC2013::patchSpeed(), MSLCM_SL2015::patchSpeed(), MSRoutingEngine::patchSpeedForTurns(), NBLoadedTLDef::SignalGroup::patchTYellow(), MSCFModel_CC::performAutoLaneChange(), MSVehicle::planMove(), MSVehicle::planMoveInternal(), MSLane::planMovements(), PolygonDynamics::PolygonDynamics(), MSInternalJunction::postloadInit(), MSRightOfWayJunction::postloadInit(), MSVehicle::Influencer::postProcessRemoteControl(), MSLCM_SL2015::prepareStep(), MSDevice_Taxi::prepareStop(), MSLCM_SL2015::preventSliding(), MSAbstractLaneChangeModel::primaryLaneChanged(), AGStreet::print(), MSStageDriving::proceed(), MSDevice_SSM::processEncounters(), MSVehicle::processLaneAdvances(), MSVehicle::processLinkApproaches(), MSVehicle::processNextStop(), NIXMLNodesHandler::processNodeType(), TraCIServerAPI_Vehicle::processSet(), MSVehicle::processTraCISpeedControl(), NIXMLNodesHandler::processTrafficLightDefinitions(), MSDelayBasedTrafficLightLogic::proposeProlongation(), NBNodeCont::pruneClusterFringe(), NBNodeCont::pruneSlipLaneNodes(), MSPModel_Striping::PState::PState(), MSPModel_Striping::PState::PState(), MSOffTrafficLightLogic::rebuildPhase(), NBEdge::recheckLanes(), NBEdgeCont::recheckPostProcessConnections(), NIImporter_OpenStreetMap::reconstructLayerElevation(), NBLoadedSUMOTLDef::reconstructLogic(), NBEdge::reduceGeometry(), MSNet::registerCollision(), MSRailSignalControl::registerProtectedDriveway(), MSLink::removeApproaching(), LIBSUMO_NAMESPACE::TrafficLight::removeConstraints(), MSVehicle::removePassedDriveItems(), MSCalibrator::removePending(), MSDispatch::removeReservation(), GNEJunction::removeTLSConnections(), NBNodeCont::rename(), NBTrafficLightLogicCont::rename(), RORouteDef::repairCurrentRoute(), GNEJunction::replaceIncomingConnections(), MSBaseVehicle::replaceParkingArea(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::replaceRouteEdges(), MSBaseVehicle::replaceStop(), MSTransportable::replaceVehicleType(), NIImporter_DlrNavteq::TrafficlightsHandler::report(), NLEdgeControlBuilder::reportCurrentEdgeOrLane(), MSDevice_SSM::requestsTrajectories(), MSDevice_ToC::requestToC(), MSPerson::reroute(), MSBaseVehicle::reroute(), MSRailSignal::LinkInfo::reroute(), GUIVehicle::rerouteDRTStop(), MSTriggeredRerouter::rerouteParkingArea(), MSVehicle::rerouteParkingArea(), MSTransportable::rerouteParkingArea(), MSDevice_ToC::resetDeliberateLCs(), MSLane::resetManeuverReservation(), MSLane::resetPartialOccupation(), MSDevice_Bluelight::resetVehicle(), MSLaneChanger::resolveDeadlock(), LIBSUMO_NAMESPACE::Vehicle::resume(), MEVehicle::resumeFromStopping(), MSVehicle::resumeFromStopping(), MSRailSignal::retrieveDriveWay(), NIImporter_OpenDrive::retrieveSignalEdges(), RODFNet::revalidateFlows(), NBRailwayTopologyAnalyzer::reverseEdges(), MSStageDriving::routeOutput(), MSStageTranship::routeOutput(), MSStageTrip::routeOutput(), MSStageWaiting::routeOutput(), MSLane::safeInsertionSpeed(), RONet::saveAndRemoveRoutesUntil(), ROPerson::Ride::saveAsXML(), ROVehicle::saveAsXML(), MSLCM_LC2013::saveBlockerLength(), MSLane::saveState(), MESegment::saveState(), MSDevice::saveState(), MSDevice_Routing::saveState(), MSDevice_Transportable::saveState(), MSDevice_Tripinfo::saveState(), MSDevice_Vehroutes::saveState(), MSTransportableDevice_Routing::saveState(), MSSimpleTrafficLightLogic::saveState(), MSStageDriving::saveState(), MSCalibrator::scheduleRemoval(), GUIVehicle::selectBlockingFoes(), MSE2Collector::selectLanes(), MSVehicle::setAngle(), MSLink::setApproaching(), MSLink::setApproaching(), MSVehicle::setApproachingForAllLinks(), MSStageTrip::setArrived(), NBNodeCont::setAsTLControlled(), MSSimpleDriverState::setAwareness(), MSLane::setBidiLane(), MSEdge::setBidiLanes(), NLEdgeControlBuilder::setDefaultStopOffset(), MSBaseVehicle::setDepartAndArrivalEdge(), MSCalibrator::setFlow(), NBEdge::setGeometry(), MSBaseVehicle::setJunctionModelParameter(), MSTransportable::setJunctionModelParameter(), MSAbstractLaneChangeModel::setManeuverDist(), MSLane::setManeuverReservation(), MSDevice_Battery::setMaximumBatteryCapacity(), NBEdge::setNodeBorder(), MSLane::setOpposite(), MSLCM_SL2015::setOwnState(), MSDevice_ToC::setParameter(), MSActuatedTrafficLightLogic::setParameter(), MSSimpleTrafficLightLogic::setParameter(), NEMALogic::setParameter(), MSCFModel_CACC::setParameter(), MSCFModel_CC::setParameter(), MSLane::setPartialOccupation(), MSDevice_Battery::setPowerMax(), NBEdgePriorityComputer::setPriorityJunctionPriorities(), libsumo::Helper::setRemoteControlled(), libsumo::Helper::setRemoteControlled(), MSLink::setRequestInformation(), LIBSUMO_NAMESPACE::Vehicle::setRoute(), LIBSUMO_NAMESPACE::Vehicle::setRouteID(), MSDevice_Battery::setStoppingThreshold(), NBLoadedSUMOTLDef::setTLControllingInformation(), NBLoadedTLDef::setTLControllingInformation(), NBOwnTLDef::setTLControllingInformation(), NBTrafficLightLogicCont::setTLControllingInformation(), MSStageDriving::setVehicle(), MSOverheadWire::setVoltage(), NBEdge::shiftPositionAtNode(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSVehicle::slowDownForSchedule(), MSLane::sortManeuverReservations(), IntermodalNetwork< E, L, N, V >::splitEdge(), MSLaneChangerSublane::startChangeSublane(), MSStopOut::stopEnded(), MSCFModel_EIDM::stopSpeed(), MSStopOut::stopStarted(), MSLane::succLinkSec(), LIBSUMO_NAMESPACE::TrafficLight::swapConstraints(), MSDevice_ToC::switchHolderType(), GNETLSEditorFrame::TLSDefinition::switchProgram(), GUITrafficLightLogicWrapper::switchTLSLogic(), MELoop::teleportVehicle(), MSDevice_ToC::ToCPreparationStep(), libsumo::Helper::TransportableStateListener::transportableStateChanged(), TraCIServer::transportableStateChanged(), MSDevice_ToC::triggerDownwardToC(), MSDevice_ToC::triggerMRM(), MSDevice_ToC::triggerUpwardToC(), MSTransportable::tripInfoOutput(), MSPerson::MSPersonStage_Access::tripInfoOutput(), METriggeredCalibrator::tryEmit(), MSSOTLTrafficLightLogic::trySwitch(), MSActuatedTrafficLightLogic::trySwitch(), NEMALogic::trySwitch(), MSDevice_SSM::update(), MSSimpleDriverState::update(), PolygonDynamics::update(), MSDevice_SSM::updateAndWriteOutput(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), MSLCM_SL2015::updateCFRelated(), LIBSUMO_NAMESPACE::TrafficLight::updateConstraints(), MSSOTLTrafficLightLogic::updateCTS(), NLEdgeControlBuilder::updateCurrentLaneStopOffset(), MSVehicle::updateDriveItems(), MSRailSignal::updateDriveway(), MSDevice_SSM::updateEncounter(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), MSVehicle::updateFurtherLanes(), MSLCM_SL2015::updateGaps(), GNENetHelper::AttributeCarriers::updateJunctionID(), MSDevice_Taxi::updateMove(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSVehicle::Influencer::updateRemoteControlRoute(), MSSwarmTrafficLightLogic::updateSensitivities(), MSAbstractLaneChangeModel::updateShadowLane(), MSVehicle::updateState(), MSAbstractLaneChangeModel::updateTargetLane(), MSDevice_BTreceiver::BTreceiverUpdate::updateVisibility(), MSDevice_SSM::useGeoCoords(), NEMALogic::validate_timing(), NBNodeTypeComputer::validateRailCrossings(), libsumo::Helper::VehicleStateListener::vehicleStateChanged(), TraCIServer::vehicleStateChanged(), MSDynamicShapeUpdater::vehicleStateChanged(), MSLCM_LC2013::wantsChange(), MSLCM_SL2015::wantsChange(), MSLCM_SL2015::wantsChangeSublane(), MSInstantInductLoop::write(), NBParking::write(), MSElecHybridExport::write(), MSFCDExport::write(), MSBatteryExport::write(), MSEmissionExport::write(), MSRailSignalConstraint_Predecessor::write(), MSElecHybridExport::writeAggregated(), MSLink::writeApproaching(), MSRailSignal::writeBlocks(), NWWriter_DlrNavteq::writeConnectedLanes(), NWWriter_SUMO::writeDistrict(), MSMeanData::writeEdge(), NWWriter_SUMO::writeEdge(), MSFullExport::writeEdge(), MSXMLRawOut::writeEdge(), MSRoute::writeEdgeIDs(), NWWriter_XML::writeEdgesAndConnections(), RODFDetector::writeEmitterDefinition(), RODFDetectorCon::writeEmitterPOIs(), RODFDetectorCon::writeEmitters(), RODFDetectorCon::writeEndRerouterDetectors(), NWWriter_OpenDrive::writeInternalEdge(), ROMAAssignments::writeInterval(), NWWriter_SUMO::writeJunction(), MSFullExport::writeLane(), MSQueueExport::writeLane(), MSXMLRawOut::writeLane(), MSDevice_SSM::writeLanesPositions(), NWWriter_DlrNavteq::writeLinksUnsplitted(), NWWriter_OpenDrive::writeNetwork(), NWWriter_XML::writeNodes(), NWWriter_DlrNavteq::writeNodesUnsplitted(), MSTractionSubstation::writeOut(), MSDevice_ToC::writeOutput(), MSNet::writeOutput(), MSDevice_Vehroutes::writeOutput(), MSOverheadWire::writeOverheadWireSegmentOutput(), MSDevice_SSM::writePositions(), NWWriter_OpenDrive::writeRoadObjectPOI(), NWWriter_OpenDrive::writeRoadObjectPoly(), NWWriter_SUMO::writeRoundabout(), NWWriter_OpenDrive::writeSignals(), RODFDetectorCon::writeSpeedTrigger(), NWWriter_SUMO::writeTrafficLight(), NWWriter_DlrNavteq::writeTrafficSignals(), MSFCDExport::writeTransportable(), MSXMLRawOut::writeTransportable(), RODFDetectorCon::writeValidationDetectors(), MSXMLRawOut::writeVehicle(), MSAmitranTrajectories::writeVehicle(), MSFullExport::writeVehicles(), SUMOPolygon::writeXML(), PointOfInterest::writeXML(), MSE2Collector::writeXMLOutput(), MSInductLoop::writeXMLOutput(), MSCalibrator::writeXMLOutput(), MSRouteProbe::writeXMLOutput(), MSLaneChanger::yieldToDeadlockOncoming(), MSLaneChanger::yieldToOppositeWaiting(), MSCalibrator::~MSCalibrator(), MSDevice_Transportable::~MSDevice_Transportable(), MSLaneSpeedTrigger::~MSLaneSpeedTrigger(), MSTriggeredRerouter::~MSTriggeredRerouter(), and RONet::~RONet().
|
inlinestaticinherited |
get an identifier for Named-like object which may be Null
Definition at line 67 of file Named.h.
Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLaneChanger::avoidDeadlock(), MSLaneChanger::changeOpposite(), MSLaneChanger::checkChangeOpposite(), MSRailSignal::DriveWay::checkFlanks(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), AStarRouter< E, V >::compute(), DijkstraRouter< E, V >::compute(), NBOwnTLDef::computeLogicAndConts(), MSRailSignal::DriveWay::conflictLaneOccupied(), NBPTLineCont::constructRoute(), MSLaneChanger::continueChange(), MSLane::detectCollisions(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::executeMove(), NBRailwayTopologyAnalyzer::extendDirectionPriority(), MSRailSignal::DriveWay::findProtection(), NBPTLineCont::findWay(), MSCFModel_CACC::followSpeed(), MSCFModel_W99::followSpeed(), MSStopOut::generateOutputForUnfinished(), MSVehicle::getBackPositionOnLane(), NBOwnTLDef::getBestCombination(), NBOwnTLDef::getBestPair(), MSVehicle::getCenterOnEdge(), MSLaneChanger::getColumnleader(), NBEdge::Connection::getDescription(), MSLane::getFollowersOnConsecutive(), GUIVehicle::getLaneID(), LIBSUMO_NAMESPACE::Person::getLaneID(), MSVehicle::getLatOffset(), MSLane::getLeaderOnConsecutive(), MSLaneChanger::getOncomingOppositeVehicle(), MSLaneChanger::getRealLeader(), GUIVehicle::getShadowLaneID(), GUIVehicle::getTargetLaneID(), MSDevice_SSM::getVehiclesOnJunction(), NBEdgeCont::guessRoundabouts(), MSCFModel_IDM::insertionFollowSpeed(), MSLane::isInsertionSuccess(), MESegment::isOpen(), joinNamedToString(), joinNamedToString(), joinNamedToStringSorting(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), libsumo::Helper::moveToXYMap_matchingRoutePosition(), MSDevice_Bluelight::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSDevice_Bluelight::notifyLeave(), MSVehicle::Influencer::postProcessRemoteControl(), MSVehicle::processNextStop(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::reroute(), MSTriggeredRerouter::rerouteParkingArea(), MSRailSignal::DriveWay::reserve(), MSLaneChanger::resolveDeadlock(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLaneChangerSublane::startChangeSublane(), MSLeaderInfo::toString(), MSLeaderDistanceInfo::toString(), MSCriticalFollowerDistanceInfo::toString(), toString(), toString(), toString(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), MSAbstractLaneChangeModel::updateShadowLane(), and MSLaneChanger::yieldToDeadlockOncoming().
double MSParkingArea::getInsertionPosition | ( | const SUMOVehicle & | forVehicle | ) | const |
Returns the insertion position of a parked vehicle.
Definition at line 237 of file MSParkingArea.cpp.
References GIVEN, myDepartPos, myDepartPosDefinition, and mySpaceOccupancies.
Referenced by MSVehicleTransfer::checkInsertions().
|
inherited |
Returns the lane this stop is located at.
Definition at line 71 of file MSStoppingPlace.cpp.
References MSStoppingPlace::myLane.
Referenced by addLotEntry(), MSTractionSubstation::addOverheadWireClampToCircuit(), MSTractionSubstation::addOverheadWireSegmentToCircuit(), MSTriggeredRerouter::addParkValues(), MSRouteHandler::addPersonTrip(), MSRouteHandler::addRideOrTransport(), MSRouteHandler::addStop(), libsumo::Helper::buildStopParameters(), MSStageDriving::canLeaveVehicle(), MSPerson::checkAccess(), GUIOverheadWire::drawGL(), libsumo::Helper::findObjectShape(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSNet::getStoppingPlaceID(), MSIdling_TaxiStand::idle(), MSStageDriving::loadState(), MSDevice_ElecHybrid::notifyMove(), MSDevice_StationFinder::notifyMove(), GUIViewTraffic::onGamingClick(), NLTriggerBuilder::parseAndBuildOverheadWireSection(), MSRouteHandler::parseWalkPositions(), MSStageDriving::proceed(), MSBaseVehicle::replaceParkingArea(), GUIVehicle::rerouteDRTStop(), MSTriggeredRerouter::rerouteParkingArea(), MSVehicle::rerouteParkingArea(), MSTransportable::rerouteParkingArea(), MSDevice_ToC::triggerMRM(), and MSOverheadWire::writeOverheadWireSegmentOutput().
int MSParkingArea::getLastFreeLotAngle | ( | ) | const |
Return the angle of myLastFreeLot - the next parking lot only expected to be called after we have established there is space in the parking area.
Definition at line 157 of file MSParkingArea.cpp.
References MSParkingArea::LotSpaceDefinition::manoeuverAngle, myLastFreeLot, mySpaceOccupancies, and MSParkingArea::LotSpaceDefinition::sideIsLHS.
Referenced by MSVehicle::Manoeuvre::configureEntryManoeuvre().
double MSParkingArea::getLastFreeLotGUIAngle | ( | ) | const |
Return the GUI angle of myLastFreeLot - the angle the GUI uses to rotate into the next parking lot as above, only expected to be called after we have established there is space in the parking area.
Definition at line 170 of file MSParkingArea.cpp.
References DEG2RAD, MSParkingArea::LotSpaceDefinition::manoeuverAngle, myLastFreeLot, and mySpaceOccupancies.
Referenced by MSVehicle::Manoeuvre::configureEntryManoeuvre().
|
inlineinherited |
Definition at line 180 of file MSStoppingPlace.h.
References MSStoppingPlace::myLastFreePos.
Referenced by getLastFreePosWithReservation(), GUIBusStop::getParameterWindow(), GUIChargingStation::getParameterWindow(), and MSStoppingPlace::getStoppingPosition().
double MSParkingArea::getLastFreePos | ( | const SUMOVehicle & | forVehicle, |
double | brakePos = 0 |
||
) | const |
Returns the last free position on this stop.
Definition at line 184 of file MSParkingArea.cpp.
References DEBUG_COND2, Named::getID(), MSVehicleType::getMinGap(), SUMOTrafficObject::getVehicleType(), MIN2(), myCapacity, MSStoppingPlace::myEndPos, MSStoppingPlace::myEndPositions, MSStoppingPlace::myLastFreePos, mySpaceOccupancies, and SIMTIME.
Referenced by MSTriggeredRerouter::addParkValues(), and MSStop::getEndPos().
double MSParkingArea::getLastFreePosWithReservation | ( | SUMOTime | t, |
const SUMOVehicle & | forVehicle, | ||
double | brakePos | ||
) |
Returns the last free position on this stop including reservatiosn from the current lane and time step.
Definition at line 429 of file MSParkingArea.cpp.
References DEBUG_COND2, getCapacity(), Named::getID(), SUMOTrafficObject::getLane(), MSStoppingPlace::getLastFreePos(), MSVehicleType::getLength(), MSVehicleType::getMinGap(), getOccupancy(), SUMOTrafficObject::getVehicleType(), MAX2(), MIN2(), MSStoppingPlace::myBegPos, myCapacity, MSStoppingPlace::myEndPos, MSStoppingPlace::myLane, myNumAlternatives, myReservationMaxLength, myReservations, myReservationTime, mySpaceOccupancies, and SIMTIME.
Referenced by MSVehicle::planMoveInternal().
int MSParkingArea::getLastStepOccupancy | ( | ) | const |
Returns the area occupancy at the end of the last simulation step.
Definition at line 531 of file MSParkingArea.cpp.
References myLastStepOccupancy.
Referenced by MSTriggeredRerouter::rerouteParkingArea().
double MSParkingArea::getLength | ( | ) | const |
Returns the lot rectangle length.
Definition at line 495 of file MSParkingArea.cpp.
References myLength.
Referenced by addLotEntry(), and NLTriggerBuilder::parseAndAddLotEntry().
int MSParkingArea::getLotIndex | ( | const SUMOVehicle * | veh | ) | const |
compute lot for this vehicle
Definition at line 299 of file MSParkingArea.cpp.
References MSParkingArea::LotSpaceDefinition::endPos, SUMOTrafficObject::getPositionOnLane(), myLastFreeLot, MSStoppingPlace::myLastFreePos, myOnRoad, mySpaceOccupancies, and MSParkingArea::LotSpaceDefinition::vehicle.
Referenced by enter(), and MSVehicle::processNextStop().
int MSParkingArea::getManoeuverAngle | ( | const SUMOVehicle & | forVehicle | ) | const |
Return the manoeuver angle of the lot where the vehicle is parked.
Definition at line 285 of file MSParkingArea.cpp.
References mySpaceOccupancies.
Referenced by MSVehicle::Manoeuvre::configureExitManoeuvre().
|
inherited |
Definition at line 299 of file MSStoppingPlace.cpp.
References MSStoppingPlace::myName.
Referenced by GUIBusStop::drawGL(), GUIChargingStation::drawGL(), GUIParkingArea::drawGL(), LIBSUMO_NAMESPACE::Simulation::getParameter(), GUIBusStop::getParameterWindow(), GUIChargingStation::getParameterWindow(), GUIParkingArea::getParameterWindow(), MSStageDriving::getStageSummary(), MSStageWaiting::getStageSummary(), MSStageDriving::routeOutput(), MSStageTranship::routeOutput(), and MSStageWaiting::routeOutput().
int MSParkingArea::getNumAlternatives | ( | ) | const |
get number alternatives
Definition at line 542 of file MSParkingArea.cpp.
References myNumAlternatives.
Referenced by GUIParkingArea::getParameterWindow().
|
inlineinherited |
get number of persons waiting at this stop
Definition at line 222 of file MSStoppingPlace.h.
References MSStoppingPlace::myWaitingTransportables.
Referenced by MSPModel_Striping::moveInDirectionOnLane().
int MSParkingArea::getOccupancy | ( | ) | const |
Returns the area occupancy.
Definition at line 519 of file MSParkingArea.cpp.
References myEgressBlocked, and MSStoppingPlace::myEndPositions.
Referenced by MSTriggeredRerouter::addParkValues(), computeLastFreePos(), getLastFreePosWithReservation(), GUIParkingArea::getParameterWindow(), MSVehicle::processNextStop(), MSTriggeredRerouter::rerouteParkingArea(), and updateOccupancy().
int MSParkingArea::getOccupancyIncludingBlocked | ( | ) | const |
Returns the area occupancy.
Definition at line 525 of file MSParkingArea.cpp.
References MSStoppingPlace::myEndPositions.
Referenced by LIBSUMO_NAMESPACE::Simulation::getParameter(), and MSVehicle::processNextStop().
|
virtualinherited |
Returns the value for a given key.
[in] | key | The key to ask for |
[in] | defaultValue | The default value to return if no value is stored under the key |
Reimplemented in MSActuatedTrafficLightLogic, MSSimpleTrafficLightLogic, and NEMALogic.
Definition at line 71 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NBEdge::addRestrictedLane(), FareModul::addStop(), NBEdge::append(), GUIInductLoop::buildDetectorGUIRepresentation(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice_Battery::buildVehicleDevices(), ROEdge::cacheParamRestrictions(), SUMOVTypeParameter::cacheParamRestrictions(), MSRailSignal::constraintsAllow(), GUINet::createTLWrapper(), GNEEdge::drawEdgeName(), GNEGenericData::drawFilteredAttribute(), GNEConnection::drawGL(), GUIEdge::drawGL(), EnergyParams::EnergyParams(), MSDevice_SSM::filterByConflictType(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), GUIVehicle::getColorValue(), GNEEdgeData::getColorValue(), GNEEdgeRelData::getColorValue(), GNETAZRelData::getColorValue(), GNELane::getColorValue(), GUIEdge::getColorValue(), GUILane::getColorValue(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), LIBSUMO_NAMESPACE::TrafficLight::getFutureTripIds(), MSTLLogicControl::WAUTSwitchProcedure::getGSPTime(), RORoutable::getMaxSpeed(), MSDevice_SSM::getMDRAC_PRT(), MSDevice_SSM::getMeasuresAndThresholds(), MSSOTLRequestPolicy::getMinDecisionalPhaseDuration(), GUIBaseVehicle::getOptionalName(), GUITrafficLightLogicWrapper::getOptionalName(), MSDevice_ToC::getOutputFilename(), MSDevice_SSM::getOutputFilename(), MSSimpleTrafficLightLogic::getParameter(), NEMALogic::getParameter(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSBaseVehicle::getPrefixedParameter(), GUIBaseVehicle::getScaleValue(), LIBSUMO_NAMESPACE::Vehicle::getStopParameter(), MSDevice::getStringParam(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), MSRailSignalConstraint::getVehID(), MSTriggeredRerouter::getWeight(), MSRailSignal::hasInsertionConstraint(), MSLink::ignoreFoe(), MSSOTLPhasePolicy::init(), PushButtonLogic::init(), SigmoidLogic::init(), SUMOVTypeParameter::initRailVisualizationParameters(), MSAbstractLaneChangeModel::laneChangeOutput(), NWWriter_OpenDrive::mapmatchRoadObjects(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), MSSOTLPolicy::MSSOTLPolicy(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), MSDevice_GLOSA::notifyEnter(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), GNEVType::overwriteVType(), NWWriter_OpenDrive::parseTrafficSign(), MSDevice_SSM::requestsTrajectories(), MSDevice_Bluelight::resetVehicle(), GNEEdgeData::setColor(), GNEEdgeRelData::setColor(), NBTrafficLightLogicCont::setOpenDriveSignalParameters(), NBEdge::setOrigID(), NBEdgeCont::splitAt(), LIBSUMO_NAMESPACE::TrafficLight::swapParameters(), LIBSUMO_NAMESPACE::TrafficLight::updateConstraints(), MSDevice_SSM::useGeoCoords(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::WAUTSwitchProcedure_Stretch(), MSDevice_SSM::writeLanesPositions(), NWWriter_DlrNavteq::writeLinksUnsplitted(), MSDevice_SSM::writePositions(), NWWriter_OpenDrive::writeRoadObjectPOI(), NWWriter_OpenDrive::writeRoadObjectPoly(), NWWriter_OpenDrive::writeRoadObjects(), and NWWriter_OpenDrive::writeSignals().
|
inherited |
Returns the inner key/value map.
Definition at line 126 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NIImporter_SUMO::_loadNetwork(), NBEdge::addLane(), LIBSUMO_NAMESPACE::TrafficLight::buildConstraint(), GUIParameterTableWindow::closeBuilding(), NLHandler::closeEdge(), NBTrafficLightDefinition::compute(), GNEGenericData::drawAttribute(), GNEGenericData::drawFilteredAttribute(), NLDetectorBuilder::endE3Detector(), GNEAccess::getACParametersMap(), GNECalibrator::getACParametersMap(), GNEDetector::getACParametersMap(), GNEMultiEntryExitDetector::getACParametersMap(), GNEOverheadWire::getACParametersMap(), GNEParkingSpace::getACParametersMap(), GNERerouter::getACParametersMap(), GNERouteProbe::getACParametersMap(), GNEStoppingPlace::getACParametersMap(), GNETAZ::getACParametersMap(), GNEVaporizer::getACParametersMap(), GNEVariableSpeedSign::getACParametersMap(), GNEDataInterval::getACParametersMap(), GNEDataSet::getACParametersMap(), GNEGenericData::getACParametersMap(), GNEContainer::getACParametersMap(), GNEPerson::getACParametersMap(), GNEPersonTrip::getACParametersMap(), GNERide::getACParametersMap(), GNERoute::getACParametersMap(), GNEStop::getACParametersMap(), GNETranship::getACParametersMap(), GNETransport::getACParametersMap(), GNEVehicle::getACParametersMap(), GNEVType::getACParametersMap(), GNEWalk::getACParametersMap(), GNEConnection::getACParametersMap(), GNECrossing::getACParametersMap(), GNEEdge::getACParametersMap(), GNEEdgeType::getACParametersMap(), GNEJunction::getACParametersMap(), GNELane::getACParametersMap(), GNELaneType::getACParametersMap(), GNEPOI::getACParametersMap(), GNEPoly::getACParametersMap(), MSRailSignalConstraint_Predecessor::getDescription(), NWWriter_OpenDrive::getDividerType(), GUILane::getParameterWindow(), GNESingleParametersDialog::GNESingleParametersDialog(), MSRailCrossing::init(), MSActuatedTrafficLightLogic::init(), MSDevice_Taxi::initDispatch(), MSBaseVehicle::initTransientModelParams(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), GNEEdgeData::isGenericDataVisible(), GNEEdgeRelData::isGenericDataVisible(), GNETAZRelData::isGenericDataVisible(), GNEGenericData::isVisibleInspectDeleteSelect(), NBEdge::NBEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), GUIParameterTableWindow::numParams(), GNESingleParametersDialog::onCmdReset(), GNEVType::overwriteVType(), TraCIServerAPI_TrafficLight::processGet(), Parameterised::setParameters(), LIBSUMO_NAMESPACE::TrafficLight::swapConstraints(), GNEEdgeData::writeGenericData(), GNEEdgeRelData::writeGenericData(), and GNETAZRelData::writeGenericData().
|
inherited |
Returns the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN".
Definition at line 132 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by GNEAccess::getAttribute(), GNEBusStop::getAttribute(), GNECalibrator::getAttribute(), GNECalibratorFlow::getAttribute(), GNEChargingStation::getAttribute(), GNEContainerStop::getAttribute(), GNEEntryExitDetector::getAttribute(), GNEInductionLoopDetector::getAttribute(), GNEInstantInductionLoopDetector::getAttribute(), GNELaneAreaDetector::getAttribute(), GNEMultiEntryExitDetector::getAttribute(), GNEOverheadWire::getAttribute(), GNEParkingArea::getAttribute(), GNEParkingSpace::getAttribute(), GNERerouter::getAttribute(), GNERouteProbe::getAttribute(), GNETAZ::getAttribute(), GNETAZSourceSink::getAttribute(), GNETractionSubstation::getAttribute(), GNEVaporizer::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEEdgeData::getAttribute(), GNEEdgeRelData::getAttribute(), GNETAZRelData::getAttribute(), GNEContainer::getAttribute(), GNEPerson::getAttribute(), GNERoute::getAttribute(), GNEStop::getAttribute(), GNEVehicle::getAttribute(), GNEVType::getAttribute(), GNEConnection::getAttribute(), GNEEdge::getAttribute(), GNEEdgeType::getAttribute(), GNEJunction::getAttribute(), GNELane::getAttribute(), GNELaneType::getAttribute(), GNEPOI::getAttribute(), and GNEPoly::getAttribute().
|
inlineinherited |
Returns the number of stopped vehicles waiting on this stop.
Definition at line 176 of file MSStoppingPlace.h.
References MSStoppingPlace::myEndPositions.
Referenced by MSStoppingPlace::getLastFreePos(), GUIBusStop::getParameterWindow(), and GUIChargingStation::getParameterWindow().
|
inherited |
get list of vehicles waiting at this stop
Definition at line 328 of file MSStoppingPlace.cpp.
References MSStoppingPlace::myEndPositions.
|
inherited |
For vehicles at the stop this gives the the actual stopping position of the vehicle. For all others the last free stopping position.
Definition at line 197 of file MSStoppingPlace.cpp.
References MSStoppingPlace::getLastFreePos(), and MSStoppingPlace::myEndPositions.
|
inlineinherited |
Returns the number of transportables waiting on this stop.
Definition at line 166 of file MSStoppingPlace.h.
References MSStoppingPlace::myWaitingTransportables.
Referenced by LIBSUMO_NAMESPACE::Simulation::getBusStopWaiting(), and GUIBusStop::getParameterWindow().
|
inherited |
Returns the tranportables waiting on this stop.
Definition at line 207 of file MSStoppingPlace.cpp.
References MSStoppingPlace::myWaitingTransportables.
Referenced by LIBSUMO_NAMESPACE::Simulation::getBusStopWaitingIDList(), and GUIBusStop::getParameterWindow().
|
protectedinherited |
Definition at line 173 of file MSStoppingPlace.cpp.
References MSStoppingPlace::getTransportablesAbreast(), MSStoppingPlace::myBegPos, MSStoppingPlace::myElement, and MSStoppingPlace::myEndPos.
Referenced by MSStoppingPlace::getTransportablesAbreast(), MSStoppingPlace::getWaitingPositionOnLane(), MSStoppingPlace::getWaitPosition(), GUIBusStop::GUIBusStop(), and NLTriggerBuilder::parseAndBuildStoppingPlace().
|
staticinherited |
Definition at line 166 of file MSStoppingPlace.cpp.
References MAX2(), SUMO_const_waitingContainerWidth, SUMO_const_waitingPersonWidth, and SUMO_TAG_CONTAINER_STOP.
double MSParkingArea::getVehicleAngle | ( | const SUMOVehicle & | forVehicle | ) | const |
Returns the angle of parked vehicle.
Definition at line 251 of file MSParkingArea.cpp.
References M_PI, and mySpaceOccupancies.
Position MSParkingArea::getVehiclePosition | ( | const SUMOVehicle & | forVehicle | ) | const |
Returns the position of parked vehicle.
Definition at line 226 of file MSParkingArea.cpp.
References Position::INVALID, and mySpaceOccupancies.
double MSParkingArea::getVehicleSlope | ( | const SUMOVehicle & | forVehicle | ) | const |
Returns the slope of parked vehicle.
Definition at line 261 of file MSParkingArea.cpp.
References mySpaceOccupancies.
|
inlineinherited |
get number of persons that can wait at this stop
Definition at line 227 of file MSStoppingPlace.h.
References MSStoppingPlace::myTransportableCapacity.
Referenced by MSPModel_Striping::moveInDirectionOnLane().
|
inherited |
get IDs of persons waiting at this stop
Definition at line 338 of file MSStoppingPlace.cpp.
References MSStoppingPlace::myWaitingTransportables.
|
inherited |
Returns the lane position corresponding to getWaitPosition()
Definition at line 152 of file MSStoppingPlace.cpp.
References MSStoppingPlace::getTransportablesAbreast(), MSStoppingPlace::myBegPos, MSStoppingPlace::myElement, MSStoppingPlace::myEndPos, MSStoppingPlace::myWaitingTransportables, SUMO_const_waitingContainerWidth, SUMO_const_waitingPersonWidth, and SUMO_TAG_CONTAINER_STOP.
Referenced by MSStoppingPlace::getWaitPosition(), MSStageDriving::loadState(), and MSStageDriving::proceed().
|
inherited |
Returns the next free waiting place for pedestrians / containers.
Definition at line 178 of file MSStoppingPlace.cpp.
References MSLane::getShape(), MSStoppingPlace::getTransportablesAbreast(), MSStoppingPlace::getWaitingPositionOnLane(), MSLane::getWidth(), MSGlobals::gLefthand, MSLane::interpolateLanePosToGeometryPos(), MSStoppingPlace::myLane, MSStoppingPlace::myTransportableCapacity, MSStoppingPlace::myTransportableDepth, MSStoppingPlace::myWaitingTransportables, and PositionVector::positionAtOffset().
Referenced by MSStageDriving::loadState(), MSStageWaiting::loadState(), MSStageDriving::proceed(), and MSStageWaiting::proceed().
double MSParkingArea::getWidth | ( | ) | const |
Returns the lot rectangle width.
Definition at line 489 of file MSParkingArea.cpp.
References myWidth.
Referenced by NLTriggerBuilder::parseAndAddLotEntry().
|
inherited |
whether there is still capacity for more transportables
Definition at line 216 of file MSStoppingPlace.cpp.
References MSStoppingPlace::myWaitingSpots.
Referenced by MSStoppingPlace::addTransportable().
|
staticprivateinherited |
check if given string can be parsed to a parameter of type "key=value"
Definition at line 251 of file Parameterised.cpp.
References StringTokenizer::getVector(), and SUMOXMLDefinitions::isValidParameterKey().
Referenced by Parameterised::areAttributesValid(), and Parameterised::areParametersValid().
|
inherited |
Returns whether the parameter is known.
[in] | key | The key to ask for |
Definition at line 65 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NBEdge::append(), GUIInductLoop::buildDetectorGUIRepresentation(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), GUINet::createTLWrapper(), MSDevice_SSM::filterByConflictType(), NWWriter_DlrNavteq::getBrunnelType(), GNEEdgeData::getColorValue(), GNEEdgeRelData::getColorValue(), GNETAZRelData::getColorValue(), GNELane::getColorValue(), GUILane::getColorValue(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSDevice_SSM::getMDRAC_PRT(), MSDevice_SSM::getMeasuresAndThresholds(), MSDevice_ToC::getOutputFilename(), MSDevice_SSM::getOutputFilename(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSDevice::getStringParam(), MSTriggeredRerouter::getWeight(), SUMOVTypeParameter::initRailVisualizationParameters(), MSEdge::insertVehicle(), NIImporter_OpenStreetMap::load(), NWWriter_OpenDrive::mapmatchRoadObjects(), MSActuatedTrafficLightLogic::MSActuatedTrafficLightLogic(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), GNEVType::overwriteVType(), NWWriter_OpenDrive::parseTrafficSign(), MSDevice_SSM::requestsTrajectories(), NBTrafficLightLogicCont::setOpenDriveSignalParameters(), MSDevice_SSM::useGeoCoords(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::WAUTSwitchProcedure_Stretch(), MSDevice_SSM::writeLanesPositions(), MSDevice_SSM::writePositions(), NWWriter_OpenDrive::writeRoadObjectPoly(), NWWriter_OpenDrive::writeRoadObjects(), and NWWriter_OpenDrive::writeSignals().
void MSParkingArea::leaveFrom | ( | SUMOVehicle * | what | ) |
Called if a vehicle leaves this stop.
Removes the position of the vehicle from myEndPositions.
Recomputes the free space using "computeLastFreePos" then.
[in] | what | The vehicle that leaves the parking area |
Definition at line 348 of file MSParkingArea.cpp.
References MSEventControl::addEvent(), computeLastFreePos(), MSNet::getEndOfTimestepEvents(), MSNet::getInstance(), MSStoppingPlace::myEndPositions, mySpaceOccupancies, myUpdateEvent, and updateOccupancy().
Referenced by MSVehicle::resumeFromStopping().
void MSParkingArea::notifyEgressBlocked | ( | ) |
update state so that vehicles wishing to enter cooperate with exiting vehicles
Definition at line 536 of file MSParkingArea.cpp.
References computeLastFreePos().
Referenced by MSVehicleTransfer::checkInsertions().
|
privatedelete |
Invalidated assignment operator.
bool MSParkingArea::parkOnRoad | ( | ) | const |
whether vehicles park on the road
Definition at line 513 of file MSParkingArea.cpp.
References myOnRoad.
Referenced by NLTriggerBuilder::addLotEntry(), and MSVehicle::processNextStop().
|
inherited |
Removes a transportable from this stop.
Definition at line 234 of file MSStoppingPlace.cpp.
References MSStoppingPlace::myWaitingSpots, and MSStoppingPlace::myWaitingTransportables.
Referenced by MSTransportableControl::loadAnyWaiting(), GUIPerson::GUIPersonPopupMenu::onCmdRemoveObject(), MSStageDriving::proceed(), MSTransportable::proceed(), and MSTransportable::~MSTransportable().
|
inlinevirtualinherited |
resets the id
[in] | newID | The new id of this object |
Reimplemented in MSBaseVehicle, MSTransportable, and NBLoadedSUMOTLDef.
Definition at line 82 of file Named.h.
References Named::myID.
Referenced by Distribution_Parameterized::parse(), NBLoadedSUMOTLDef::reconstructLogic(), NBEdgeCont::rename(), NBNodeCont::rename(), GNEJunction::setAttribute(), NBLoadedSUMOTLDef::setID(), and IntermodalNetwork< E, L, N, V >::splitEdge().
void MSParkingArea::setNumAlternatives | ( | int | alternatives | ) |
set number alternatives
Definition at line 548 of file MSParkingArea.cpp.
References MAX2(), and myNumAlternatives.
|
virtualinherited |
Sets a parameter.
[in] | key | The parameter's name |
[in] | value | The parameter's value |
Reimplemented in MSRailCrossing, MSActuatedTrafficLightLogic, MSRailSignal, MSSimpleTrafficLightLogic, and NEMALogic.
Definition at line 45 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NLHandler::addDistrict(), RONetHandler::addParam(), SUMORouteHandler::addParam(), ShapeHandler::addPOI(), NBEdge::append(), NBOwnTLDef::buildNemaPhases(), enter(), NIImporter_MATSim::EdgesHandler::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), MSLane::isInsertionSuccess(), NBNodeCont::joinNodeCluster(), NBEdge::Lane::Lane(), NWWriter_OpenDrive::mapmatchRoadObjects(), MSStateHandler::myStartElement(), NIXMLNodesHandler::myStartElement(), NIXMLTrafficLightsHandler::myStartElement(), ShapeHandler::myStartElement(), MSDevice_Bluelight::notifyMove(), GNEVType::setAttribute(), NBEdge::setJunctionPriority(), NIImporter_OpenDrive::setLaneAttributes(), MSRailCrossing::setParameter(), MSActuatedTrafficLightLogic::setParameter(), MSRailSignal::setParameter(), MSSimpleTrafficLightLogic::setParameter(), NEMALogic::setParameter(), LIBSUMO_NAMESPACE::Simulation::setParameter(), Parameterised::setParameters(), Parameterised::setParametersMap(), Parameterised::setParametersStr(), LIBSUMO_NAMESPACE::Vehicle::setStopParameter(), LIBSUMO_NAMESPACE::TrafficLight::swapParameters(), Parameterised::updateParameters(), NWWriter_OpenDrive::writeNetwork(), and NIImporter_OpenDrive::writeRoadObjects().
|
inherited |
set the inner key/value map in map<string, string> format
Definition at line 148 of file Parameterised.cpp.
References Parameterised::getParametersMap(), Parameterised::myMap, and Parameterised::setParameter().
|
inherited |
set the inner key/value map in map<string, string> format
Definition at line 159 of file Parameterised.cpp.
References Parameterised::myMap, and Parameterised::setParameter().
Referenced by GNESingleParametersDialog::onCmdAccept().
|
inherited |
set the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN"
[in] | paramsString | A serialized key-value map |
[in] | kvsep | The separater between key and value |
[in] | sep | The separater between map entries |
Definition at line 170 of file Parameterised.cpp.
References StringTokenizer::getVector(), Parameterised::myMap, and Parameterised::setParameter().
Referenced by MSDevice_Taxi::initDispatch(), GNEAccess::setAttribute(), GNEBusStop::setAttribute(), GNECalibrator::setAttribute(), GNECalibratorFlow::setAttribute(), GNEChargingStation::setAttribute(), GNEContainerStop::setAttribute(), GNEEntryExitDetector::setAttribute(), GNEInductionLoopDetector::setAttribute(), GNEInstantInductionLoopDetector::setAttribute(), GNELaneAreaDetector::setAttribute(), GNEMultiEntryExitDetector::setAttribute(), GNEOverheadWire::setAttribute(), GNEParkingArea::setAttribute(), GNEParkingSpace::setAttribute(), GNERerouter::setAttribute(), GNERouteProbe::setAttribute(), GNETAZ::setAttribute(), GNETAZSourceSink::setAttribute(), GNETractionSubstation::setAttribute(), GNEVaporizer::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNEEdgeData::setAttribute(), GNEEdgeRelData::setAttribute(), GNETAZRelData::setAttribute(), GNEContainer::setAttribute(), GNEPerson::setAttribute(), GNERoute::setAttribute(), GNEStop::setAttribute(), GNEVehicle::setAttribute(), GNEVType::setAttribute(), GNEConnection::setAttribute(), GNEEdge::setAttribute(), GNEEdgeType::setAttribute(), GNEJunction::setAttribute(), GNELane::setAttribute(), GNELaneType::setAttribute(), GNEPOI::setAttribute(), and GNEPoly::setAttribute().
|
inherited |
Removes a parameter.
[in] | key | The parameter's name |
Definition at line 51 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NIImporter_OpenStreetMap::insertEdge(), MSLane::isInsertionSuccess(), NIImporter_OpenStreetMap::load(), GNEVType::setAttribute(), and LIBSUMO_NAMESPACE::TrafficLight::swapParameters().
Called at the end of the time step.
Stores the current occupancy.
[in] | currentTime | The current simulation time (unused) |
Definition at line 366 of file MSParkingArea.cpp.
References getOccupancy(), myLastStepOccupancy, and myUpdateEvent.
Referenced by enter(), and leaveFrom().
|
inherited |
Adds or updates all given parameters from the map.
[in] | mapArg | The keys/values to insert |
Definition at line 57 of file Parameterised.cpp.
References Parameterised::setParameter().
Referenced by NIImporter_SUMO::_loadNetwork(), PCLoaderOSM::addPOI(), PCLoaderOSM::addPolygon(), NLHandler::closeEdge(), NLJunctionControlBuilder::closeJunction(), NLJunctionControlBuilder::closeTrafficLightLogic(), NBTrafficLightDefinition::compute(), NLDetectorBuilder::endE3Detector(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), NBEdge::NBEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), and LIBSUMO_NAMESPACE::TrafficLight::swapConstraints().
|
inherited |
write Params in the given outputdevice
Definition at line 185 of file Parameterised.cpp.
References OutputDevice::closeTag(), StringUtils::escapeXML(), Parameterised::myMap, OutputDevice::openTag(), SUMO_ATTR_KEY, SUMO_ATTR_VALUE, SUMO_TAG_PARAM, and OutputDevice::writeAttr().
Referenced by MSStageWaiting::routeOutput(), MSTransportable::routeOutput(), ROPerson::saveAsXML(), ROVehicle::saveAsXML(), MEVehicle::saveState(), MSVehicle::saveState(), MSStop::write(), SUMOVTypeParameter::write(), SUMOVehicleParameter::Stop::write(), NBPTStop::write(), MSRailSignalConstraint_Predecessor::write(), GNEBusStop::writeAdditional(), GNECalibrator::writeAdditional(), GNECalibratorFlow::writeAdditional(), GNEChargingStation::writeAdditional(), GNEContainerStop::writeAdditional(), GNEInductionLoopDetector::writeAdditional(), GNEInstantInductionLoopDetector::writeAdditional(), GNELaneAreaDetector::writeAdditional(), GNEMultiEntryExitDetector::writeAdditional(), GNEOverheadWire::writeAdditional(), GNEParkingArea::writeAdditional(), GNEParkingSpace::writeAdditional(), GNERerouter::writeAdditional(), GNERouteProbe::writeAdditional(), GNETAZ::writeAdditional(), GNETractionSubstation::writeAdditional(), GNEVaporizer::writeAdditional(), GNEVariableSpeedSign::writeAdditional(), NWWriter_SUMO::writeConnection(), GNEContainer::writeDemandElement(), GNEPerson::writeDemandElement(), GNERoute::writeDemandElement(), GNEVehicle::writeDemandElement(), NWWriter_SUMO::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), NWWriter_SUMO::writeJunction(), NWWriter_SUMO::writeLane(), NWWriter_XML::writeNodes(), MSDevice_Vehroutes::writeOutput(), NWWriter_SUMO::writeTrafficLight(), SUMOPolygon::writeXML(), and PointOfInterest::writeXML().
|
protectedinherited |
lanes and positions connected to this stop
Definition at line 294 of file MSStoppingPlace.h.
Referenced by MSStoppingPlace::addAccess(), MSStoppingPlace::getAccessDistance(), MSStoppingPlace::getAccessPos(), and MSStoppingPlace::getAllAccessPos().
|
protected |
The default angle of each parking space.
Definition at line 283 of file MSParkingArea.h.
Referenced by getAngle(), and MSParkingArea().
|
protectedinherited |
The begin position this bus stop is located at.
Definition at line 262 of file MSStoppingPlace.h.
Referenced by MSStoppingPlace::addAccess(), computeLastFreePos(), MSStoppingPlace::fits(), MSStoppingPlace::getAccessPos(), MSStoppingPlace::getBeginLanePosition(), MSStoppingPlace::getCenterPos(), MSStoppingPlace::getLastFreePos(), getLastFreePosWithReservation(), GUIBusStop::getParameterWindow(), GUIChargingStation::getParameterWindow(), GUIOverheadWire::getParameterWindow(), GUIParkingArea::getParameterWindow(), MSStoppingPlace::getTransportablesAbreast(), MSStoppingPlace::getWaitingPositionOnLane(), GUIBusStop::initShape(), and MSParkingArea().
|
protected |
Stop area total capacity.
Definition at line 271 of file MSParkingArea.h.
Referenced by addLotEntry(), GUIParkingArea::drawGL(), getCapacity(), getLastFreePos(), and getLastFreePosWithReservation().
|
protectedinherited |
The color of the stopping place.
Definition at line 282 of file MSStoppingPlace.h.
Referenced by MSStoppingPlace::getColor().
|
protected |
custom departPos
Definition at line 310 of file MSParkingArea.h.
Referenced by getInsertionPosition(), and MSParkingArea().
|
protected |
Definition at line 311 of file MSParkingArea.h.
Referenced by getInsertionPosition(), and MSParkingArea().
|
protected |
whether a vehicle wants to exit but is blocked
Definition at line 292 of file MSParkingArea.h.
Referenced by computeLastFreePos(), and getOccupancy().
|
protectedinherited |
the type of stopping place
Definition at line 250 of file MSStoppingPlace.h.
Referenced by GUIBusStop::drawGL(), MSStoppingPlace::getElement(), GUIBusStop::getParameterWindow(), MSStoppingPlace::getTransportablesAbreast(), MSStoppingPlace::getWaitingPositionOnLane(), and MSParkingArea().
|
protectedinherited |
The end position this bus stop is located at.
Definition at line 265 of file MSStoppingPlace.h.
Referenced by MSStoppingPlace::addAccess(), addLotEntry(), MSStoppingPlace::computeLastFreePos(), MSStoppingPlace::fits(), MSStoppingPlace::getAccessPos(), MSStoppingPlace::getCenterPos(), MSStoppingPlace::getEndLanePosition(), getLastFreePos(), MSStoppingPlace::getLastFreePos(), getLastFreePosWithReservation(), GUIBusStop::getParameterWindow(), GUIChargingStation::getParameterWindow(), GUIOverheadWire::getParameterWindow(), GUIParkingArea::getParameterWindow(), MSStoppingPlace::getTransportablesAbreast(), MSStoppingPlace::getWaitingPositionOnLane(), GUIBusStop::initShape(), and MSParkingArea().
|
protectedinherited |
A map from objects (vehicles) to the areas they acquire after entering the stop.
Definition at line 256 of file MSStoppingPlace.h.
Referenced by MSStoppingPlace::clearState(), MSStoppingPlace::computeLastFreePos(), enter(), MSStoppingPlace::enter(), getLastFreePos(), MSStoppingPlace::getLastFreePos(), getOccupancy(), getOccupancyIncludingBlocked(), MSStoppingPlace::getStoppedVehicleNumber(), MSStoppingPlace::getStoppedVehicles(), MSStoppingPlace::getStoppingPosition(), leaveFrom(), and MSStoppingPlace::leaveFrom().
|
protectedinherited |
The name of the object.
Definition at line 125 of file Named.h.
Referenced by MSE2Collector::addDetectorToLanes(), RODFDetector::buildDestinationDistribution(), NGEdge::buildNBEdge(), NGNode::buildNBNode(), MSSOTLTrafficLightLogic::checkPhases(), NBNode::computeNodeShape(), NEMALogic::constructTimingAndPhaseDefs(), MSE2Collector::detectorUpdate(), GNEPOI::getAttribute(), GNEPoly::getAttribute(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), Named::getID(), NBEdge::getLaneID(), ROEdge::getStoredEffort(), GNEPOI::getSumoBaseObject(), MSLane::getSurroundingVehicles(), ROEdge::getTravelTime(), NBEdge::init(), MSDelayBasedTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), NEMALogic::init(), MSLane::isInsertionSuccess(), NBNode::NBNode(), NBNode::NBNode(), MSE2Collector::notifyEnter(), MSE2Collector::notifyLeave(), MSE2Collector::notifyMove(), MSMeanData::openInterval(), NEMALogic::parseControllerType(), RORouteDef::preComputeCurrentRoute(), NBEdge::reinitNodes(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), NBEdge::setGeometry(), Named::setID(), MSSOTLTrafficLightLogic::setToATargetPhase(), Distribution_Parameterized::toStr(), MSChargingStation::writeChargingStationOutput(), RODFDetector::writeEmitterDefinition(), MSOverheadWire::writeOverheadWireSegmentOutput(), RODFDetector::writeSingleSpeedTrigger(), MSTractionSubstation::writeTractionSubstationOutput(), MEInductLoop::writeXMLOutput(), and MSE3Collector::writeXMLOutput().
|
protectedinherited |
The lane this bus stop is located at.
Definition at line 259 of file MSStoppingPlace.h.
Referenced by MSStoppingPlace::addAccess(), GUIParkingArea::drawGL(), MSStoppingPlace::getAccessDistance(), MSStoppingPlace::getAccessPos(), MSStoppingPlace::getCenterPos(), MSStoppingPlace::getLane(), MSStoppingPlace::getLastFreePos(), getLastFreePosWithReservation(), MSStoppingPlace::getWaitPosition(), GUIBusStop::initShape(), and MSParkingArea().
|
protected |
Last free lot number (-1 no free lot)
Definition at line 265 of file MSParkingArea.h.
Referenced by computeLastFreePos(), enter(), getLastFreeLotAngle(), getLastFreeLotGUIAngle(), and getLotIndex().
|
protectedinherited |
The last free position at this stop (variable)
Definition at line 268 of file MSStoppingPlace.h.
Referenced by computeLastFreePos(), MSStoppingPlace::computeLastFreePos(), enter(), MSStoppingPlace::getLastFreePos(), getLastFreePos(), MSStoppingPlace::getLastFreePos(), and getLotIndex().
|
protectedinherited |
The length of the last parking vehicle (or 0 if there is none)
Definition at line 270 of file MSStoppingPlace.h.
Referenced by MSStoppingPlace::computeLastFreePos(), and MSStoppingPlace::getLastFreePos().
|
protected |
Changes to the occupancy in the current time step.
Definition at line 307 of file MSParkingArea.h.
Referenced by getLastStepOccupancy(), and updateOccupancy().
|
protected |
The default length of each parking space.
Definition at line 280 of file MSParkingArea.h.
Referenced by getLength(), and MSParkingArea().
|
protectedinherited |
The list of lines that are assigned to this stop.
Definition at line 253 of file MSStoppingPlace.h.
Referenced by GUIBusStop::drawGL(), GUIParkingArea::drawGL(), and GUIBusStop::getParameterWindow().
|
privateinherited |
The key->value map.
Definition at line 137 of file Parameterised.h.
Referenced by Parameterised::clearParameter(), Parameterised::getDouble(), Parameterised::getDoubles(), Parameterised::getParameter(), Parameterised::getParametersMap(), Parameterised::getParametersStr(), Parameterised::knowsParameter(), Parameterised::setParameter(), Parameterised::setParameters(), Parameterised::setParametersMap(), Parameterised::setParametersStr(), Parameterised::unsetParameter(), and Parameterised::writeParams().
|
protectedinherited |
The name of the stopping place.
Definition at line 273 of file MSStoppingPlace.h.
Referenced by MSStoppingPlace::getMyName(), GUIBusStop::getOptionalName(), GUIChargingStation::getOptionalName(), and GUIParkingArea::getOptionalName().
|
protected |
the number of alternative parkingAreas that are assigned to parkingAreaRerouter
Definition at line 304 of file MSParkingArea.h.
Referenced by getLastFreePosWithReservation(), getNumAlternatives(), and setNumAlternatives().
|
protected |
Whether vehicles stay on the road.
Definition at line 274 of file MSParkingArea.h.
Referenced by getLotIndex(), MSParkingArea(), and parkOnRoad().
|
protectedinherited |
the scaled space capacity for parking vehicles
Definition at line 279 of file MSStoppingPlace.h.
Referenced by MSStoppingPlace::enter(), MSStoppingPlace::fits(), MSStoppingPlace::getLastFreePos(), and GUIBusStop::getParameterWindow().
|
protected |
reservation max length
Definition at line 301 of file MSParkingArea.h.
Referenced by getLastFreePosWithReservation().
|
protected |
number of reservations
Definition at line 298 of file MSParkingArea.h.
Referenced by getLastFreePosWithReservation().
|
protected |
track parking reservations from the lane for the current time step
Definition at line 295 of file MSParkingArea.h.
Referenced by getLastFreePosWithReservation().
|
protected |
Stop area capacity configured via roadsideCapacity.
Definition at line 268 of file MSParkingArea.h.
Referenced by GUIParkingArea::drawGL().
|
protected |
The roadside shape of this parkingArea.
Definition at line 289 of file MSParkingArea.h.
Referenced by GUIParkingArea::drawGL(), GUIParkingArea::GUIParkingArea(), and MSParkingArea().
|
protected |
All the spaces in this parking area.
Definition at line 286 of file MSParkingArea.h.
Referenced by addLotEntry(), computeLastFreePos(), GUIParkingArea::drawGL(), enter(), getGUIAngle(), getInsertionPosition(), getLastFreeLotAngle(), getLastFreeLotGUIAngle(), getLastFreePos(), getLastFreePosWithReservation(), getLotIndex(), getManoeuverAngle(), getVehicleAngle(), getVehiclePosition(), getVehicleSlope(), leaveFrom(), and MSParkingArea().
|
protectedinherited |
The number of transportables that can wait here.
Definition at line 276 of file MSStoppingPlace.h.
Referenced by GUIBusStop::getParameterWindow(), MSStoppingPlace::getWaitingCapacity(), and MSStoppingPlace::getWaitPosition().
|
protectedinherited |
row depth of waiting transportables
Definition at line 285 of file MSStoppingPlace.h.
Referenced by MSStoppingPlace::getWaitPosition(), and GUIBusStop::GUIBusStop().
|
protected |
Event for updating the occupancy.
Definition at line 314 of file MSParkingArea.h.
Referenced by enter(), leaveFrom(), and updateOccupancy().
|
protectedinherited |
Definition at line 291 of file MSStoppingPlace.h.
Referenced by MSStoppingPlace::addTransportable(), MSStoppingPlace::hasSpaceForTransportable(), MSStoppingPlace::MSStoppingPlace(), and MSStoppingPlace::removeTransportable().
|
protectedinherited |
Persons waiting at this stop (mapped to waiting position)
Definition at line 290 of file MSStoppingPlace.h.
Referenced by MSStoppingPlace::addTransportable(), MSStoppingPlace::clearState(), MSStoppingPlace::getNumWaitingPersons(), MSStoppingPlace::getTransportableNumber(), MSStoppingPlace::getTransportables(), MSStoppingPlace::getWaitingPersonIDs(), MSStoppingPlace::getWaitingPositionOnLane(), MSStoppingPlace::getWaitPosition(), and MSStoppingPlace::removeTransportable().
|
protected |
The default width of each parking space.
Definition at line 277 of file MSParkingArea.h.
Referenced by GUIParkingArea::drawGL(), getWidth(), GUIParkingArea::GUIParkingArea(), and MSParkingArea().