Eclipse SUMO - Simulation of Urban MObility
|
A road/street connecting two junctions (gui-version) More...
#include <GUIEdge.h>
Public Types | |
typedef std::map< std::string, std::string > | Map |
parameters map | |
Public Member Functions | ||||
void | addRerouter () | |||
add a rerouter | ||||
void | addTo (const StoringVisitor &cont) const | |||
Adds this object to the given container. | ||||
void | addWaiting (SUMOVehicle *vehicle) const | |||
Adds a vehicle to the list of waiting vehicles. | ||||
bool | allowsLaneChanging () const | |||
void | buildLaneChanger () | |||
Has to be called after all sucessors and predecessors have been set (after closeBuilding()) | ||||
bool | canChangeToOpposite () const | |||
whether this edge allows changing to the opposite direction edge | ||||
void | changeLanes (SUMOTime t) const | |||
Performs lane changing on this edge. | ||||
void | clearParameter () | |||
Clears the parameter map. | ||||
void | clearState () | |||
Remove all transportables before quick-loading state. | ||||
virtual void | closeBuilding () override | |||
Has to be called after all edges were built and all connections were set. | ||||
void | closeTraffic (const GUILane *lane) | |||
close this edge for traffic | ||||
virtual void | drawGLAdditional (GUISUMOAbstractView *const parent, const GUIVisualizationSettings &s) const | |||
Draws additional, user-triggered visualisations. | ||||
void | drawMesoVehicles (const GUIVisualizationSettings &s) const | |||
void | drawName (const Position &pos, const double scale, const GUIVisualizationTextSettings &settings, const double angle=0, bool forceShow=false) const | |||
draw name of item | ||||
double | getAllowedSpeed () const | |||
Boundary | getBoundary () const | |||
Returns the street's geometry. | ||||
double | getColorValue (const GUIVisualizationSettings &s, int activeScheme) const override | |||
gets the color value according to the current scheme index | ||||
const std::vector< std::string > & | getCrossingEdges () const | |||
Gets the crossed edge ids. | ||||
double | getCurrentTravelTime (const double minSpeed=NUMERICAL_EPS) const | |||
Computes and returns the current travel time for this edge. | ||||
double | getDistanceTo (const MSEdge *other, const bool doBoundaryEstimate=false) const | |||
optimistic air distance heuristic for use in routing | ||||
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. | ||||
const std::string & | getID () const | |||
Returns the id. | ||||
const MSEdge * | getInternalFollowingEdge (const MSEdge *followerAfterInternal, SUMOVehicleClass vClass) const | |||
double | getInternalFollowingLengthTo (const MSEdge *followerAfterInternal, SUMOVehicleClass vClass) const | |||
returns the length of all internal edges on the junction until reaching the non-internal edge followerAfterInternal. | ||||
MSLane & | getLane (int laneNo) | |||
returns the enumerated lane (!!! why not private with a friend?) | ||||
double | getLength () const | |||
return the length of the edge | ||||
double | getLengthGeometryFactor () const | |||
return shape.length() / myLength | ||||
double | getMeanFriction () const | |||
get the mean friction over the lanes | ||||
double | getMeanSpeed () const | |||
get the mean speed | ||||
double | getMeanSpeedBike () const | |||
get the mean speed of all bicycles on this edge | ||||
RGBColor | getMesoColor () const | |||
double | getMinimumTravelTime (const SUMOVehicle *const veh) const | |||
returns the minimum travel time for the given vehicle | ||||
const MSEdge * | getNormalBefore () const | |||
if this edge is an internal edge, return its first normal predecessor, otherwise the edge itself | ||||
const MSEdge * | getNormalSuccessor () const | |||
if this edge is an internal edge, return its first normal successor, otherwise the edge itself | ||||
const MSEdge * | getOppositeEdge () const | |||
Returns the opposite direction edge if on exists else a nullptr. | ||||
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". | ||||
double | getPendingEmits () const | |||
get number of vehicles waiting for departure on this edge | ||||
SVCPermissions | getPermissions () const | |||
Returns the combined permissions of all lanes of this edge. | ||||
RailEdge< MSEdge, SUMOVehicle > * | getRailwayRoutingEdge () const | |||
double | getRelativeSpeed () const | |||
return meanSpead divided by allowedSpeed | ||||
ReversedEdge< MSEdge, SUMOVehicle > * | getReversedRoutingEdge () const | |||
double | getRoutingSpeed () const | |||
Returns the averaged speed used by the routing device. | ||||
double | getScaleValue (const GUIVisualizationSettings &s, int activeScheme) const | |||
gets the scaling value according to the current scheme index | ||||
MESegment * | getSegmentAtPosition (const Position &pos) | |||
returns the segment closest to the given position | ||||
const std::vector< RGBColor > & | getSegmentColors () const | |||
return segment colors (meso) | ||||
double | getSpeedLimit () const | |||
Returns the speed limit of the edge @caution The speed limit of the first lane is retured; should probably be the fastest edge. | ||||
const std::vector< double > | getSubLaneSides () const | |||
Returns the right side offsets of this edge's sublanes. | ||||
double | getTimePenalty () const | |||
double | getVehicleMaxSpeed (const SUMOTrafficObject *const veh) const | |||
Returns the maximum speed the vehicle may use on this edge. | ||||
SUMOVehicle * | getWaitingVehicle (MSTransportable *transportable, const double position) const | |||
double | getWidth () const | |||
Returns the edges's width (sum over all lanes) | ||||
GUIEdge (const std::string &id, int numericalID, const SumoXMLEdgeFunc function, const std::string &streetName, const std::string &edgeType, int priority, double distance) | ||||
Constructor. | ||||
bool | hasChangeProhibitions (SUMOVehicleClass svc, int index) const | |||
return whether this edge prohibits changing for the given vClass when starting on the given lane index | ||||
bool | hasLaneChanger () const | |||
bool | hasMinorLink () const | |||
whether any lane has a minor link | ||||
bool | hasParameter (const std::string &key) const | |||
Returns whether the parameter is set. | ||||
bool | hasTransientPermissions () const | |||
void | initialize (const std::vector< MSLane * > *lanes) | |||
Initialize the edge. | ||||
bool | isDelayed () const | |||
bool | isFringe () const | |||
return whether this edge is at the fringe of the network | ||||
bool | isRoundabout () const | |||
bool | isSelected () const override | |||
whether this lane is selected in the GUI | ||||
void | lock () const override | |||
grant exclusive access to the mesoscopic state | ||||
void | markAsRoundabout () | |||
void | markDelayed () const | |||
void | mergeParameters (const Parameterised::Map &mapArg, const std::string separator=" ", bool uniqueValues=true) | |||
Adds or appends all given parameters from the map. | ||||
virtual void | onLeftBtnPress (void *) | |||
notify object about left click | ||||
bool | prohibits (const SUMOVehicle *const vehicle) const | |||
Returns whether the vehicle (class) is not allowed on the edge. | ||||
void | rebuildAllowedLanes (const bool onInit=false) | |||
void | rebuildAllowedTargets (const bool updateVehicles=true) | |||
void | recalcCache () | |||
Recalculates the cached values. | ||||
virtual void | removeActiveAddVisualisation (GUISUMOAbstractView *const, int) | |||
remove additional user-griggered visualisations | ||||
void | removeWaiting (const SUMOVehicle *vehicle) const | |||
Removes a vehicle from the list of waiting vehicles. | ||||
bool | restricts (const SUMOVehicle *const) const | |||
Returns whether this edge has restriction parameters forbidding the given vehicle to pass it The restriction mechanism is not implemented yet for the microsim, so it always returns false. | ||||
void | setColor (const GUIVisualizationSettings &s) const | |||
sets the color according to the currente settings | ||||
void | setCrossingEdges (const std::vector< std::string > &crossingEdges) | |||
Sets the crossed edge ids for a crossing edge. | ||||
void | setFrictionCoefficient (double val) const | |||
Sets a new friction coefficient COF for all lanes [later to be (used by TraCI and MSCalibrator)]. | ||||
bool | setFunctionalColor (const GUIColorer &c) const | |||
sets the color according to the current scheme index and some edge function | ||||
virtual void | setID (const std::string &newID) | |||
resets the id | ||||
void | setMaxSpeed (double val, double jamThreshold=-1) | |||
Sets a new maximum speed for all lanes (used by TraCI and MSCalibrator) | ||||
bool | setMultiColor (const GUIColorer &c) const | |||
sets multiple colors according to the current scheme index and edge function | ||||
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 | 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" | ||||
bool | showDeadEnd () const | |||
void | unlock () const override | |||
release exclusive access to the mesoscopic state | ||||
void | unsetParameter (const std::string &key) | |||
Removes a parameter. | ||||
void | updateMesoType () | |||
update meso segment parameters | ||||
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 | ||||
~GUIEdge () | ||||
Destructor. | ||||
inherited from GUIGlObject | ||||
virtual GUIGLObjectPopupMenu * | getPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent) override | |||
Returns an own popup-menu. | ||||
virtual GUIParameterTableWindow * | getParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) override | |||
Returns an own parameter window. | ||||
GUIParameterTableWindow * | getTypeParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) override | |||
Returns an own type parameter window. | ||||
Boundary | getCenteringBoundary () const override | |||
Returns the boundary to which the view shall be centered in order to show the object. | ||||
const std::string | getOptionalName () const override | |||
Returns the street name. | ||||
void | drawGL (const GUIVisualizationSettings &s) const override | |||
Draws the object. | ||||
double | getClickPriority () const override | |||
Returns the priority of receiving mouse clicks. | ||||
void | addTransportable (MSTransportable *t) const override | |||
void | removeTransportable (MSTransportable *t) const override | |||
Access to persons | ||||
const std::set< MSTransportable *, ComparatorNumericalIdLess > & | getPersonsSecure () const | |||
Returns this edge's persons set; locks it for microsimulation. | ||||
void | releasePersons () const | |||
Allows to use the container for microsimulation again. | ||||
Access to the edge's lanes | ||||
MSLane * | leftLane (const MSLane *const lane) const | |||
Returns the lane left to the one given, 0 if the given lane is leftmost. | ||||
MSLane * | rightLane (const MSLane *const lane) const | |||
Returns the lane right to the one given, 0 if the given lane is rightmost. | ||||
MSLane * | parallelLane (const MSLane *const lane, int offset, bool includeOpposite=true) const | |||
Returns the lane with the given offset parallel to the given lane one or 0 if it does not exist. | ||||
const std::vector< MSLane * > & | getLanes () const | |||
Returns this edge's lanes. | ||||
int | getNumLanes () const | |||
int | getNumDrivingLanes () const | |||
return the number of lanes that permit non-weak modes if the edge allows non weak modes and the number of lanes otherwise | ||||
int | getVehicleNumber () const | |||
return total number of vehicles on this edges lanes or segments | ||||
bool | isEmpty () const | |||
whether this edge has no vehicles | ||||
std::vector< const SUMOVehicle * > | getVehicles () const | |||
return vehicles on this edges lanes or segments | ||||
double | getBruttoOccupancy () const | |||
double | getFlow () const | |||
return flow based on meanSpead | ||||
double | getWaitingSeconds () const | |||
return accumated waiting time for all vehicles on this edges lanes or segments | ||||
double | getOccupancy () const | |||
return mean occupancy on this edges lanes or segments | ||||
const std::set< MSTransportable *, ComparatorNumericalIdLess > & | getPersons () const | |||
Returns this edge's persons set. | ||||
std::vector< MSTransportable * > | getSortedPersons (SUMOTime timestep, bool includeRiding=false) const | |||
Returns this edge's persons sorted by pos. | ||||
std::vector< MSTransportable * > | getSortedContainers (SUMOTime timestep, bool includeRiding=false) const | |||
Returns this edge's containers sorted by pos. | ||||
const std::vector< MSLane * > * | allowedLanes (const MSEdge &destination, SUMOVehicleClass vclass=SVC_IGNORING, bool ignoreTransientPermissions=false) const | |||
Get the allowed lanes to reach the destination-edge. | ||||
const std::vector< MSLane * > * | allowedLanes (SUMOVehicleClass vclass=SVC_IGNORING) const | |||
Get the allowed lanes for the given vehicle class. | ||||
bool | isConnectedTo (const MSEdge &destination, SUMOVehicleClass vclass) const | |||
Access to other edge attributes | ||||
SumoXMLEdgeFunc | getFunction () const | |||
Returns the edge type (SumoXMLEdgeFunc) | ||||
bool | isNormal () const | |||
return whether this edge is an internal edge | ||||
bool | isInternal () const | |||
return whether this edge is an internal edge | ||||
bool | isCrossing () const | |||
return whether this edge is a pedestrian crossing | ||||
void | checkAndRegisterBiDirEdge (const std::string &bidiID="") | |||
check and register the opposite superposable edge if any | ||||
const MSEdge * | getBidiEdge () const | |||
return opposite superposable/congruent edge, if it exist and 0 else | ||||
bool | isWalkingArea () const | |||
return whether this edge is walking area | ||||
bool | isTazConnector () const | |||
void | setOtherTazConnector (const MSEdge *edge) | |||
const MSEdge * | getOtherTazConnector () const | |||
int | getNumericalID () const | |||
Returns the numerical id of the edge. | ||||
const std::string & | getStreetName () const | |||
Returns the street name of the edge. | ||||
const std::string & | getEdgeType () const | |||
Returns the type of the edge. | ||||
void | inferEdgeType () | |||
int | getPriority () const | |||
Returns the priority of the edge. | ||||
double | getDistance () const | |||
Returns the kilometrage/mileage encoding at the start of the edge (negative values encode descending direction) | ||||
double | getDistanceAt (double pos) const | |||
Returns the kilometrage/mileage at the given offset along the edge. | ||||
bool | hasDistance () const | |||
Access to succeeding/predecessing edges | ||||
void | addSuccessor (MSEdge *edge, const MSEdge *via=nullptr) | |||
Adds an edge to the list of edges which may be reached from this edge and to the incoming of the other edge. | ||||
void | resetTAZ (MSJunction *junction) | |||
int | getNumSuccessors () const | |||
Returns the number of edges that may be reached from this edge. | ||||
const MSEdgeVector & | getSuccessors (SUMOVehicleClass vClass=SVC_IGNORING) const | |||
Returns the following edges, restricted by vClass. | ||||
const MSConstEdgePairVector & | getViaSuccessors (SUMOVehicleClass vClass=SVC_IGNORING, bool ignoreTransientPermissions=false) const | |||
Returns the following edges with internal vias, restricted by vClass. | ||||
int | getNumPredecessors () const | |||
Returns the number of edges this edge is connected to. | ||||
const MSEdgeVector & | getPredecessors () const | |||
const MSJunction * | getFromJunction () const | |||
const MSJunction * | getToJunction () const | |||
void | setJunctions (MSJunction *from, MSJunction *to) | |||
Access to vaporizing interface | ||||
bool | isVaporizing () const | |||
Returns whether vehicles on this edge shall be vaporized. | ||||
SUMOTime | incVaporization (SUMOTime t) | |||
Enables vaporization. | ||||
SUMOTime | decVaporization (SUMOTime t) | |||
Disables vaporization. | ||||
Methods releated to vehicle insertion | ||||
bool | insertVehicle (SUMOVehicle &v, SUMOTime time, const bool checkOnly=false, const bool forceCheck=false) const | |||
Tries to insert the given vehicle into the network. | ||||
bool | validateDepartSpeed (SUMOVehicle &v) const | |||
check whether the given departSpeed is valid for this edge | ||||
MSLane * | getFreeLane (const std::vector< MSLane * > *allowed, const SUMOVehicleClass vclass, double departPos) const | |||
Finds the emptiest lane allowing the vehicle class. | ||||
MSLane * | getProbableLane (const std::vector< MSLane * > *allowed, const SUMOVehicleClass vclass, double departPos, double maxSpeed) const | |||
Finds the most probable lane allowing the vehicle class. | ||||
MSLane * | getDepartLane (MSVehicle &veh) const | |||
Finds a depart lane for the given vehicle parameters. | ||||
MSLane * | getFirstAllowed (SUMOVehicleClass vClass, bool defaultFirst=false) const | |||
MSLane * | getDepartLaneMeso (SUMOVehicle &veh) const | |||
consider given departLane parameter (only for validating speeds) | ||||
SUMOTime | getLastFailedInsertionTime () const | |||
Returns the last time a vehicle could not be inserted. | ||||
void | setLastFailedInsertionTime (SUMOTime time) const | |||
Sets the last time a vehicle could not be inserted. | ||||
getter methods | ||||
Returns the full name appearing in the tool tip
| ||||
const std::string & | getFullName () const | |||
virtual std::string | getParentName () const | |||
Returns the name of the parent object (if any) | ||||
GUIGlID | getGlID () const | |||
Returns the numerical id of the object. | ||||
FXIcon * | getGLIcon () const | |||
get icon associated with this GL Object | ||||
interfaces to be implemented by derived classes | ||||
virtual void | removedPopupMenu () | |||
notify object about popup menu removal | ||||
const std::string & | getMicrosimID () const | |||
Returns the id of the object as known to microsim. | ||||
virtual void | setMicrosimID (const std::string &newID) | |||
Changes the microsimID of the object. | ||||
GUIGlObjectType | getType () const | |||
Returns the type of the object as coded in GUIGlObjectType. | ||||
bool | isBlocked () const | |||
get blocking status | ||||
void | setBlocked (const bool state=true) | |||
set blocking status | ||||
virtual double | getExaggeration (const GUIVisualizationSettings &s) const | |||
return exaggeration associated with this GLObject | ||||
virtual bool | isGLObjectLocked () const | |||
check if element is locked (Currently used only in netedit) | ||||
virtual void | markAsFrontElement () | |||
mark element as front element (Currently used only in netedit) | ||||
virtual void | deleteGLObject () | |||
delete GLObject (Currently used only in netedit) | ||||
virtual void | selectGLObject () | |||
select GLObject (Currently used only in netedit) | ||||
virtual void | updateGLObject () | |||
update GLObject (geometry, ID, etc.) (optional) | ||||
Parameter table window I/O | ||||
Lets this object know a parameter window showing the object's values was opened
| ||||
void | addParameterTable (GUIParameterTableWindow *w) | |||
void | removeParameterTable (GUIParameterTableWindow *w) | |||
Lets this object know a parameter window showing the object's values was closed. | ||||
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" | |
static void | clear () |
Clears the dictionary. | |
static MSEdge * | dictionary (const std::string &id) |
Returns the MSEdge associated to the key id if it exists, otherwise returns nullptr. | |
static bool | dictionary (const std::string &id, MSEdge *edge) |
Inserts edge into the static dictionary Returns true if the key id isn't already in the dictionary. Otherwise returns false. | |
static MSEdge * | dictionaryHint (const std::string &id, const int startIdx) |
Returns the MSEdge associated to the key id giving a hint with a numerical id. | |
static const MSEdgeVector & | getAllEdges () |
Returns all edges with a numerical id. | |
static std::vector< GUIGlID > | getIDs (bool includeInternal) |
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 std::pair< double, double > | getLaneOffsets (double x1, double y1, double x2, double y2, double prev, double wanted) |
static SVCPermissions | getMesoPermissions (SVCPermissions p, SVCPermissions ignoreIgnored=0) |
static const Position | getStopPosition (const SUMOVehicleParameter::Stop &stop) |
return the coordinates of the center of the given stop | |
static double | getTotalLength (bool includeInternal, bool eachLane) |
static double | getTravelTimeAggregated (const MSEdge *const edge, const SUMOVehicle *const veh, double time) |
static double | getTravelTimeStatic (const MSEdge *const edge, const SUMOVehicle *const veh, double time) |
Returns the travel time for the given edge. | |
static void | insertIDs (std::vector< std::string > &into) |
Inserts IDs of all known edges into the given vector. | |
static void | setMesoIgnoredVClasses (SVCPermissions ignored) |
Static parser helper | |
static void | parseEdgesList (const std::string &desc, ConstMSEdgeVector &into, const std::string &rid) |
Parses the given string assuming it contains a list of edge ids divided by spaces. | |
static void | parseEdgesList (const std::vector< std::string > &desc, ConstMSEdgeVector &into, const std::string &rid) |
Parses the given string vector assuming it edge ids. | |
Data Fields | |
std::vector< RGBColor > | mySegmentColors |
The color of the segments (cached) | |
bool | myShowDeadEnd |
whether to highlight this edge as a dead-end edge | |
Static Public Attributes | |
static const GUIGlID | INVALID_ID = 0 |
static const double | INVALID_PRIORITY |
static StringBijection< GUIGlObjectType > | TypeNames |
associates object types with strings | |
Protected Member Functions | |
void | buildAdditionalsPopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type) |
build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI | |
void | buildShapePopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type) |
build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI | |
double | getDepartPosBound (const MSVehicle &veh, bool upper=true) const |
return upper bound for the depart position on this edge | |
helper methods for building popup-menus | |
void | buildPopupHeader (GUIGLObjectPopupMenu *ret, GUIMainWindow &app, bool addSeparator=true) |
Builds the header. | |
void | buildCenterPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to center to the object. | |
void | buildNameCopyPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds entries which allow to copy the name / typed name into the clipboard. | |
void | buildSelectionPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to (de)select the object. | |
void | buildShowParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to open the parameter window. | |
void | buildShowTypeParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to open the type parameter window. | |
void | buildPositionCopyEntry (GUIGLObjectPopupMenu *ret, const GUIMainWindow &app) const |
Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position. | |
void | buildShowManipulatorPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to open the manipulator window. | |
Protected Attributes | |
bool | myAmDelayed |
whether this edge had a vehicle with less than max speed on it | |
bool | myAmFringe |
whether this edge is at the network fringe | |
bool | myAmRoundabout |
whether this edge belongs to a roundabout | |
Boundary | myBoundary |
The bounding rectangle of end nodes incoming or outgoing edges for taz connectors or of my own start and end node for normal edges. | |
std::map< SUMOVehicleClass, MSEdgeVector > | myClassesSuccessorMap |
The successors available for a given vClass. | |
std::map< SUMOVehicleClass, MSConstEdgePairVector > | myClassesViaSuccessorMap |
The successors available for a given vClass. | |
std::set< MSTransportable *, ComparatorNumericalIdLess > | myContainers |
Containers on the edge. | |
std::vector< std::string > | myCrossingEdges |
The crossed edges id for a crossing edge. On not crossing edges it is empty. | |
const double | myDistance |
the kilometrage/mileage at the start of the edge | |
std::string | myEdgeType |
the type of the edge (optionally used during network creation) | |
double | myEmptyTraveltime |
the traveltime on the empty edge (cached value for speedup) | |
std::set< int > | myFailedInsertionMemory |
A cache for the rejected insertion attempts. Used to assure that no further insertion attempts are made on a lane where an attempt has already failed in the current time step if MSInsertionControl::myEagerInsertionCheck is off. | |
MSJunction * | myFromJunction |
the junctions for this edge | |
const SumoXMLEdgeFunc | myFunction |
the purpose of the edge | |
std::string | myID |
The name of the object. | |
MSLaneChanger * | myLaneChanger |
This member will do the lane-change. | |
std::shared_ptr< const std::vector< MSLane * > > | myLanes |
Container for the edge's lane; should be sorted: (right-hand-traffic) the more left the lane, the higher the container-index. | |
SUMOTime | myLastFailedInsertionTime |
The time of last insertion failure. | |
double | myLength |
the length of the edge (cached value for speedup) | |
const int | myNumericalID |
This edge's numerical id. | |
std::map< SUMOVehicleClass, MSConstEdgePairVector > | myOrigClassesViaSuccessorMap |
const MSEdge * | myOtherTazConnector |
the other taz-connector if this edge isTazConnector, otherwise nullptr | |
std::set< MSTransportable *, ComparatorNumericalIdLess > | myPersons |
Persons on the edge for drawing and pushbutton. | |
MSEdgeVector | myPredecessors |
The preceeding edges. | |
const int | myPriority |
the priority of the edge (used during network creation) | |
std::string | myStreetName |
the real-world name of this edge (need not be unique) | |
std::vector< double > | mySublaneSides |
the right side for each sublane on this edge | |
MSEdgeVector | mySuccessors |
The succeeding edges. | |
double | myTimePenalty |
flat penalty when computing traveltime | |
MSJunction * | myToJunction |
int | myVaporizationRequests |
Vaporizer counter. | |
MSConstEdgePairVector | myViaSuccessors |
std::vector< SUMOVehicle * > | myWaiting |
List of waiting vehicles. | |
double | myWidth |
Edge width [m]. | |
Storages for allowed lanes (depending on vehicle classes) | |
AllowedLanesCont | myAllowed |
Associative container from vehicle class to allowed-lanes. | |
AllowedLanesCont | myOrigAllowed |
AllowedLanesByTarget | myAllowedTargets |
From target edge to lanes allowed to be used to reach it. | |
AllowedLanesByTarget | myOrigAllowedTargets |
SVCPermissions | myMinimumPermissions = SVCAll |
The intersection of lane permissions for this edge. | |
SVCPermissions | myCombinedPermissions = 0 |
The union of lane permissions for this edge. | |
SVCPermissions | myOriginalMinimumPermissions = SVCAll |
The original intersection of lane permissions for this edge (before temporary modifications) | |
SVCPermissions | myOriginalCombinedPermissions |
The original union of lane permissions for this edge (before temporary modifications) | |
bool | myHaveTransientPermissions |
whether transient permission changes were applied to this edge or a predecessor | |
Private Types | |
typedef std::map< const MSEdge *, AllowedLanesCont > | AllowedLanesByTarget |
Succeeding edges (keys) and allowed lanes to reach these edges (values). | |
typedef std::vector< std::pair< SVCPermissions, std::shared_ptr< const std::vector< MSLane * > > > > | AllowedLanesCont |
"Map" from vehicle class to allowed lanes | |
Private Member Functions | |
void | addToAllowed (const SVCPermissions permissions, std::shared_ptr< const std::vector< MSLane * > > allowedLanes, AllowedLanesCont &laneCont) const |
std::string | createFullName () const |
create full name | |
GUIEdge (const GUIEdge &s) | |
invalidated copy constructor | |
bool | isSuperposable (const MSEdge *other) |
GUIEdge & | operator= (const GUIEdge &s) |
invalidated assignment operator | |
void | setBidiLanes () |
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 | |
bool | myAmBlocked = false |
whether the object can be deleted | |
const MSEdge * | myBidiEdge |
the oppositing superposable edge | |
std::string | myFullName |
full name of GL Object | |
const GUIGlID | myGlID |
The numerical id of the object. | |
const GUIGlObjectType | myGLObjectType |
The type of the object. | |
FXIcon * | myIcon |
icon associatd with this GL Object | |
FXMutex | myLock |
The mutex used to avoid concurrent updates of myPersons/ myContainers. | |
Parameterised::Map | myMap |
The key->value map. | |
RGBColor | myMesoColor |
std::string | myMicrosimID |
ID of GL object. | |
std::set< GUIParameterTableWindow * > | myParamWindows |
Parameter table windows which refer to this object. | |
RailEdge< MSEdge, SUMOVehicle > * | myRailwayRoutingEdge = nullptr |
ReversedEdge< MSEdge, SUMOVehicle > * | myReversedRoutingEdge = nullptr |
a reversed version for backward routing | |
Static Private Attributes | |
static StringBijection< GUIGlObjectType >::Entry | GUIGlObjectTypeNamesInitializer [] |
vector for TypeNames Initializer | |
Static edge container | |
typedef std::map< std::string, MSEdge * > | DictType |
definition of the static dictionary type | |
static DictType | myDict |
Static dictionary to associate string-ids with objects. | |
static MSEdgeVector | myEdges |
Static list of edges. | |
static SVCPermissions | myMesoIgnoredVClasses |
A road/street connecting two junctions (gui-version)
|
privateinherited |
|
privateinherited |
|
protectedinherited |
|
inherited |
parameters map
Definition at line 45 of file Parameterised.h.
GUIEdge::GUIEdge | ( | const std::string & | id, |
int | numericalID, | ||
const SumoXMLEdgeFunc | function, | ||
const std::string & | streetName, | ||
const std::string & | edgeType, | ||
int | priority, | ||
double | distance | ||
) |
Constructor.
[in] | id | The id of the edge |
[in] | numericalID | The numerical id (index) of the edge |
Definition at line 63 of file GUIEdge.cpp.
GUIEdge::~GUIEdge | ( | ) |
|
private |
invalidated copy constructor
|
inherited |
Definition at line 369 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::GUIParameterTableWindow().
void GUIEdge::addRerouter | ( | ) |
add a rerouter
Definition at line 628 of file GUIEdge.cpp.
References RandomDistributor< T >::add(), MSTriggeredRerouter::RerouteInterval::begin, MSTriggeredRerouter::RerouteInterval::edgeProbs, MSTriggeredRerouter::RerouteInterval::end, MSNet::getCurrentTimeStep(), GUINet::getGUIInstance(), Named::getID(), MSNet::getInstance(), MSEdge::getLanes(), Position::INVALID, MSTriggeredRerouter::myIntervals, MSTriggeredRerouter::mySpecialDest_keepDestination, MSMoveReminder::NOTIFICATION_JUNCTION, MSTriggeredRerouter::notifyEnter(), and SUMOTime_MAX.
Adds an edge to the list of edges which may be reached from this edge and to the incoming of the other edge.
This is mainly used by the taz (district) parsing
[in] | edge | The edge to add |
Definition at line 1243 of file MSEdge.cpp.
References Boundary::add(), MSEdge::getFromJunction(), MSJunction::getPosition(), MSEdge::getToJunction(), MSEdge::isTazConnector(), MSEdge::myBoundary, MSEdge::myPredecessors, MSEdge::mySuccessors, and MSEdge::myViaSuccessors.
Referenced by NLHandler::addDistrict(), and NLBuilder::build().
|
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().
|
privateinherited |
Definition at line 300 of file MSEdge.cpp.
References MSEdge::allowedLanes().
Referenced by MSEdge::rebuildAllowedLanes(), and MSEdge::rebuildAllowedTargets().
|
inlineoverridevirtual |
Reimplemented from MSEdge.
Definition at line 143 of file GUIEdge.h.
References MSEdge::addTransportable(), and myLock.
|
inherited |
Adds a vehicle to the list of waiting vehicles.
Definition at line 1451 of file MSEdge.cpp.
References MSGlobals::gNumSimThreads, MSEdge::lock(), and MSEdge::myWaiting.
Referenced by MSVehicleControl::handleTriggeredDepart(), MSVehicle::processNextStop(), and MESegment::receive().
|
inherited |
Get the allowed lanes to reach the destination-edge.
If there is no such edge, return nullptr. Then you are on the wrong edge.
[in] | destination | The edge to reach |
[in] | vclass | The vehicle class for which this information shall be returned |
Definition at line 479 of file MSEdge.cpp.
References MSEdge::myAllowedTargets, MSEdge::myHaveTransientPermissions, and MSEdge::myOrigAllowedTargets.
Referenced by MSEdge::addToAllowed(), MELoop::checkCar(), MSVehicleTransfer::checkInsertions(), MSLane::executeMovements(), MSEdge::getDepartLane(), MSEdge::getFreeLane(), LIBSUMO_NAMESPACE::Vehicle::getNextLinks(), LIBSUMO_NAMESPACE::Vehicle::getNextTLS(), MSEdge::getProbableLane(), MSDevice_Taxi::getStopLane(), MSEdge::getSuccessors(), MSEdge::getViaSuccessors(), MSEdge::isConnectedTo(), MESegment::MESegment(), MSDevice_Bluelight::notifyMove(), MSLane::by_connections_to_sorter::operator()(), MSEdge::rebuildAllowedLanes(), MSEdge::rebuildAllowedTargets(), MSBaseVehicle::reroute(), and MSVehicle::updateBestLanes().
|
inherited |
Get the allowed lanes for the given vehicle class.
If there is no such edge, return nullptr. Then you are on the wrong edge.
[in] | vclass | The vehicle class for which this information shall be returned |
Definition at line 494 of file MSEdge.cpp.
References MSEdge::myAllowed, MSEdge::myCombinedPermissions, MSEdge::myLanes, and MSEdge::myMinimumPermissions.
|
inherited |
Definition at line 278 of file MSEdge.cpp.
References MSLink::getState(), MSGlobals::gUsingInternalLanes, MSEdge::isInternal(), LINKSTATE_ALLWAY_STOP, LINKSTATE_DEADEND, LINKSTATE_EQUAL, LINKSTATE_MINOR, LINKSTATE_STOP, and MSEdge::myLanes.
Referenced by MSEdge::buildLaneChanger().
|
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 219 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 200 of file Parameterised.cpp.
References StringTokenizer::getVector(), Parameterised::isParameterValid(), TL, and WRITE_WARNINGF.
Referenced by GNEDetector::isDetectorValid(), GNEAccess::isValid(), GNEBusStop::isValid(), GNECalibrator::isValid(), GNECalibratorFlow::isValid(), GNEChargingStation::isValid(), GNEContainerStop::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().
|
protectedinherited |
build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 407 of file GUIGlObject.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIDesigns::buildFXMenuCommand(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), GUIGlObject::buildShowParamsPopupEntry(), and TLF.
|
protectedinherited |
Builds an entry which allows to center to the object.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 286 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MID_CENTER, RECENTERVIEW, and TL.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GNEDemandElementPlan::getPlanPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNETAZSourceSink::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GNENet::getPopUpMenu(), GUIContainer::getPopUpMenu(), getPopUpMenu(), GUILane::getPopUpMenu(), GUINet::getPopUpMenu(), GUIPerson::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), and GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu().
|
inherited |
Has to be called after all sucessors and predecessors have been set (after closeBuilding())
Definition at line 258 of file MSEdge.cpp.
References MSEdge::allowsLaneChanging(), MSEdge::canChangeToOpposite(), MSGlobals::gLaneChangeDuration, MSGlobals::gLateralResolution, MSGlobals::gUsingInternalLanes, MSEdge::isInternal(), MSEdge::MSLaneChangerSublane, MSEdge::myLaneChanger, and MSEdge::myLanes.
|
protectedinherited |
Builds entries which allow to copy the name / typed name into the clipboard.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 295 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), MID_COPY_NAME, MID_COPY_TYPED_NAME, and TL.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GUIContainer::getPopUpMenu(), getPopUpMenu(), GUILane::getPopUpMenu(), GUIPerson::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), and GUIPolygon::getPopUpMenu().
|
protectedinherited |
Builds the header.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 274 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), GUIMainWindow::getBoldFont(), GUIGlObject::getFullName(), OptionsCont::getOptions(), MID_COPY_TEST_COORDINATES, GUIGlObject::myIcon, and TL.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GNEDemandElementPlan::getPlanPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNETAZSourceSink::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEInternalLane::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GNENet::getPopUpMenu(), GUIContainer::getPopUpMenu(), getPopUpMenu(), GUILane::getPopUpMenu(), GUINet::getPopUpMenu(), GUIPerson::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), and GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu().
|
protectedinherited |
Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 336 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), GEOHACK, GeoConvHelper::getFinal(), GUIIconSubSys::getIcon(), GUIMainWindow::getOnlineMaps(), GOOGLEMAPS, GUIGLObjectPopupMenu::insertMenuPaneChild(), MID_COPY_CURSOR_GEOPOSITION, MID_COPY_CURSOR_POSITION, MID_SHOW_GEOPOSITION_ONLINE, OSM, and TL.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GNEDemandElementPlan::getPlanPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNETAZSourceSink::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GNENet::getPopUpMenu(), GUIContainer::getPopUpMenu(), getPopUpMenu(), GUILane::getPopUpMenu(), GUINet::getPopUpMenu(), GUIPerson::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), and GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu().
|
protectedinherited |
Builds an entry which allows to (de)select the object.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 305 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), FLAG_MINUS, FLAG_PLUS, GUIGlObject::getGlID(), GUIIconSubSys::getIcon(), GUIGlObject::getType(), gSelected, GUISelectedStorage::isSelected(), MID_ADDSELECT, MID_REMOVESELECT, and TL.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainer::getPopUpMenu(), getPopUpMenu(), GUILane::getPopUpMenu(), GUIPerson::getPopUpMenu(), and GUIPolygon::getPopUpMenu().
|
protectedinherited |
build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 384 of file GUIGlObject.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIDesigns::buildFXMenuCommand(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), GUIGlObject::buildShowParamsPopupEntry(), and TLF.
Referenced by GUIPointOfInterest::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to open the manipulator window.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 360 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MANIP, MID_MANIP, and TL.
Referenced by GUILaneSpeedTrigger::getPopUpMenu(), and GUITriggeredRerouter::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to open the parameter window.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 318 of file GUIGlObject.cpp.
References APP_TABLE, GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MID_SHOWPARS, and TL.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GNEDemandElementPlan::getPlanPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNETAZSourceSink::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GUIContainer::getPopUpMenu(), getPopUpMenu(), GUILane::getPopUpMenu(), GUINet::getPopUpMenu(), GUIPerson::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), and GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu().
|
protectedinherited |
Builds an entry which allows to open the type parameter window.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 327 of file GUIGlObject.cpp.
References APP_TABLE, GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MID_SHOWTYPEPARS, and TL.
Referenced by GUIBaseVehicle::getPopUpMenu(), GUIContainer::getPopUpMenu(), getPopUpMenu(), and GUIPerson::getPopUpMenu().
|
inherited |
whether this edge allows changing to the opposite direction edge
Definition at line 1330 of file MSEdge.cpp.
References MSGlobals::gUsingInternalLanes, MSEdge::isInternal(), MSEdge::myLanes, and STRAIGHT.
Referenced by MSEdge::buildLaneChanger(), and MSLCM_SL2015::prepareStep().
|
inherited |
Performs lane changing on this edge.
Definition at line 892 of file MSEdge.cpp.
References MSLaneChanger::laneChange(), and MSEdge::myLaneChanger.
Referenced by MSEdgeControl::changeLanes(), and MSLane::changeLanes().
|
inherited |
check and register the opposite superposable edge if any
Definition at line 1377 of file MSEdge.cpp.
References MSEdge::dictionary(), MSEdge::getFunction(), Named::getID(), MSJunction::getOutgoing(), MSEdge::isSuperposable(), MSEdge::myBidiEdge, MSEdge::myFromJunction, MSEdge::myToJunction, NORMAL, MSEdge::setBidiLanes(), TL, WRITE_ERRORF, and WRITE_WARNINGF.
|
staticinherited |
Clears the dictionary.
Definition at line 1092 of file MSEdge.cpp.
References MSEdge::myDict, and MSEdge::myEdges.
Referenced by NLBuilder::buildNet(), MSNet::clearAll(), and MSVehicle::updateBestLanes().
|
inherited |
Clears the parameter map.
Definition at line 139 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NLHandler::beginEdgeParsing(), and GNESingleParametersDialog::onCmdAccept().
|
inherited |
Remove all transportables before quick-loading state.
Definition at line 1677 of file MSEdge.cpp.
References MSEdge::myContainers, MSEdge::myPersons, and MSEdge::myWaiting.
|
overridevirtual |
Has to be called after all edges were built and all connections were set.
Reimplemented from MSEdge.
Definition at line 81 of file GUIEdge.cpp.
References MSEdge::closeBuilding(), MSEdge::getFromJunction(), MSJunction::getOutgoing(), MSEdge::getPermissions(), MSEdge::getSuccessors(), MSEdge::getToJunction(), MSEdge::isTazConnector(), and myShowDeadEnd.
void GUIEdge::closeTraffic | ( | const GUILane * | lane | ) |
close this edge for traffic
Definition at line 614 of file GUIEdge.cpp.
References GUILane::closeTraffic(), MSEdge::getLanes(), GUILane::isClosed(), and MSEdge::rebuildAllowedLanes().
|
privateinherited |
create full name
Definition at line 430 of file GUIGlObject.cpp.
References GUIGlObject::getMicrosimID(), StringBijection< T >::getString(), GUIGlObject::myGLObjectType, and GUIGlObject::TypeNames.
Referenced by GUIGlObject::GUIGlObject(), and GUIGlObject::setMicrosimID().
Disables vaporization.
The internal vaporization counter is decreased what disables the vaporization if it was only once enabled. Called from the event handler.
[in] | t | The current time (unused) |
ProcessError | not thrown by this method, just derived |
Definition at line 519 of file MSEdge.cpp.
References MSEdge::myVaporizationRequests.
Referenced by NLTriggerBuilder::buildVaporizer().
|
virtualinherited |
delete GLObject (Currently used only in netedit)
Reimplemented in GNEAdditional, GNEGenericData, GNEDemandElement, GNEConnection, GNECrossing, GNEEdge, GNEEdgeType, GNEInternalLane, GNEJunction, GNELane, GNELaneType, GNEWalkingArea, and GNENetworkElement.
Definition at line 221 of file GUIGlObject.cpp.
|
staticinherited |
Returns the MSEdge associated to the key id if it exists, otherwise returns nullptr.
Definition at line 1063 of file MSEdge.cpp.
References MSEdge::myDict.
|
staticinherited |
Inserts edge into the static dictionary Returns true if the key id isn't already in the dictionary. Otherwise returns false.
Definition at line 1047 of file MSEdge.cpp.
References MSEdge::getNumericalID(), MSEdge::myDict, and MSEdge::myEdges.
Referenced by LIBSUMO_NAMESPACE::Person::add(), LIBSUMO_NAMESPACE::Route::add(), NLHandler::addConflict(), NLHandler::addConnection(), NLHandler::addDistrict(), NLHandler::addDistrictEdge(), NLHandler::addEdgeLaneMeanData(), GUINet::EdgeFloatTimeLineRetriever_GUI::addEdgeRelWeight(), GUINet::EdgeFloatTimeLineRetriever_GUI::addEdgeWeight(), NLBuilder::EdgeFloatTimeLineRetriever_EdgeEffort::addEdgeWeight(), NLBuilder::EdgeFloatTimeLineRetriever_EdgeTravelTime::addEdgeWeight(), MSRouteHandler::addRideOrTransport(), NLHandler::addRoundabout(), MSRouteHandler::addStop(), MSBaseVehicle::addStop(), MSRouteHandler::addTranship(), MSRouteHandler::addVehicleStopsToImplicitRoute(), LIBSUMO_NAMESPACE::Person::appendDrivingStage(), NLEdgeControlBuilder::beginEdgeParsing(), NLBuilder::build(), libsumo::Helper::buildStopParameters(), NLTriggerBuilder::buildVaporizer(), LIBSUMO_NAMESPACE::Vehicle::changeTarget(), MSEdge::checkAndRegisterBiDirEdge(), NLHandler::closeEdge(), MSRouteHandler::closeRoute(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), MSEdge::dictionaryHint(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), LIBSUMO_NAMESPACE::Simulation::findRoute(), LIBSUMO_NAMESPACE::Edge::getEdge(), libsumo::Helper::getEdge(), NLDetectorBuilder::getEdgeChecking(), libsumo::Helper::getLaneChecking(), MSDevice_Routing::getParameter(), MSDevice_SSM::initEdgeFilter(), MSDevice_FCD::initOnce(), MSBaseVehicle::interpretOppositeStop(), MSPedestrianPushButton::loadPushButtons(), MSDevice_Vehroutes::loadState(), MSDevice_FCDReplay::FCDHandler::makePlan(), MSDetectorFileOutput::MSDetectorFileOutput(), NLHandler::myEndElement(), MSStateHandler::myStartElement(), MSTriggeredRerouter::myStartElement(), MSDevice_FCDReplay::FCDHandler::myStartElement(), NLTriggerBuilder::parseAndBuildCalibrator(), NLTriggerBuilder::parseAndBuildRerouter(), MSEdge::parseEdgesList(), MSRouteHandler::parseFromViaTo(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::reroute(), MSDevice_FCDReplay::FCDHandler::retrieveEdge(), MSRouteHandler::retrieveEdge(), LIBSUMO_NAMESPACE::Vehicle::setAdaptedTraveltime(), LIBSUMO_NAMESPACE::Vehicle::setEffort(), and MSDevice_Routing::setParameter().
|
staticinherited |
Returns the MSEdge associated to the key id giving a hint with a numerical id.
Definition at line 1073 of file MSEdge.cpp.
References MSEdge::dictionary(), Named::getID(), and MSEdge::myEdges.
Referenced by NLHandler::addConnection().
|
overridevirtual |
Draws the object.
[in] | s | The settings for the current view (may influence drawing) |
Implements GUIGlObject.
Definition at line 259 of file GUIEdge.cpp.
References Position::add(), RGBColor::alpha(), CONNECTOR, GUIVisualizationSettings::containerSize, CROSSING, GUIVisualizationSettings::cwaEdgeName, DEG2RAD, GUIVisualizationSettings::drawCrossingsAndWalkingareas, GUIContainer::drawGL(), GUILane::drawGL(), GUIPerson::drawGL(), GUIVisualizationSettings::drawJunctionShape, drawMesoVehicles(), GUIGlObject::drawName(), GLHelper::drawTextSettings(), GUIVisualizationSettings::edgeColorer, GUIVisualizationSettings::edgeName, GUIVisualizationSettings::edgeParam, GUIVisualizationSettings::edgeScaleValue, GUIVisualizationSettings::edgeValue, GUIVisualizationSettings::edgeValueRainBow, MSEdge::getBidiEdge(), getColorValue(), GUILane::getColorValueWithFunctional(), GUIVisualizationSizeSettings::getExaggeration(), GUIGlObject::getGlID(), GUIVisualizationSettings::getLaneEdgeMode(), GUIVisualizationSettings::getLaneEdgeScaleMode(), Parameterised::getParameter(), getScaleValue(), GUILane::getScaleValue(), GUILane::getShape(), MSEdge::getStreetName(), GUIVisualizationSettings::getTextAngle(), gSelected, MSGlobals::gUseMesoSim, GUIVisualizationSettings::hideConnectors, GUIVisualizationRainbowSettings::hideMax, GUIVisualizationRainbowSettings::hideMin, INTERNAL, GUIVisualizationSettings::internalEdgeName, GUISelectedStorage::isSelected(), GUIVisualizationSettings::laneColorer, GUIVisualizationSettings::laneParam, PositionVector::length(), GUIVisualizationRainbowSettings::maxThreshold, GUIVisualizationSizeSettings::minSize, GUIVisualizationRainbowSettings::minThreshold, GUIVisualizationSettings::MISSING_DATA, Position::mul(), MSEdge::myContainers, MSEdge::myFunction, MSEdge::myLanes, myLock, MSEdge::myPersons, MSEdge::myStreetName, NORMAL, GUIVisualizationSettings::personSize, GLHelper::popName(), PositionVector::positionAtOffset(), GLHelper::pushName(), PositionVector::rotationAtOffset(), PositionVector::rotationDegreeAtOffset(), GUIVisualizationSettings::scale, GUIVisualizationTextSettings::scaledSize(), GUIVisualizationSettings::secondaryShape, setColor(), GUIVisualizationTextSettings::show(), GUIVisualizationSettings::spreadSuperposed, GUIVisualizationSettings::streetName, toString(), GUIVisualizationSettings::vehicleSize, and WALKINGAREA.
|
virtualinherited |
Draws additional, user-triggered visualisations.
[in] | parent | The view |
[in] | s | The settings for the current view (may influence drawing) |
Reimplemented in GUIBaseVehicle, GUIContainer, and GUIPerson.
Definition at line 253 of file GUIGlObject.cpp.
References UNUSED_PARAMETER.
void GUIEdge::drawMesoVehicles | ( | const GUIVisualizationSettings & | s | ) | const |
@fixme use correct shape for geometryPositionAtOffset
Definition at line 391 of file GUIEdge.cpp.
References GUIBaseVehicle::drawOnPos(), MSLane::geometryPositionAtOffset(), MEVehicle::getBlockTimeSeconds(), MEVehicle::getEventTimeSeconds(), GUINet::getGUIInstance(), GUINet::getGUIMEVehicleControl(), MEVehicle::getLastEntryTimeSeconds(), MSLane::getLength(), MSVehicleType::getLengthWithGap(), GUILane::getShape(), MSBaseVehicle::getVehicleType(), MSGlobals::gMesoNet, MSLane::interpolateLanePosToGeometryPos(), MIN2(), MSEdge::myLanes, myLock, GLHelper::popMatrix(), GUIMEVehicleControl::releaseVehicles(), PositionVector::rotationAtOffset(), GUIVisualizationSettings::secondaryShape, GUIMEVehicleControl::secureVehicles(), and SIMTIME.
Referenced by drawGL().
|
inherited |
draw name of item
Definition at line 436 of file GUIGlObject.cpp.
References GLHelper::drawTextSettings(), GUIGlObject::getMicrosimID(), and GUIVisualizationTextSettings::show().
Referenced by GNEEdge::drawEdgeName(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIJunctionWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GNETAZ::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNECrossing::drawGL(), GNEWalkingArea::drawGL(), GUIContainer::drawGL(), drawGL(), GUIPerson::drawGL(), GUIPointOfInterest::drawInnerPOI(), GUIPolygon::drawInnerPolygon(), GNEJunction::drawJunctionName(), GNELaneAreaDetector::drawLanePartialGL(), GNERoute::drawLanePartialGL(), GNEVehicle::drawLanePartialGL(), GUIBaseVehicle::drawOnPos(), GNEDemandElementPlan::drawPlanLanePartial(), and GNEPoly::drawPolygonNameAndType().
|
staticinherited |
Returns all edges with a numerical id.
Definition at line 1086 of file MSEdge.cpp.
References MSEdge::myEdges.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), GUIViewTraffic::buildColorRainbow(), MSNet::clearState(), GUIViewTraffic::getEdgeLaneParamKeys(), MSNet::getRouterEffort(), MSNet::getRouterTT(), GUINet::initGUIStructures(), MSDevice_FCDReplay::FCDHandler::initLaneTree(), MSRouteHandler::initLaneTree(), MSRoutingEngine::initRouter(), MSPModel_Striping::initWalkingAreaPaths(), MSPedestrianPushButton::loadCrossingEdgeMap(), GUIApplicationWindow::onCmdEditChosen(), MSStateHandler::saveState(), and GUIViewTraffic::showLaneReachability().
double GUIEdge::getAllowedSpeed | ( | ) | const |
Definition at line 446 of file GUIEdge.cpp.
References MSEdge::myLanes.
Referenced by getColorValue(), getParameterWindow(), getRelativeSpeed(), getScaleValue(), and setMultiColor().
|
inlineinherited |
return opposite superposable/congruent edge, if it exist and 0 else
Definition at line 282 of file MSEdge.h.
References MSEdge::myBidiEdge.
Referenced by MSDriveWay::addSidings(), MSDriveWay::buildRoute(), MSDriveWay::buildSubFoe(), MSVehicle::checkReversal(), drawGL(), GUILane::drawGL(), LIBSUMO_NAMESPACE::Edge::getBidiEdge(), MSLane::getFollowersOnConsecutive(), MSLane::handleCollisionBetween(), and MSDriveWay::match().
Boundary GUIEdge::getBoundary | ( | ) | const |
Returns the street's geometry.
Definition at line 133 of file GUIEdge.cpp.
References Boundary::add(), Boundary::grow(), MSEdge::isTazConnector(), MSEdge::myLanes, MSEdge::myPredecessors, and MSEdge::mySuccessors.
Referenced by getCenteringBoundary().
|
inherited |
Definition at line 1609 of file MSEdge.cpp.
References MSGlobals::gMesoNet, and MSEdge::myLanes.
Referenced by getColorValue(), getParameterWindow(), and getScaleValue().
|
overridevirtual |
Returns the boundary to which the view shall be centered in order to show the object.
Implements GUIGlObject.
Definition at line 245 of file GUIEdge.cpp.
References getBoundary(), and Boundary::grow().
|
overridevirtual |
Returns the priority of receiving mouse clicks.
Reimplemented from GUIGlObject.
Definition at line 665 of file GUIEdge.cpp.
References GLO_EDGE, MSGlobals::gUseMesoSim, and GUIGlObject::INVALID_PRIORITY.
|
overridevirtual |
gets the color value according to the current scheme index
Reimplemented from GUIGlObject.
Definition at line 540 of file GUIEdge.cpp.
References GUIVisualizationSettings::edgeData, GUIVisualizationSettings::edgeParam, getAllowedSpeed(), MSEdge::getBruttoOccupancy(), GUINet::getEdgeData(), MSEdge::getFlow(), MSEdge::getFunction(), GUIGlObject::getGlID(), GUINet::getGUIInstance(), MSEdge::getMeanSpeed(), Parameterised::getParameter(), getPendingEmits(), getRelativeSpeed(), MSEdge::getRoutingSpeed(), GUIGlObject::getType(), gSelected, GUISelectedStorage::isSelected(), StringUtils::toBool(), and StringUtils::toDouble().
Referenced by GUIViewTraffic::buildColorRainbow(), drawGL(), and setColor().
|
inlineinherited |
Gets the crossed edge ids.
Definition at line 359 of file MSEdge.h.
References MSEdge::myCrossingEdges.
Referenced by MSPedestrianPushButton::loadCrossingEdgeMap().
|
inherited |
Computes and returns the current travel time for this edge.
The mean speed of all lanes is used to compute the travel time. To avoid infinite travel times, the given minimum speed is used.
[in] | minSpeed | The minimumSpeed to assume if traffic on this edge is stopped |
Definition at line 1031 of file MSEdge.cpp.
References MSEdge::getLength(), MSEdge::getMeanSpeed(), MAX2(), MSEdge::myAmDelayed, and MSEdge::myEmptyTraveltime.
Referenced by MSVehicleTransfer::checkInsertions(), and MSFullExport::writeEdge().
Finds a depart lane for the given vehicle parameters.
Depending on the depart lane procedure a depart lane is chosen. Repeated calls with the same vehicle may return different results if the procedure is "random" or "free". In case no appropriate lane was found, 0 is returned.
[in] | veh | The vehicle to get the depart lane for |
Definition at line 654 of file MSEdge.cpp.
References ALLOWED_FREE, MSEdge::allowedLanes(), MSRoute::begin(), BEST_FREE, BEST_LANE_LOOKAHEAD, BEST_PROB, DEFAULT, SUMOVehicleParameter::departLane, SUMOVehicleParameter::departLaneProcedure, FIRST_ALLOWED, FREE, MSVehicle::getBestLanes(), MSEdge::getDepartPosBound(), MSEdge::getFirstAllowed(), MSEdge::getFreeLane(), MSBaseVehicle::getParameter(), MSEdge::getProbableLane(), RandHelper::getRandomFrom(), MSBaseVehicle::getRoute(), MSVehicleType::getVehicleClass(), MSEdge::getVehicleMaxSpeed(), MSBaseVehicle::getVehicleType(), GIVEN, MSEdge::isInternal(), MIN2(), MSEdge::myLanes, RANDOM, MSRoute::size(), and MSVehicle::updateBestLanes().
Referenced by MSEdge::insertVehicle(), and MSEdge::validateDepartSpeed().
|
inherited |
consider given departLane parameter (only for validating speeds)
Definition at line 643 of file MSEdge.cpp.
References SUMOVehicleParameter::departLane, SUMOVehicleParameter::departLaneProcedure, SUMOTrafficObject::getParameter(), MSVehicleType::getVehicleClass(), SUMOTrafficObject::getVehicleType(), GIVEN, and MSEdge::myLanes.
Referenced by MSEdge::validateDepartSpeed().
|
protectedinherited |
return upper bound for the depart position on this edge
Definition at line 596 of file MSEdge.cpp.
References BASE, DEFAULT, SUMOVehicleParameter::departPos, SUMOVehicleParameter::departPosProcedure, FREE, MSEdge::getLength(), MSVehicleType::getLength(), MSBaseVehicle::getParameter(), MSVehicle::getPositionOnLane(), MSBaseVehicle::getVehicleType(), GIVEN, LAST, MIN2(), MSEdge::myLanes, MSEdge::myLength, RANDOM, and RANDOM_FREE.
Referenced by MSEdge::getDepartLane().
|
inlineinherited |
Returns the kilometrage/mileage encoding at the start of the edge (negative values encode descending direction)
Definition at line 335 of file MSEdge.h.
References MSEdge::myDistance.
Referenced by GUILane::getColorValue(), and GUILane::getParameterWindow().
|
inherited |
Returns the kilometrage/mileage at the given offset along the edge.
Definition at line 1664 of file MSEdge.cpp.
References MSEdge::myDistance.
Referenced by MSFCDExport::write().
|
inherited |
optimistic air distance heuristic for use in routing
[in] | other | The edge to which the distance shall be returned |
[in] | doBoundaryEstimate | whether the distance should be estimated by looking at the distance of the bounding boxes |
Definition at line 1133 of file MSEdge.cpp.
References Boundary::distanceTo2D(), MSEdge::getLanes(), MSEdge::isTazConnector(), and MSEdge::myBoundary.
|
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 100 of file Parameterised.cpp.
References Parameterised::myMap, TL, StringUtils::toDouble(), WRITE_WARNING, and WRITE_WARNINGF.
Referenced by MSPModel_JuPedSim::add(), MSVehicleType::build(), MSVehicleType::check(), 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(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), and MSDevice_Battery::readParameterValue().
|
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 118 of file Parameterised.cpp.
References StringTokenizer::getVector(), Parameterised::myMap, TL, StringUtils::toDouble(), WRITE_WARNING, and WRITE_WARNINGF.
Referenced by EnergyParams::EnergyParams().
|
inlineinherited |
Returns the type of the edge.
Definition at line 319 of file MSEdge.h.
References MSEdge::myEdgeType.
Referenced by MELoop::buildSegmentsFor(), GUILane::getParameterWindow(), getTypeParameterWindow(), MSEdge::inferEdgeType(), MSTrafficLightLogic::initMesoTLSPenalties(), MSLane::initRestrictions(), MSEdge::recalcCache(), and MELoop::updateSegmentsForEdge().
|
inlinevirtualinherited |
return exaggeration associated with this GLObject
Reimplemented in GUIBaseVehicle, GUIBusStop, GUICalibrator, GUIChargingStation, GUIDetectorWrapper, GUIE3Collector::MyWrapper, GUIInstantInductLoop::MyWrapper, GUIJunctionWrapper, GUILaneSpeedTrigger, GUIOverheadWire, GUIOverheadWireClamp, GUIParkingArea, GUITriggeredRerouter, GUITriggeredRerouter::GUITriggeredRerouterEdge, GUIMEInductLoop::MyWrapper, GUIMEVehicle, GNEAdditional, GNETAZ, GNEContainer, GNEPerson, GNERoute, GNEStop, GNEStopPlan, GNEVehicle, GNEConnection, GNEEdge, GNEJunction, GNELane, GUIContainer, GUIE2Collector::MyWrapper, GUIPerson, GNEPOI, GNEPoly, GUIPointOfInterest, and GUIPolygon.
Definition at line 176 of file GUIGlObject.h.
References UNUSED_PARAMETER.
Referenced by GUIPointOfInterest::checkDraw(), GUIPolygon::checkDraw(), GNEWalkingArea::drawGL(), GUIPointOfInterest::drawInnerPOI(), and GUIPolygon::drawInnerPolygon().
|
inherited |
Definition at line 726 of file MSEdge.cpp.
References MSLane::empty(), and MSEdge::myLanes.
Referenced by MSBaseVehicle::addStop(), MSEdge::getDepartLane(), MSDevice_Tripinfo::notifyEnter(), and MSDevice_Tripinfo::notifyLeave().
|
inherited |
return flow based on meanSpead
Definition at line 1596 of file MSEdge.cpp.
References MSGlobals::gMesoNet, and MSEdge::myLanes.
Referenced by getColorValue(), getParameterWindow(), and getScaleValue().
|
inherited |
Finds the emptiest lane allowing the vehicle class.
The emptiest lane is the one which vehicle insertion is most likely to succeed.
If there are no vehicles before departPos, then the lane with the largest gap between departPos and the last vehicle is Otheriwise the lane with lowes occupancy is selected If there is more than one, the first according to its index in the lane container is chosen.
If allowed==0, the lanes allowed for the given vehicle class will be used.
[in] | allowed | The lanes to choose from |
[in] | vclass | The vehicle class to look for |
[in] | departPos | An upper bound on vehicle depart position |
Definition at line 526 of file MSEdge.cpp.
References MSEdge::allowedLanes(), MSVehicle::getPositionOnLane(), and MSEdge::myLength.
Referenced by MSVehicleTransfer::checkInsertions(), and MSEdge::getDepartLane().
|
inlineinherited |
Definition at line 414 of file MSEdge.h.
References MSEdge::myFromJunction.
Referenced by MSPModel_JuPedSim::add(), MSEdge::addSuccessor(), MSPModel::canTraverse(), closeBuilding(), MSPModel_NonInteracting::PState::computeDuration(), MSLCHelper::divergentRoute(), MSDevice_SSM::findSurroundingVehicles(), MSDriveWay::getDepartureDriveway(), MSPModel_Striping::getNextLane(), MSDevice_SSM::getUpstreamVehicles(), MSTrafficLightLogic::initMesoTLSPenalties(), MSVehicle::isLeader(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), libsumo::Helper::moveToXYMap(), MSDriveWay::overlap(), MSPModel_Striping::PState::PState(), MSStageTrip::reroute(), MSLink::setRequestInformation(), MSStageWalking::walkDistance(), and MSDriveWay::writeDepatureBlocks().
|
inlineinherited |
Definition at line 94 of file GUIGlObject.h.
References GUIGlObject::myFullName.
Referenced by SUMORTree::addAdditionalGLObject(), GUIGlObject::buildPopupHeader(), GNENetworkElement::getShapeEditedPopUpMenu(), GUIGlObject_AbstractAdd::GUIGlObject_AbstractAdd(), GUIGLObjectPopupMenu::onCmdCopyTypedName(), GUIParam_PopupMenuInterface::onCmdOpenTracker(), GUIParameterTableWindow::onLeftBtnPress(), GUICalibrator::openManipulator(), GUILaneSpeedTrigger::openManipulator(), GUITriggeredRerouter::openManipulator(), GUIDialog_GLChosenEditor::rebuildList(), GUIGlObject_AbstractAdd::remove(), SUMORTree::removeAdditionalGLObject(), and GUISelectedStorage::save().
|
inlineinherited |
Returns the edge type (SumoXMLEdgeFunc)
Definition at line 258 of file MSEdge.h.
References MSEdge::myFunction.
Referenced by MSEdge::checkAndRegisterBiDirEdge(), getColorValue(), and MSRailSignalControl::vehicleStateChanged().
|
inherited |
get icon associated with this GL Object
Definition at line 194 of file GUIGlObject.cpp.
References GUIGlObject::myIcon.
Referenced by GNENetworkElement::getShapeEditedPopUpMenu().
|
inlineinherited |
Returns the numerical id of the object.
Definition at line 104 of file GUIGlObject.h.
References GUIGlObject::myGlID.
Referenced by GUIMessageWindow::appendMsg(), GUIGlObject::buildSelectionPopupEntry(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIJunctionWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUIContainer::drawGL(), drawGL(), GUILane::drawGL(), GUIPerson::drawGL(), GUIPointOfInterest::drawGL(), GUIPolygon::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIContainer::drawGLAdditional(), GUIPerson::drawGLAdditional(), GUILane::drawLinkRule(), GUIBaseVehicle::drawOnPos(), GUIJunctionWrapper::getColorValue(), GUIVehicle::getColorValue(), GUIMEVehicle::getColorValue(), GUIContainer::getColorValue(), getColorValue(), GUIPerson::getColorValue(), GNEPOI::getGlID(), GNEPoly::getGlID(), GUISUMOAbstractView::getGUIGlObjectsAtPosition(), getIDs(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIShapeContainer::getPOIIds(), GUIShapeContainer::getPolygonIDs(), GUIBaseVehicle::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPerson::getPopUpMenu(), getScaleValue(), GNEViewNet::getToolTipID(), GUITransportableControl::insertIDs(), GUIMEVehicleControl::insertVehicleIDs(), GUIVehicleControl::insertVehicleIDs(), GUILane::isLaneOrEdgeSelected(), GUIVehicle::isSelected(), GUIContainer::isSelected(), isSelected(), GUILane::isSelected(), GUIPerson::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIGlChildWindow::isSelected(), GUIViewTraffic::onCmdAddRerouter(), GUIGLObjectPopupMenu::onCmdAddSelected(), GUIGLObjectPopupMenu::onCmdCenter(), GNEElementTree::onCmdCenterItem(), GUIViewTraffic::onCmdCloseEdge(), GUIViewTraffic::onCmdCloseLane(), GUIDialog_GLChosenEditor::onCmdDeselect(), GUIApplicationWindow::onCmdEditChosen(), GUIGLObjectPopupMenu::onCmdRemoveSelected(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIContainer::GUIContainerPopupMenu::onCmdStartTrack(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIDialog_ChooserAbstract::onCmdTrack(), GUIViewTraffic::onGamingClick(), ComparatorClickPriority::operator()(), GUIDialog_ChooserAbstract::refreshList(), GLObjectValuePassConnector< T >::removeObject(), GUIVehicle::selectBlockingFoes(), GUIPointOfInterest::setColor(), GUIPolygon::setColor(), GUIMessageWindow::setCursorPos(), GUIViewTraffic::showLaneReachability(), GUIBaseVehicle::~GUIBaseVehicle(), GUIGlObject::~GUIGlObject(), and GUIPerson::~GUIPerson().
|
inlineinherited |
Returns the id.
Definition at line 74 of file Named.h.
References Named::myID.
Referenced by MSLCM_LC2013::_patchSpeed(), MSLCM_SL2015::_patchSpeed(), MSDriveWay::_saveState(), 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(), MSDevice_GLOSA::adaptSpeed(), MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToJunctionLeader(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaderDistance(), MSVehicle::adaptToLeaders(), MSVehicle::adaptToOncomingLeader(), MSVehicleTransfer::add(), MSDetectorControl::add(), MSPModel_JuPedSim::add(), MSPModel_Striping::add(), PCPolyContainer::add(), ShapeContainer::add(), PCPolyContainer::add(), ShapeContainer::add(), MSDetectorControl::add(), MSDetectorControl::add(), NLTriggerBuilder::addAccess(), RORouteDef::addAlternative(), MSLane::addApproachingLane(), MSDriveWay::addBidiFoes(), 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(), MSDriveWay::addParallelFoes(), NIImporter_SUMO::addPhase(), addRerouter(), MSDevice_Taxi::addReservation(), MSDispatch::addReservation(), MSRouteHandler::addRideOrTransport(), RONet::addRouteDef(), MSDriveWay::addSidings(), NIXMLEdgesHandler::addSplit(), NBTrafficLightLogic::addStep(), MSRouteHandler::addStop(), RORouteHandler::addStop(), ROVehicle::addStop(), MSBaseVehicle::addStop(), MSNet::addStoppingPlace(), MSRouteHandler::addTranship(), MSVehicle::addTransportable(), AGActivityTripWriter::addTrip(), MSPModel_JuPedSim::addWaitingSet(), 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_Interacting::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(), MSTransportableDevice_FCDReplay::buildDevices(), NIImporter_VISUM::buildDistrictNode(), MSDriveWay::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(), MSPModel_JuPedSim::buildPedestrianNetwork(), MSDriveWay::buildRoute(), MELoop::buildSegmentsFor(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), libsumo::Helper::buildStopParameters(), MSDriveWay::buildSubFoe(), MSDevice_Bluelight::buildVehicleDevices(), MSVehicleDevice_BTreceiver::buildVehicleDevices(), MSVehicleDevice_BTsender::buildVehicleDevices(), MSDevice_DriverState::buildVehicleDevices(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice_FCD::buildVehicleDevices(), MSDevice_FCDReplay::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(), MSDevice_Taxi::cancelCurrentCustomers(), MSDevice_Taxi::cancelCustomer(), MSStageDriving::canLeaveVehicle(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), MSLCHelper::canSaveBlockerLength(), MSDriveWay::canUseSiding(), MSLaneChanger::change(), MSLaneChangerSublane::change(), MSLCM_SL2015::changed(), MSLaneChanger::changeOpposite(), MELoop::changeSegment(), MSActuatedTrafficLightLogic::changeStepAndDuration(), MSSimpleTrafficLightLogic::changeStepAndDuration(), LIBSUMO_NAMESPACE::Vehicle::changeTarget(), MSCFModel_CC::changeWholePlatoonLane(), MSTLLogicControl::check2Switch(), MSEdge::checkAndRegisterBiDirEdge(), MSLaneChanger::checkChange(), MSLaneChanger::checkChangeOpposite(), MSLaneChangerSublane::checkChangeOpposite(), MSLaneChangerSublane::checkChangeSublane(), NBEdgeCont::checkConsistency(), MSDriveWay::checkCrossingFlanks(), MSDevice_ToC::checkDynamicToC(), MSLane::checkFailure(), MSDriveWay::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(), MSDispatch_GreedyClosest::computeDispatch(), 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(), MSDriveWay::conflictLaneOccupied(), NGNet::connect(), MSRailSignal::constraintsAllow(), NEMALogic::constructTimingAndPhaseDefs(), MSLaneChanger::continueChange(), MSLaneChangerSublane::continueChangeSublane(), libsumo::Helper::convertCartesianToRoadMap(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), NBLoadedSUMOTLDef::copyIndices(), NBOwnTLDef::correctConflicting(), NBOwnTLDef::corridorLike(), MSSOTLWaveTrafficLightLogic::countVehicles(), MSSOTLE2Sensors::countVehicles(), MSDevice_SSM::createEncounters(), GNETLSEditorFrame::TLSDefinition::createTLS(), GUINet::createTLWrapper(), MSDevice_Taxi::customerArrived(), NBNodeCont::customTLID(), MSDevice_ToC::deactivateDeliberateLCs(), libsumo::Helper::debugPrint(), MSLCM_SL2015::decideDirection(), 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(), MSParkingArea::enter(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::enterLaneAtMove(), MSVehicle::Manoeuvre::entryManoeuvreIsComplete(), MSTransportableControl::erase(), NEMALogic::error_handle_not_set(), MSStoppingPlaceRerouter::evaluateDestination(), 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(), MSPModel_JuPedSim::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(), MSRailSignalControl::findDeadlockFoes(), MSDriveWay::findFlankProtection(), MSDevice_SSM::findFoeConflictLane(), MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::flushConflicts(), MSDevice_SSM::flushGlobalMeasures(), MSDriveWay::foeDriveWayOccupied(), MSCFModel_CACC::followSpeed(), MSCFModel_EIDM::followSpeed(), MSCFModel_W99::followSpeed(), NBTrafficLightDefinition::forbids(), MSLaneChanger::foundHilltop(), MSCFModel_EIDM::freeSpeed(), NBNodeCont::generateNodeClusters(), MSDevice_Tripinfo::generateOutput(), MSDevice_StationFinder::generateOutput(), MSStopOut::generateOutputForUnfinished(), GUITrafficLightLogicWrapper::getActiveTLLogic(), RODFDetectorCon::getAggFlowFor(), RODFDetectorCon::getAnyDetectorForEdge(), MSPModel_Striping::getArbitraryPath(), MSVehicle::getBackPosition(), MSVehicle::getBackPositionOnLane(), LIBSUMO_NAMESPACE::Vehicle::getBestLanes(), MSLaneChanger::getBestLanesOpposite(), NBOwnTLDef::getBestPair(), LIBSUMO_NAMESPACE::Edge::getBidiEdge(), LIBSUMO_NAMESPACE::Lane::getBidiLane(), SUMOTrafficObject::getBoolParam(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), MSVehicle::getCenterOnEdge(), MSDevice_Battery::getChargingStationID(), MSDriveWay::getClickableTLLinkID(), GUIVehicle::getColorValue(), MSLaneChanger::getColumnleader(), MSActuatedTrafficLightLogic::getConditions(), LIBSUMO_NAMESPACE::TrafficLight::getConstraintsByFoe(), LIBSUMO_NAMESPACE::TrafficLight::getControlledLinks(), MSLane::getCriticalLeader(), MSCalibrator::getCurrentStateInterval(), NBNodeShapeComputer::getDefaultRadius(), MSDriveWay::getDepartureDriveway(), MSLink::getDescription(), MSStop::getDescription(), MSRailSignalConstraint_Predecessor::getDescription(), NBTrafficLightDefinition::getDescription(), MSStageTrip::getDestinationDescription(), GUIPerson::getDestinationEdgeID(), GUIPerson::getDestinationStopID(), MSDevice_SSM::getDetectionRange(), RODFNet::getDetectorEdge(), MSActuatedTrafficLightLogic::getDetectorPriority(), MSRailSignal::LinkInfo::getDriveWay(), MSRailSignal::LinkInfo::getDriveWay(), GUIVehicle::getDriveWays(), MSSimpleTrafficLightLogic::getEarliest(), GUIPerson::getEdgeID(), GUIMEVehicle::getEdgeID(), MSMeanData::getEdgeID(), LIBSUMO_NAMESPACE::RouteProbe::getEdgeID(), MSDevice_SSM::getExtraTime(), MSLane::getFirstVehicleInformation(), SUMOTrafficObject::getFloatParam(), MSBaseVehicle::getFlowID(), MSLane::getFollower(), MSLane::getFollowersOnConsecutive(), GUIPerson::getFromEdgeID(), MSPModel_InteractingState::getID(), MSPModel_Striping::PStateVehicle::getID(), NBEdge::getID(), LIBSUMO_NAMESPACE::Vehicle::getJunctionFoes(), MSDriveWay::getJunctionLinkID(), LIBSUMO_NAMESPACE::Calibrator::getLaneID(), NEMALogic::getLaneInfoFromNEMAState(), MSParkingArea::getLastFreePos(), MSParkingArea::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(), MSRailSignal::getNewDrivewayID(), 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_StationFinder::getParameter(), 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(), MSStageDriving::getStageSummary(), MSStageTranship::getStageSummary(), MSStageWaiting::getStageSummary(), MSStageWalking::getStageSummary(), MSDevice_Taxi::getStopLane(), MSNet::getStoppingPlaceID(), SUMOTrafficObject::getStringParam(), MSLane::getSurroundingVehicles(), MSActuatedTrafficLightLogic::getTarget(), LIBSUMO_NAMESPACE::Vehicle::getTeleportingIDList(), SUMOTrafficObject::getTimeParam(), MSDriveWay::getTLLinkID(), NIImporter_OpenDrive::getTLSSecure(), MSDevice_ElecHybrid::getTractionSubstationID(), PedestrianEdge< E, L, N, V >::getTravelTime(), MSVehicle::getUpcomingLanesUntil(), MSLane::getUpcomingLinks(), MSDevice_SSM::getUpstreamVehicles(), MSRailSignalConstraint::getVeh(), LIBSUMO_NAMESPACE::Person::getVehicle(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), GUIPerson::getVehicleID(), MSPModel_Striping::getVehicleObstacles(), MSStageTrip::getVehicles(), MSDevice_SSM::getVehiclesOnJunction(), MSStageDriving::getWaitingDescription(), MSEdge::getWaitingVehicle(), MSStoppingPlaceRerouter::getWeight(), MSLink::getZipperSpeed(), GNEEdge::GNEEdge(), NBNode::guessCrossings(), RODFDetectorCon::guessEmptyFlows(), NBNodeCont::guessTLs(), GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow(), MSLane::handleCollisionBetween(), MSLane::handleIntermodalCollisionBetween(), MSRailSignal::hasInsertionConstraint(), MSDriveWay::hasJoin(), MSDriveWay::hasLinkConflict(), MSBaseVehicle::hasValidRouteStart(), MSVehicle::hasValidRouteStart(), MSRailSignalControl::haveDeadlock(), 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(), MSDeterministicHiLevelTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), MSTrafficLightLogic::init(), MSActuatedTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::init(), MSRailSignal::init(), NEMALogic::init(), MSActuatedTrafficLightLogic::initAttributeOverride(), MSE2Collector::initAuxiliaries(), MESegment::initialise(), MSPModel_JuPedSim::initialize(), 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(), MSCFModel_CC::isPlatoonLaneChangeSafe(), 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(), MSVehicle::leaveLaneBack(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), MSPedestrianPushButton::loadCrossingEdgeMap(), MSStopOut::loadedContainers(), MSStopOut::loadedPersons(), NIImporter_OpenDrive::loadNetwork(), MSPedestrianPushButton::loadPushButtons(), MSVehicle::loadState(), MSVehicleTransfer::loadState(), MSActuatedTrafficLightLogic::loadState(), ODDistrictCont::makeDistricts(), MSE2Collector::makeMoveNotification(), MSE2Collector::makeVehicleInfo(), NWWriter_OpenDrive::mapmatchRoadObjects(), MSDriveWay::match(), MEVehicle::mayProceed(), MSSOTLE2Sensors::meanVehiclesSpeed(), METriggeredCalibrator::METriggeredCalibrator(), MSDevice_FCDReplay::move(), MSTransportableDevice_FCDReplay::move(), 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::MSParkingArea(), MSSimpleDriverState::MSSimpleDriverState(), MSLCM_SL2015::mustOvertakeStopped(), NBLoadedTLDef::myCompute(), NIImporter_SUMO::myEndElement(), MSStateHandler::myStartElement(), MSCalibrator::myStartElement(), MSLaneSpeedTrigger::myStartElement(), MSTriggeredRerouter::myStartElement(), MSDevice_FCDReplay::FCDHandler::myStartElement(), MSPModel_Interacting::nextBlocking(), MSLane::AnyVehicleIterator::nextIsMyVehicles(), 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(), MSE3Collector::MSE3EntryReminder::notifyEnter(), MSE3Collector::MSE3LeaveReminder::notifyEnter(), MSDriveWay::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(), MSDriveWay::notifyLeave(), MSDriveWay::notifyLeaveBack(), MSDevice_ElecHybrid::notifyMove(), MSDevice_Battery::notifyMove(), MSDevice_Bluelight::notifyMove(), MSDevice_BTreceiver::notifyMove(), MSDevice_BTsender::notifyMove(), MSDevice_Example::notifyMove(), MSDevice_GLOSA::notifyMove(), MSDevice_SSM::notifyMove(), MSE2Collector::notifyMove(), MSInductLoop::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSDevice_StationFinder::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(), NBTrafficLightDefinition::railSignalUncontrolled(), MSDevice_Battery::readParameterValue(), MSOffTrafficLightLogic::rebuildPhase(), NBEdge::recheckLanes(), NBEdgeCont::recheckPostProcessConnections(), NIImporter_OpenStreetMap::reconstructLayerElevation(), NBLoadedSUMOTLDef::reconstructLogic(), NBEdge::reduceGeometry(), MSNet::registerCollision(), MSPModel_Striping::registerCrossingApproach(), MSLink::removeApproaching(), MSLink::removeApproachingPerson(), 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(), MSPerson::replaceWalk(), NIImporter_DlrNavteq::TrafficlightsHandler::report(), NLEdgeControlBuilder::reportCurrentEdgeOrLane(), MSDevice_SSM::requestsTrajectories(), MSDevice_ToC::requestToC(), MSStageTrip::reroute(), MSStoppingPlaceRerouter::reroute(), MSBaseVehicle::reroute(), MSRailSignal::LinkInfo::reroute(), GUIVehicle::rerouteDRTStop(), MSVehicle::rerouteParkingArea(), MSTransportable::rerouteParkingArea(), MSDevice_StationFinder::rerouteToChargingStation(), MSDriveWay::reserve(), 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(), MSStageWalking::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(), MSDevice_Battery::saveState(), MSDevice_StationFinder::saveState(), MSSimpleTrafficLightLogic::saveState(), MSStageDriving::saveState(), MSCalibrator::scheduleRemoval(), GUIVehicle::selectBlockingFoes(), MSE2Collector::selectLanes(), MSVehicle::setAngle(), MSLink::setApproaching(), MSLink::setApproaching(), MSVehicle::setApproachingForAllLinks(), NBNodeCont::setAsTLControlled(), GNEJunction::setAttribute(), 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(), MSDevice_Battery::setMaximumChargeRate(), NBEdge::setNodeBorder(), MSLane::setOpposite(), MSLCM_SL2015::setOwnState(), MSDevice_ToC::setParameter(), MSActuatedTrafficLightLogic::setParameter(), MSSimpleTrafficLightLogic::setParameter(), NEMALogic::setParameter(), MSCFModel_CACC::setParameter(), MSCFModel_CC::setParameter(), MSLane::setPartialOccupation(), 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(), MSRailSignal::storeTraCIVehicles(), MSLane::succLinkSec(), LIBSUMO_NAMESPACE::TrafficLight::swapConstraints(), MSDevice_ToC::switchHolderType(), GNETLSEditorFrame::TLSDefinition::switchProgram(), GUITrafficLightLogicWrapper::switchTLSLogic(), MSDevice_StationFinder::teleportToChargingStation(), MELoop::teleportVehicle(), MSDevice_ToC::ToCPreparationStep(), libsumo::Helper::TransportableStateListener::transportableStateChanged(), TraCIServer::transportableStateChanged(), MSDevice_ToC::triggerDownwardToC(), MSDevice_ToC::triggerMRM(), MSTriggeredRerouter::triggerRouting(), MSDevice_ToC::triggerUpwardToC(), MSTransportable::tripInfoOutput(), MSPerson::MSPersonStage_Access::tripInfoOutput(), METriggeredCalibrator::tryEmit(), MSPModel_JuPedSim::tryPedestrianInsertion(), MSSOTLTrafficLightLogic::trySwitch(), MSActuatedTrafficLightLogic::trySwitch(), NEMALogic::trySwitch(), MSStopOut::unloadedContainers(), MSStopOut::unloadedPersons(), MSPModel_Interacting::unregisterCrossingApproach(), MSDevice_SSM::update(), MSSimpleDriverState::update(), PolygonDynamics::update(), MSDevice_SSM::updateAndWriteOutput(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), MSLCM_SL2015::updateCFRelated(), MSDevice_StationFinder::updateChargeLimit(), LIBSUMO_NAMESPACE::TrafficLight::updateConstraints(), MSSOTLTrafficLightLogic::updateCTS(), NLEdgeControlBuilder::updateCurrentLaneStopOffset(), MSRailSignal::updateCurrentPhase(), MSVehicle::updateDriveItems(), MSDevice_SSM::updateEncounter(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), MSVehicle::updateFurtherLanes(), MSLCM_SL2015::updateGaps(), GNENetHelper::AttributeCarriers::updateJunctionID(), MSDevice_Taxi::updateMove(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSVehicle::Influencer::updateRemoteControlRoute(), MSDispatch::updateReservationFromPos(), 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(), MSDriveWay::writeBlocks(), MSRailSignal::writeBlocks(), NWWriter_DlrNavteq::writeConnectedLanes(), MSDriveWay::writeDepatureBlocks(), 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().
|
static |
Definition at line 104 of file GUIEdge.cpp.
References GUIGlObject::getGlID(), MSEdge::isNormal(), and MSEdge::myDict.
Referenced by GUISUMOViewParent::getObjectIDs(), and GUINet::getParameterWindow().
|
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(), MSDriveWay::addSidings(), MSLaneChanger::avoidDeadlock(), MSDriveWay::canUseSiding(), MSLaneChanger::changeOpposite(), MSLaneChanger::checkChangeOpposite(), MSDriveWay::checkFlanks(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), AFRouter< E, N, V >::compute(), AStarRouter< E, V >::compute(), DijkstraRouter< E, V >::compute(), AFBuild< E, N, V >::computeArcFlagsAux(), AFCentralizedSPTree< E, N, V >::computeCentralizedSPTree(), NBOwnTLDef::computeLogicAndConts(), Node2EdgeRouter< E, N, V >::computeNode2Edge(), Node2EdgeRouter< E, N, V >::computeNode2Edges(), MSDriveWay::conflictLaneOccupied(), NBPTLineCont::constructRoute(), MSLaneChanger::continueChange(), MSLane::detectCollisions(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::executeMove(), NBRailwayTopologyAnalyzer::extendDirectionPriority(), NBPTLineCont::findWay(), MSDriveWay::foeDriveWayOccupied(), 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(), MSDriveWay::hasLinkConflict(), 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(), MSDevice_Bluelight::notifyLeave(), MSDriveWay::notifyLeave(), MSDriveWay::notifyLeaveBack(), MSVehicle::Influencer::postProcessRemoteControl(), MSVehicle::processNextStop(), MSBaseVehicle::replaceRoute(), MSStoppingPlaceRerouter::reroute(), MSBaseVehicle::reroute(), MSLaneChanger::resolveDeadlock(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLaneChangerSublane::startChangeSublane(), MSLeaderInfo::toString(), MSLeaderDistanceInfo::toString(), MSCriticalFollowerDistanceInfo::toString(), toString(), toString(), toString(), MSTriggeredRerouter::triggerRouting(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), MSAbstractLaneChangeModel::updateShadowLane(), MSPModel_Striping::PState::walk(), and MSLaneChanger::yieldToDeadlockOncoming().
|
inherited |
Definition at line 900 of file MSEdge.cpp.
References MSEdge::myLanes.
Referenced by MSEdge::getInternalFollowingLengthTo(), MSVehicle::getNextEdgePtr(), MSVehicle::getPastLanesUntil(), libsumo::Helper::moveToXYMap_matchingRoutePosition(), MSDevice_Bluelight::notifyMove(), and MSRoute::writeEdgeIDs().
|
inherited |
returns the length of all internal edges on the junction until reaching the non-internal edge followerAfterInternal.
Definition at line 922 of file MSEdge.cpp.
References MSEdge::getInternalFollowingEdge(), MSEdge::getLength(), and MSEdge::isInternal().
Referenced by MSLCM_SL2015::checkStrategicChange().
MSLane & GUIEdge::getLane | ( | int | laneNo | ) |
returns the enumerated lane (!!! why not private with a friend?)
Definition at line 97 of file GUIEdge.cpp.
References MSEdge::myLanes.
|
static |
returns the position on the line given by the coordinates where "prev" is the length of the line and "wanted" the distance from the begin !!! should be within another class
|
inlineinherited |
Returns this edge's lanes.
Definition at line 168 of file MSEdge.h.
References MSEdge::myLanes.
Referenced by MSVehicleTransfer::add(), NLHandler::addConflict(), NLHandler::addConnection(), addRerouter(), MSRouteHandler::addStop(), libsumo::Helper::applySubscriptionFilterLanes(), libsumo::Helper::applySubscriptionFilters(), MELoop::buildSegmentsFor(), libsumo::Helper::buildStopParameters(), MSBaseVehicle::calculateArrivalParams(), MSEdgeControl::changeLanes(), MELoop::changeSegment(), MSPerson::checkAccess(), MSLaneChangerSublane::checkChangeOpposite(), MSLink::checkContOff(), MSStageMoving::checkDepartLane(), MSVehicleTransfer::checkInsertions(), closeTraffic(), MSPModel_NonInteracting::CState::computeDuration(), MSLCM_SL2015::computeSublaneShift(), GUILane::drawGL(), GUILane::drawJunctionChangeProhibitions(), GUILane::drawMarkings(), GUIBaseVehicle::drawOnPos(), MSVehicle::estimateTimeToNextStop(), MSVehicle::executeMove(), libsumo::Helper::findCloserLane(), MEVehicle::getAngle(), MSLaneChanger::getBestLanesOpposite(), GUIMEVehicle::getCenteringBoundary(), MSDriveWay::getDepartureDriveway(), MSRoute::getDistanceBetween(), MSEdge::getDistanceTo(), LIBSUMO_NAMESPACE::Vehicle::getDrivingDistance(), LIBSUMO_NAMESPACE::Vehicle::getDrivingDistance2D(), MSStage::getEdgeAngle(), GUILane::getEdgeLaneNumber(), MSStage::getEdgePosition(), MSLane::getFollowersOnConsecutive(), libsumo::Helper::getLaneChecking(), MSLane::getLeaderOnConsecutive(), MSEdge::getLengthGeometryFactor(), MESegment::getLink(), MSEdge::getMeanSpeed(), MSPModel_Striping::getNextLane(), MSEdge::getOccupancy(), MSLane::getParallelOpposite(), MSCFModel_CC::getParameter(), MSVehicle::getPastLanesUntil(), getPendingEmits(), GUIContainer::getPosition(), MEVehicle::getPosition(), MSVehicle::getPosition(), MSPModel_NonInteracting::PState::getPosition(), MSVehicle::getPreviousLane(), MEVehicle::getRightSideOnEdge(), MSBaseVehicle::getRNG(), MSTransportable::getRNG(), MSBaseVehicle::getRNGIndex(), MSTransportable::getRNGIndex(), getSegmentAtPosition(), MEVehicle::getSlope(), MSTransportable::getSlope(), LIBSUMO_NAMESPACE::Person::getSlope(), MSEdge::getSpeedLimit(), getTotalLength(), MSDevice_SSM::getUpstreamVehicles(), MSEdge::getVehicleMaxSpeed(), MSEdge::getVehicles(), GUIVehicle::getVisualPosition(), MSEdge::getWaitingSeconds(), GUICalibrator::GUICalibrator(), GUITriggeredRerouter::GUITriggeredRerouterEdge::GUITriggeredRerouterEdge(), MSDriveWay::hasRS(), MSIdling_Stop::idle(), MSVehicle::Influencer::influenceChangeDecision(), MSRailSignal::initDriveWays(), GUINet::initGUIStructures(), MSPModel_Striping::initWalkingAreaPaths(), MSBaseVehicle::interpretOppositeStop(), MSCalibrator::invalidJam(), MSPedestrianPushButton::isActiveForEdge(), MSEdge::isEmpty(), GUISUMOViewParent::isSelected(), MSEdge::isSuperposable(), MESegment::MESegment(), libsumo::Helper::moveToXYMap(), MSCalibrator::MSCalibrator(), MSRouteProbe::MSRouteProbe(), GUIMEInductLoop::MyWrapper::MyWrapper(), MSDevice_Bluelight::notifyMove(), MSEdge::parallelLane(), NLTriggerBuilder::parseAndBuildCalibrator(), MSLCM_DK2008::patchSpeed(), MSLCM_SL2015::prepareStep(), TraCIServerAPI_Vehicle::processSet(), MESegment::receive(), MSCalibrator::remainingVehicleCapacity(), MSStageTrip::reroute(), LIBSUMO_NAMESPACE::Edge::setAllowedSVCPermissions(), MSEdge::setBidiLanes(), setFunctionalColor(), GUIViewTraffic::showLaneReachability(), LIBSUMO_NAMESPACE::Edge::storeShape(), MSVehicle::updateBestLanes(), LIBSUMO_NAMESPACE::TrafficLight::updateConstraints(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), MESegment::updatePermissions(), MSFCDExport::write(), MSFullExport::writeEdge(), MSQueueExport::writeEdge(), MSXMLRawOut::writeEdge(), MSFCDExport::writeTransportable(), and MEInductLoop::writeXMLOutput().
|
inlineinherited |
Returns the last time a vehicle could not be inserted.
Definition at line 595 of file MSEdge.h.
References MSEdge::myLastFailedInsertionTime.
|
inlineinherited |
return the length of the edge
Definition at line 685 of file MSEdge.h.
References MSEdge::myLength.
Referenced by LIBSUMO_NAMESPACE::Person::add(), MSRouteHandler::addPersonTrip(), MSRouteHandler::addRideOrTransport(), MSDriveWay::addSidings(), MSRouteHandler::addStop(), LIBSUMO_NAMESPACE::Person::appendDrivingStage(), libsumo::Helper::applySubscriptionFilters(), MSBaseVehicle::basePos(), NLTriggerBuilder::buildCalibrator(), MELoop::buildSegmentsFor(), MSStageDriving::canLeaveVehicle(), MSPModel_NonInteracting::PState::computeDuration(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), MSDevice_SSM::findSurroundingVehicles(), MSStageDriving::getArrivalPos(), MSRoutingEngine::getAssumedSpeed(), MSEdge::getCurrentTravelTime(), MSEdge::getDepartPosBound(), MSRoute::getDistanceBetween(), MSRailSignal::LinkInfo::getDriveWay(), MSRoutingEngine::getEffort(), MSRoutingEngine::getEffortBike(), MSEdge::getInternalFollowingLengthTo(), LIBSUMO_NAMESPACE::InductionLoop::getIntervalMeanSpeed(), MSEdge::getMeanSpeed(), MSEdge::getMinimumTravelTime(), MSPModel_Striping::getNextLane(), LIBSUMO_NAMESPACE::Vehicle::getNextTLS(), getParameterWindow(), NLTriggerBuilder::getPosition(), getTotalLength(), MSEdge::getTravelTimeAggregated(), MSIdling_RandomCircling::idle(), MSStageDriving::init(), MSEdge::insertVehicle(), MSStageWalking::moveToNextEdge(), libsumo::Helper::moveToXYMap(), MSDevice_Tripinfo::notifyLeave(), MSRouteHandler::parseWalkPositions(), MSRoutingEngine::patchSpeedForTurns(), MSDevice_Taxi::prepareStop(), MSStageTrip::reroute(), MSStageDriving::setArrived(), MSStageTrip::setArrived(), MSRoutingEngine::setEdgeTravelTime(), GUIViewTraffic::showLaneReachability(), MELoop::teleportVehicle(), MSTriggeredRerouter::triggerRouting(), MEVehicle::updateDetectors(), and MSMeanData::writeEdge().
|
inherited |
return shape.length() / myLength
Definition at line 1165 of file MSEdge.cpp.
References MSEdge::getLanes(), and MSEdge::myLanes.
|
inherited |
get the mean friction over the lanes
Definition at line 998 of file MSEdge.cpp.
References MSEdge::myLanes.
Referenced by getParameterWindow().
|
inherited |
get the mean speed
Definition at line 957 of file MSEdge.cpp.
References MSEdge::getLanes(), MSEdge::getLength(), MSEdge::getMeanSpeed(), MSEdge::getSpeedLimit(), MSGlobals::gMesoNet, MSGlobals::gUseMesoSim, MSEdge::myBidiEdge, MSEdge::myEmptyTraveltime, and MSEdge::myLanes.
Referenced by getColorValue(), MSEdge::getCurrentTravelTime(), MSEdge::getMeanSpeed(), MSEdge::getMeanSpeedBike(), getParameterWindow(), getRelativeSpeed(), and getScaleValue().
|
inherited |
get the mean speed of all bicycles on this edge
Definition at line 1011 of file MSEdge.cpp.
References MSEdge::getMeanSpeed(), MSEdge::getSpeedLimit(), MSGlobals::gUseMesoSim, and MSEdge::myLanes.
|
inline |
Definition at line 223 of file GUIEdge.h.
References myMesoColor.
|
staticinherited |
Definition at line 315 of file MSEdge.cpp.
References MSEdge::myMesoIgnoredVClasses.
Referenced by MESegment::MESegment(), and MSEdge::rebuildAllowedLanes().
|
inlineinherited |
Returns the id of the object as known to microsim.
Definition at line 143 of file GUIGlObject.h.
References GUIGlObject::myMicrosimID.
Referenced by SUMORTree::addAdditionalGLObject(), GNEViewNet::askMergeJunctions(), GNETLSEditorFrame::controlsEdge(), GUIGlObject::createFullName(), GNENetHelper::AttributeCarriers::deleteEdgeType(), GNENetHelper::AttributeCarriers::deleteSingleEdge(), GNENetHelper::AttributeCarriers::deleteSingleJunction(), GNEAdditional::drawAdditionalID(), GNEInternalLane::drawGL(), GUIGlObject::drawName(), GNEBusStop::getAttribute(), GNECalibrator::getAttribute(), GNECalibratorFlow::getAttribute(), GNEChargingStation::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEClosingReroute::getAttribute(), GNEContainerStop::getAttribute(), GNEDestProbReroute::getAttribute(), GNEMultiEntryExitDetector::getAttribute(), GNEOverheadWire::getAttribute(), GNEParkingArea::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNERerouter::getAttribute(), GNERouteProbe::getAttribute(), GNERouteProbReroute::getAttribute(), GNETAZ::getAttribute(), GNETAZSourceSink::getAttribute(), GNETractionSubstation::getAttribute(), GNEVaporizer::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNEContainer::getAttribute(), GNEDistribution::getAttribute(), GNEPerson::getAttribute(), GNERoute::getAttribute(), GNEStop::getAttribute(), GNEVehicle::getAttribute(), GNEVType::getAttribute(), GNEConnection::getAttribute(), GNEEdge::getAttribute(), GNEEdgeType::getAttribute(), GNEJunction::getAttribute(), GNELane::getAttribute(), GNEWalkingArea::getAttribute(), GNEDetector::getDetectorAttribute(), GNEWalkingArea::getNBWalkingArea(), GUIDialog_ChooserAbstract::getObjectName(), GNEDialogACChooser::getObjectName(), GNEMultiEntryExitDetector::getParentName(), GNERerouter::getParentName(), GNETAZ::getParentName(), GNETractionSubstation::getParentName(), GNEVariableSpeedSign::getParentName(), GNEDistribution::getParentName(), GNEVType::getParentName(), GNEPOI::getParentName(), GNEPoly::getParentName(), GNEChange_TLS::GNEChange_TLS(), GNETLSEditorFrame::handleMultiChange(), GNENetHelper::AttributeCarriers::insertEdgeType(), GUIGLObjectPopupMenu::onCmdCopyName(), GNENetHelper::AttributeCarriers::registerEdge(), GNENetHelper::AttributeCarriers::registerEdgeType(), GNENetHelper::AttributeCarriers::registerJunction(), SUMORTree::removeAdditionalGLObject(), GNENetHelper::AttributeCarriers::retrieveConnection(), GNENetHelper::AttributeCarriers::retrieveCrossing(), GNENetHelper::AttributeCarriers::retrieveInternalLane(), GNENetHelper::AttributeCarriers::retrieveLane(), GNENetHelper::AttributeCarriers::retrieveWalkingArea(), GNEStop::setStopMicrosimID(), GNENet::splitEdge(), and GNEViewNetHelper::ViewObjectsSelector::updateNetworkElements().
|
inlineinherited |
returns the minimum travel time for the given vehicle
Definition at line 476 of file MSEdge.h.
References CONNECTOR, MSEdge::getLength(), MSEdge::getVehicleMaxSpeed(), MSEdge::myEmptyTraveltime, MSEdge::myFunction, and MSEdge::myTimePenalty.
Referenced by MSVehicle::estimateTimeToNextStop(), MSRoutingEngine::getEffort(), MSRoutingEngine::getEffortBike(), and MSNet::getTravelTime().
|
inherited |
if this edge is an internal edge, return its first normal predecessor, otherwise the edge itself
Definition at line 937 of file MSEdge.cpp.
References MSEdge::getPredecessors(), MSGlobals::gUsingInternalLanes, and MSEdge::isInternal().
Referenced by MSRouteHandler::addStop(), MSBaseVehicle::addStop(), MSEdge::inferEdgeType(), and LIBSUMO_NAMESPACE::Vehicle::moveTo().
|
inherited |
if this edge is an internal edge, return its first normal successor, otherwise the edge itself
Definition at line 947 of file MSEdge.cpp.
References MSEdge::getSuccessors(), and MSEdge::isInternal().
Referenced by MSRouteHandler::addStop(), MSLaneChanger::getBestLanesOpposite(), MSLane::getNextNormal(), MSEdge::inferEdgeType(), and MSVehicle::joinTrainPartFront().
|
inherited |
return the number of lanes that permit non-weak modes if the edge allows non weak modes and the number of lanes otherwise
Definition at line 1514 of file MSEdge.cpp.
References MSEdge::myCombinedPermissions, MSEdge::myLanes, SVC_PEDESTRIAN, SVC_WHEELCHAIR, and SVCAll.
Referenced by MSMeanData::writeEdge().
|
inlineinherited |
Returns the numerical id of the edge.
Definition at line 306 of file MSEdge.h.
References MSEdge::myNumericalID.
Referenced by MSRoutingEngine::addEdgeTravelTime(), MELoop::buildSegmentsFor(), MSEdgeControl::changeLanes(), MELoop::changeSegment(), MSEdge::dictionary(), GUILane::drawGL(), MSMeanData_Amitran::getEdgeID(), MSRoutingEngine::getEffort(), MSRoutingEngine::getEffortBike(), MELoop::getSegmentForEdge(), MELoop::nextSegment(), MSEdge::by_id_sorter::operator()(), MSEdge::setBidiLanes(), MSRoutingEngine::setEdgeTravelTime(), and MELoop::updateSegmentsForEdge().
|
inlineinherited |
Definition at line 172 of file MSEdge.h.
References MSEdge::myLanes.
Referenced by MSLane::detectCollisionBetween(), MSVehicle::executeMove(), libsumo::Helper::findCloserLane(), MSMeanData_Net::getAttributeValue(), MSLaneChanger::getBestLanesOpposite(), LIBSUMO_NAMESPACE::InductionLoop::getIntervalOccupancy(), MSLane::getLeaderOnConsecutive(), MSAbstractLaneChangeModel::getNormalizedLaneIndex(), MSBaseVehicle::interpretOppositeStop(), MSEdge::parallelLane(), and MSEdge::setBidiLanes().
|
inlineinherited |
Returns the number of edges this edge is connected to.
Definition at line 401 of file MSEdge.h.
References MSEdge::myPredecessors.
|
inlineinherited |
Returns the number of edges that may be reached from this edge.
Definition at line 379 of file MSEdge.h.
References MSEdge::mySuccessors.
Referenced by MELoop::buildSegmentsFor().
|
inherited |
return mean occupancy on this edges lanes or segments
Definition at line 1574 of file MSEdge.cpp.
References MSEdge::getLanes(), MSBaseVehicle::getLength(), MSEdge::getVehicles(), MSGlobals::gUseMesoSim, MSEdge::myLanes, and MSEdge::myLength.
|
inherited |
Returns the opposite direction edge if on exists else a nullptr.
Definition at line 1340 of file MSEdge.cpp.
References MSEdge::myLanes.
Referenced by MSBaseVehicle::addStop(), libsumo::Helper::applySubscriptionFilterLanes(), libsumo::Helper::applySubscriptionFilters(), MSVehicle::executeMove(), MSDevice_SSM::findFoeConflictLane(), MSLaneChanger::getBestLanesOpposite(), MSBaseVehicle::interpretOppositeStop(), MSEdge::parallelLane(), and MSVehicle::updateBestLanes().
|
overridevirtual |
Returns the street name.
Reimplemented from GUIGlObject.
Definition at line 254 of file GUIEdge.cpp.
References MSEdge::myStreetName.
|
inlineinherited |
Definition at line 299 of file MSEdge.h.
References MSEdge::myOtherTazConnector.
|
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 90 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by MSPModel_JuPedSim::add(), NBRailwayTopologyAnalyzer::addBidiEdge(), NBEdge::addRestrictedLane(), FareModul::addStop(), GUIInductLoop::buildDetectorGUIRepresentation(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), ROEdge::cacheParamRestrictions(), SUMOVTypeParameter::cacheParamRestrictions(), MSVehicleType::check(), MSRailSignal::constraintsAllow(), GUINet::createTLWrapper(), GNEEdge::drawEdgeName(), GNEConnection::drawEdgeValues(), GNEGenericData::drawFilteredAttribute(), drawGL(), EnergyParams::EnergyParams(), MSDevice_SSM::filterByConflictType(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), GUIVehicle::getColorValue(), GNEEdgeData::getColorValue(), GNEEdgeRelData::getColorValue(), GNETAZRelData::getColorValue(), GNELane::getColorValue(), 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_SSM::getOutputFilename(), MSSimpleTrafficLightLogic::getParameter(), NEMALogic::getParameter(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSBaseVehicle::getPrefixedParameter(), GUIBaseVehicle::getScaleValue(), LIBSUMO_NAMESPACE::Vehicle::getStopParameter(), SUMOTrafficObject::getStringParam(), MSRailSignalConstraint::getVeh(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), MSStoppingPlaceRerouter::getWeight(), MSRailSignal::hasInsertionConstraint(), MSRailSignalControl::haveDeadlock(), MSLink::ignoreFoe(), MSSOTLPhasePolicy::init(), MSStageDriving::init(), PushButtonLogic::init(), SigmoidLogic::init(), SUMOVTypeParameter::initRailVisualizationParameters(), NIImporter_OpenStreetMap::insertNodeChecking(), MSAbstractLaneChangeModel::laneChangeOutput(), NWWriter_OpenDrive::mapmatchRoadObjects(), Parameterised::mergeParameters(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), MSSOTLPolicy::MSSOTLPolicy(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), MSDevice_GLOSA::notifyEnter(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), GNEVType::overwriteVType(), NWWriter_OpenDrive::parseTrafficSign(), NBTrafficLightDefinition::railSignalUncontrolled(), MSDevice_Battery::readParameterValue(), MSDevice_SSM::requestsTrajectories(), MSDevice_Bluelight::resetVehicle(), GNEEdgeData::setColor(), GNEEdgeRelData::setColor(), NBTrafficLightLogicCont::setOpenDriveSignalParameters(), NBEdge::setOrigID(), MSVehicle::slowDownForSchedule(), 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 145 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NIImporter_SUMO::_loadNetwork(), NBNode::addCrossing(), NBEdge::addLane(), NBEdge::append(), 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(), GNEStopPlan::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(), MSPModel_JuPedSim::initialize(), MSBaseVehicle::initTransientModelParams(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), GNEEdgeData::isGenericDataVisible(), GNEEdgeRelData::isGenericDataVisible(), GNETAZRelData::isGenericDataVisible(), GNEGenericData::isVisibleInspectDeleteSelect(), NBEdge::NBEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), NBTrafficLightLogic::NBTrafficLightLogic(), 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 151 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by GNEAccess::getAttribute(), GNEBusStop::getAttribute(), GNECalibrator::getAttribute(), GNECalibratorFlow::getAttribute(), GNEChargingStation::getAttribute(), GNEContainerStop::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(), GNEPoly::getAttribute(), and GNEDetector::getDetectorAttribute().
|
overridevirtual |
Returns an own parameter window.
[in] | app | The application needed to build the parameter window |
[in] | parent | The parent window needed to build the parameter window |
Implements GUIGlObject.
Definition at line 179 of file GUIEdge.cpp.
References GUIParameterTableWindow::closeBuilding(), getAllowedSpeed(), MSEdge::getBruttoOccupancy(), MESegment::getCarNumber(), MESegment::getEdge(), MESegment::getEntryBlockTimeSeconds(), MESegment::getEventTimeSeconds(), MESegment::getFlow(), MSEdge::getFlow(), MESegment::getIndex(), MESegment::getLastHeadwaySeconds(), MESegment::getLength(), MSEdge::getLength(), MSEdge::getMeanFriction(), MESegment::getMeanSpeed(), MSEdge::getMeanSpeed(), getPendingEmits(), GUISUMOAbstractView::getPositionInformation(), MESegment::getRelativeJamThreshold(), MESegment::getRelativeOccupancy(), MSEdge::getRoutingSpeed(), getSegmentAtPosition(), MSEdge::getSpeedLimit(), MSEdge::getStreetName(), MSEdge::getTimePenalty(), MSEdge::getVehicleNumber(), GUIParameterTableWindow::mkItem(), MSEdge::myLanes, MESegment::numQueues(), TL, and toString().
|
virtualinherited |
Returns the name of the parent object (if any)
Reimplemented in GNEAccess, GNECalibrator, GNECalibratorFlow, GNEClosingLaneReroute, GNEClosingReroute, GNEDestProbReroute, GNEDetector, GNEMultiEntryExitDetector, GNEParkingAreaReroute, GNEParkingSpace, GNERerouter, GNERerouterInterval, GNERerouterSymbol, GNERouteProbe, GNERouteProbReroute, GNEStoppingPlace, GNETAZ, GNETAZSourceSink, GNETractionSubstation, GNEVaporizer, GNEVariableSpeedSign, GNEVariableSpeedSignStep, GNEVariableSpeedSignSymbol, GNEContainer, GNEDistribution, GNEPerson, GNEPersonTrip, GNERide, GNERoute, GNEStop, GNEStopPlan, GNETranship, GNETransport, GNEVehicle, GNEVType, GNEWalk, GNELane, GUILane, GNEPOI, and GNEPoly.
Definition at line 188 of file GUIGlObject.cpp.
References StringUtils::emptyString.
Referenced by GUIGLObjectPopupMenu::onCmdCopyEdgeName().
double GUIEdge::getPendingEmits | ( | ) | const |
get number of vehicles waiting for departure on this edge
Definition at line 660 of file GUIEdge.cpp.
References MSNet::getInsertionControl(), MSNet::getInstance(), MSEdge::getLanes(), and MSInsertionControl::getPendingEmits().
Referenced by getColorValue(), getParameterWindow(), and getScaleValue().
|
inlineinherited |
Returns the combined permissions of all lanes of this edge.
Definition at line 649 of file MSEdge.h.
References MSEdge::myCombinedPermissions.
Referenced by MSDevice_Taxi::addReservation(), closeBuilding(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), GUILane::getColorValue(), MSStageTrip::getVehicles(), getWalking(), MSDriveWay::match(), MESegment::MESegment(), libsumo::Helper::moveToXYMap(), MSPedestrianPushButton::MSPedestrianPushButton(), MSStageDriving::registerWaiting(), and MESegment::updatePermissions().
|
inlineinherited |
Returns this edge's persons set.
Avoids the creation of new vector as in getSortedPersons
Definition at line 204 of file MSEdge.h.
References MSEdge::myPersons.
Referenced by MSLCM_LC2013::_wantsChange(), MSLink::checkWalkingAreaFoe(), MSLane::detectCollisions(), MSE2Collector::detectorUpdate(), MSE3Collector::detectorUpdate(), MSInductLoop::detectorUpdate(), MSLane::detectPedestrianJunctionCollision(), LIBSUMO_NAMESPACE::TrafficLight::getServedPersonCount(), MSPedestrianPushButton::isActiveForEdge(), MSVehicle::planMoveInternal(), and MSLCM_SL2015::updateExpectedSublaneSpeeds().
|
inline |
Returns this edge's persons set; locks it for microsimulation.
Avoids the creation of new vector as in getSortedPersons
Definition at line 164 of file GUIEdge.h.
References myLock, and MSEdge::myPersons.
|
overridevirtual |
Returns an own popup-menu.
[in] | app | The application needed to build the popup-menu |
[in] | parent | The parent window needed to build the popup-menu |
Implements GUIGlObject.
Definition at line 161 of file GUIEdge.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIDesigns::buildFXMenuCommand(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), GUIGlObject::buildShowParamsPopupEntry(), GUIGlObject::buildShowTypeParamsPopupEntry(), MESegment::getIndex(), GUISUMOAbstractView::getPositionInformation(), getSegmentAtPosition(), MSGlobals::gUseMesoSim, and toString().
|
inlineinherited |
Definition at line 409 of file MSEdge.h.
References MSEdge::myPredecessors.
Referenced by MSPModel_Striping::getArbitraryPath(), MSRoute::getDistanceBetween(), MSLane::getLogicalPredecessorLane(), MSEdge::getNormalBefore(), MSPModel_Striping::getWalkingAreaPath(), getWalkingAreas(), MSPModel_Striping::guessPath(), MSPModel_Striping::insertWalkArePaths(), MSPedestrianPushButton::isActiveForEdge(), libsumo::Helper::moveToXYMap(), MSStageTrip::reroute(), GUILane::setFunctionalColor(), and GUIViewTraffic::showLaneReachability().
|
inlineinherited |
Returns the priority of the edge.
Definition at line 328 of file MSEdge.h.
References MSEdge::myPriority.
Referenced by GUILane::getColorValue(), MSRoutingEngine::getEffortExtra(), GUILane::getParameterWindow(), GUILane::getScaleValue(), and MSLane::outgoing_lane_priority_sorter::operator()().
|
inherited |
Finds the most probable lane allowing the vehicle class.
The most probable lane is the one which best corresponds to the desired speed of the vehicle Vehicles with lower speeds will use lanes to the right while vehicles with higher speeds will use lanes to the left
[in] | allowed | The lanes to choose from |
[in] | vclass | The vehicle class to look for |
[in] | departPos | An upper bound on vehicle depart position |
[in] | maxSpeed | The vehicles maxSpeed (including speedFactor) |
Definition at line 558 of file MSEdge.cpp.
References MSEdge::allowedLanes(), MSVehicle::getPositionOnLane(), MSEdge::getVehicleMaxSpeed(), MAX2(), and MSEdge::myLength.
Referenced by MSEdge::getDepartLane().
|
inlineinherited |
Definition at line 857 of file MSEdge.h.
References MSEdge::myRailwayRoutingEdge.
double GUIEdge::getRelativeSpeed | ( | ) | const |
return meanSpead divided by allowedSpeed
Definition at line 452 of file GUIEdge.cpp.
References getAllowedSpeed(), and MSEdge::getMeanSpeed().
Referenced by getColorValue(), and getScaleValue().
|
inlineinherited |
Definition at line 850 of file MSEdge.h.
References MSEdge::myReversedRoutingEdge.
|
inherited |
Returns the averaged speed used by the routing device.
Definition at line 1041 of file MSEdge.cpp.
References MSRoutingEngine::getAssumedSpeed().
Referenced by getColorValue(), GUILane::getColorValue(), getParameterWindow(), and GUILane::getParameterWindow().
double GUIEdge::getScaleValue | ( | const GUIVisualizationSettings & | s, |
int | activeScheme | ||
) | const |
gets the scaling value according to the current scheme index
Definition at line 580 of file GUIEdge.cpp.
References GUIVisualizationSettings::edgeDataScaling, getAllowedSpeed(), MSEdge::getBruttoOccupancy(), GUINet::getEdgeData(), MSEdge::getFlow(), GUIGlObject::getGlID(), GUINet::getGUIInstance(), MSEdge::getMeanSpeed(), getPendingEmits(), getRelativeSpeed(), GUIGlObject::getType(), gSelected, and GUISelectedStorage::isSelected().
Referenced by drawGL(), and GUILane::drawGL().
returns the segment closest to the given position
Definition at line 605 of file GUIEdge.cpp.
References MSEdge::getLanes(), MELoop::getSegmentForEdge(), MSGlobals::gMesoNet, and PositionVector::nearest_offset_to_point2D().
Referenced by getParameterWindow(), and getPopUpMenu().
|
inline |
|
inherited |
Returns this edge's containers sorted by pos.
Definition at line 1224 of file MSEdge.cpp.
References MSEdge::myContainers.
Referenced by MSXMLRawOut::writeEdge().
|
inherited |
Returns this edge's persons sorted by pos.
Definition at line 1206 of file MSEdge.cpp.
References MSEdge::myLanes, and MSEdge::myPersons.
Referenced by MSLane::StoringVisitor::add(), MSLane::detectPedestrianJunctionCollision(), and MSXMLRawOut::writeEdge().
|
inherited |
Returns the speed limit of the edge @caution The speed limit of the first lane is retured; should probably be the fastest edge.
Definition at line 1158 of file MSEdge.cpp.
References MSEdge::getLanes(), and MSEdge::myLanes.
Referenced by METriggeredCalibrator::execute(), MSVehicle::getFollower(), LIBSUMO_NAMESPACE::InductionLoop::getIntervalMeanSpeed(), MSEdge::getMeanSpeed(), MESegment::getMeanSpeed(), MSEdge::getMeanSpeedBike(), MESegment::getNextInsertionTime(), getParameterWindow(), MSVehicleControl::getVehicleMeanSpeeds(), MSActuatedTrafficLightLogic::init(), METriggeredCalibrator::invalidJam(), MSCalibrator::invalidJam(), MSEdge::recalcCache(), MESegment::recomputeJamThreshold(), MSCalibrator::remainingVehicleCapacity(), GUIViewTraffic::showLaneReachability(), MELoop::teleportVehicle(), MSEdge::validateDepartSpeed(), MSMeanData::writeEdge(), and MEInductLoop::writeXMLOutput().
|
staticinherited |
return the coordinates of the center of the given stop
Definition at line 1152 of file MSEdge.cpp.
References MSLane::dictionary(), SUMOVehicleParameter::Stop::endPos, SUMOVehicleParameter::Stop::lane, and SUMOVehicleParameter::Stop::startPos.
|
inlineinherited |
Returns the street name of the edge.
Definition at line 313 of file MSEdge.h.
References MSEdge::myStreetName.
Referenced by drawGL(), getParameterWindow(), and GUILane::getParameterWindow().
|
inlineinherited |
Returns the right side offsets of this edge's sublanes.
Definition at line 661 of file MSEdge.h.
References MSEdge::mySublaneSides.
Referenced by MSLCM_SL2015::_wantsChangeSublane(), MSLCM_SL2015::computeSpeedGain(), GUIVehicle::getLeftSublaneOnEdge(), GUIVehicle::getRightSublaneOnEdge(), and MSLCM_SL2015::prepareStep().
|
inherited |
Returns the following edges, restricted by vClass.
[in] | vClass | The vClass for which to restrict the successors |
Definition at line 1258 of file MSEdge.cpp.
References MSEdge::allowedLanes(), CONNECTOR, MSNet::getInstance(), MSGlobals::gNumThreads, MSEdge::lock(), MSEdge::myClassesSuccessorMap, MSEdge::myFunction, MSEdge::mySuccessors, and SVC_IGNORING.
Referenced by MSVehicle::checkReversal(), closeBuilding(), MSPModel_Striping::getArbitraryPath(), MSEdge::getNormalSuccessor(), getWalkingAreas(), MSPModel_Striping::guessPath(), MSVehicleControl::handleTriggeredDepart(), MSIdling_RandomCircling::idle(), MSPModel_Striping::insertWalkArePaths(), MSPedestrianPushButton::isActiveForEdge(), MELoop::isEnteringRoundabout(), MESegment::MESegment(), libsumo::Helper::moveToXYMap(), MSDevice_FCDReplay::FCDHandler::myStartElement(), MSStageTrip::reroute(), GUILane::setFunctionalColor(), and GUIViewTraffic::showLaneReachability().
|
inlineinherited |
Definition at line 486 of file MSEdge.h.
References MSEdge::myTimePenalty.
Referenced by getParameterWindow(), and GUILane::getParameterWindow().
|
inlineinherited |
Definition at line 418 of file MSEdge.h.
References MSEdge::myToJunction.
Referenced by MSPModel_JuPedSim::add(), MSEdge::addSuccessor(), MSPModel::canTraverse(), MSDevice_SSM::classifyEncounter(), closeBuilding(), MSPModel_NonInteracting::PState::computeDuration(), GUILane::drawGL(), GUILane::drawLane2LaneConnections(), GUILane::drawLinkRule(), GUILane::drawLinkRules(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), MSDevice_SSM::findFoeConflictLane(), MSDevice_SSM::findSurroundingVehicles(), MSLink::getLeaderInfo(), MSPModel_Striping::getNextLane(), MSLCHelper::getRoundaboutDistBonus(), MSDriveWay::hasRS(), MSRailSignal::initDriveWays(), MESegment::initSegment(), MSLane::isInsertionSuccess(), MSVehicle::isLeader(), MSPModel_Striping::PState::moveTo(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), libsumo::Helper::moveToXYMap(), libsumo::Helper::moveToXYMap_matchingRoutePosition(), MSDriveWay::overlap(), MSRouteHandler::parseWalkPositions(), MSVehicle::planMoveInternal(), MSInternalJunction::postloadInit(), MSVehicle::processLinkApproaches(), MSPModel_Striping::PState::PState(), MSStageTrip::reroute(), MSLane::saveState(), LIBSUMO_NAMESPACE::TrafficLight::updateConstraints(), and MSStageWalking::walkDistance().
|
static |
Definition at line 119 of file GUIEdge.cpp.
References MSEdge::getLanes(), MSEdge::getLength(), MSEdge::isInternal(), and MSEdge::myDict.
Referenced by GUINet::getParameterWindow().
|
staticinherited |
Definition at line 1621 of file MSEdge.cpp.
References MSRoutingEngine::getAssumedSpeed(), MSEdge::getLength(), SUMOTrafficObject::getMaxSpeed(), and MIN2().
|
inlinestaticinherited |
Returns the travel time for the given edge.
[in] | edge | The edge for which the travel time shall be retrieved |
[in] | veh | The vehicle for which the travel time on this edge shall be retrieved |
[in] | time | The time for which the travel time shall be returned [s] |
Definition at line 497 of file MSEdge.h.
References MSNet::getInstance(), and MSNet::getTravelTime().
|
inlineinherited |
Returns the type of the object as coded in GUIGlObjectType.
Definition at line 156 of file GUIGlObject.h.
References GUIGlObject::myGLObjectType.
Referenced by GUIGlObject::buildSelectionPopupEntry(), GNEConnection::calculateConnectionContour(), GNEContour::calculateContourEdgeGeometryPoints(), GNECrossing::calculateCrossingContour(), GNEJunction::calculateJunctioncontour(), GNEParkingSpace::calculateSpaceContour(), GNEStoppingPlace::calculateStoppingPlaceContour(), GNEViewNet::checkOverLockedElement(), GUIVehicle::drawAction_drawCarriageClass(), GUIVehicle::drawAction_drawLinkItems(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIPerson::drawAction_drawWalkingareaPath(), GNEAdditional::drawAdditionalID(), GNEAdditional::drawAdditionalName(), GNECalibrator::drawCalibratorSymbol(), GNELaneAreaDetector::drawE2PartialJunction(), GNELaneAreaDetector::drawE2PartialLane(), GNEEntryExitDetector::drawE3Logo(), GNEEntryExitDetector::drawEntryLogo(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIJunctionWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEEntryExitDetector::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNELaneAreaDetector::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNETAZRelData::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEStop::drawGL(), GNEStopPlan::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEEdge::drawGL(), GNEInternalLane::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GNEWalkingArea::drawGL(), GUIContainer::drawGL(), GUILane::drawGL(), GUIPerson::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIPerson::drawGLAdditional(), GNEDemandElement::drawJunctionLine(), GNELaneAreaDetector::drawJunctionPartialGL(), GNEOverheadWire::drawJunctionPartialGL(), GNERoute::drawJunctionPartialGL(), GNEVehicle::drawJunctionPartialGL(), GNELaneAreaDetector::drawLanePartialGL(), GNEOverheadWire::drawLanePartialGL(), GNEEdgeData::drawLanePartialGL(), GNEEdgeRelData::drawLanePartialGL(), GNERoute::drawLanePartialGL(), GNEVehicle::drawLanePartialGL(), GNEAdditional::drawListedAdditional(), GUIBaseVehicle::drawOnPos(), GNEDemandElementPlan::drawPlanGL(), GNEDemandElementPlan::drawPlanJunctionPartial(), GNEDemandElementPlan::drawPlanLanePartial(), GNERoute::drawRoutePartialJunction(), GNERoute::drawRoutePartialLane(), GNEAdditional::drawSquaredAdditional(), GNEDemandElement::drawStackLabel(), GUIJunctionWrapper::getColorValue(), getColorValue(), GUISUMOAbstractView::getObjectsAtPosition(), getScaleValue(), GNEAdditional::isGLObjectLocked(), GNEDemandElement::isGLObjectLocked(), GNENetworkElement::isGLObjectLocked(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIGlChildWindow::isSelected(), GNESelectorFrame::SelectionOperation::loadFromFile(), GUIGLObjectPopupMenu::onCmdCopyEdgeName(), GUISUMOViewParent::onCmdSpeedFactor(), GUIDialog_ChooserAbstract::onCmdTrack(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOViewParent::onUpdSpeedFactor(), LayeredRTree::selectLayer(), GUIPointOfInterest::setColor(), GUIPolygon::setColor(), GNEJunction::setJunctionType(), GNEViewNetHelper::ViewObjectsSelector::updateGenericDataElements(), GNEViewNetHelper::ViewObjectsSelector::updateNetworkElements(), GNEViewNetHelper::ViewObjectsSelector::updateShapeElements(), and GNEViewNetHelper::ViewObjectsSelector::updateTAZElements().
|
overridevirtual |
Returns an own type parameter window.
[in] | app | The application needed to build the parameter window |
[in] | parent | The parent window needed to build the parameter window |
Reimplemented from GUIGlObject.
Definition at line 221 of file GUIEdge.cpp.
References GUIParameterTableWindow::closeBuilding(), MSEdge::getEdgeType(), MSNet::getInstance(), MSNet::getMesoType(), MESegment::MesoEdgeType::jamThreshold, MESegment::MesoEdgeType::junctionControl, MESegment::MesoEdgeType::minorPenalty, GUIParameterTableWindow::mkItem(), MESegment::MesoEdgeType::overtaking, STEPS2TIME, MESegment::MesoEdgeType::tauff, MESegment::MesoEdgeType::taufj, MESegment::MesoEdgeType::taujf, MESegment::MesoEdgeType::taujj, TL, MESegment::MesoEdgeType::tlsFlowPenalty, and MESegment::MesoEdgeType::tlsPenalty.
|
inherited |
Returns the maximum speed the vehicle may use on this edge.
@caution Only the first lane is considered
Definition at line 1170 of file MSEdge.cpp.
References MSEdge::getLanes(), and MSEdge::myLanes.
Referenced by LIBSUMO_NAMESPACE::Vehicle::getAllowedSpeed(), GUIMEVehicle::getColorValue(), MSEdge::getDepartLane(), MSEdge::getMinimumTravelTime(), MSEdge::getProbableLane(), GUIBaseVehicle::getScaleValue(), MSDevice_Transportable::notifyMoveInternal(), MSDevice_Tripinfo::notifyMoveInternal(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), and MSEdge::validateDepartSpeed().
|
inherited |
return total number of vehicles on this edges lanes or segments
Definition at line 1532 of file MSEdge.cpp.
References MSEdge::getVehicles().
Referenced by getParameterWindow().
|
inherited |
return vehicles on this edges lanes or segments
Definition at line 1495 of file MSEdge.cpp.
References MSEdge::getLanes(), MSGlobals::gMesoNet, and MSGlobals::gUseMesoSim.
Referenced by MSEdge::getOccupancy(), MSEdge::getVehicleNumber(), and MSTransportableDevice_FCDReplay::move().
|
inherited |
Returns the following edges with internal vias, restricted by vClass.
[in] | vClass | The vClass for which to restrict the successors |
Definition at line 1288 of file MSEdge.cpp.
References MSEdge::allowedLanes(), CONNECTOR, MSNet::getInstance(), MSGlobals::gNumThreads, MSEdge::lock(), MSEdge::myClassesViaSuccessorMap, MSEdge::myFunction, MSEdge::myHaveTransientPermissions, MSEdge::myOrigClassesViaSuccessorMap, MSEdge::myViaSuccessors, and SVC_IGNORING.
Referenced by GUINet::EdgeFloatTimeLineRetriever_GUI::addEdgeRelWeight(), MSRoute::getDistanceBetween(), and MSRoutingEngine::patchSpeedForTurns().
|
inherited |
return accumated waiting time for all vehicles on this edges lanes or segments
Definition at line 1558 of file MSEdge.cpp.
References MSEdge::getLanes(), MSGlobals::gMesoNet, and MSGlobals::gUseMesoSim.
Referenced by LIBSUMO_NAMESPACE::Edge::getWaitingTime().
|
inherited |
Definition at line 1472 of file MSEdge.cpp.
References CONTAINER_TRIGGERED, Named::getID(), MSGlobals::gNumSimThreads, MSGlobals::gStopTolerance, MSTransportable::isPerson(), MSTransportable::isWaitingFor(), MSEdge::lock(), MSEdge::myWaiting, toString(), TRIGGERED, and WRITE_WARNING.
Referenced by MSStageDriving::proceed().
|
inlineinherited |
Returns the edges's width (sum over all lanes)
Definition at line 656 of file MSEdge.h.
References MSEdge::myWidth.
Referenced by MSLCM_SL2015::_wantsChangeSublane(), MSLaneChangerSublane::addOutsideLeaders(), MSVehicle::brakeForOverlap(), MSLCM_SL2015::computeSpeedGain(), GUIBaseVehicle::drawOnPos(), MSLCM_SL2015::getLeftBorder(), MSLCM_SL2015::getVehicleCenter(), MSLCM_SL2015::outsideEdge(), and MSVehicle::planMoveInternal().
|
inherited |
return whether this edge prohibits changing for the given vClass when starting on the given lane index
Definition at line 1362 of file MSEdge.cpp.
References MSEdge::myLanes.
Referenced by MSVehicle::getRerouteOrigin().
|
inlineinherited |
Definition at line 343 of file MSEdge.h.
References MSEdge::myDistance.
|
inlineinherited |
Definition at line 738 of file MSEdge.h.
References MSEdge::myLaneChanger.
Referenced by MSLCM_LC2013::_patchSpeed(), and MSLane::getMeanSpeed().
|
inherited |
whether any lane has a minor link
Definition at line 1350 of file MSEdge.cpp.
References MSEdge::myLanes.
Referenced by MESegment::initSegment().
|
inherited |
Returns whether the parameter is set.
[in] | key | The key to ask for |
Definition at line 84 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by MSStageWalking::activateEntryReminders(), NBEdge::append(), MSVehicleType::build(), GUIInductLoop::buildDetectorGUIRepresentation(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), GUINet::createTLWrapper(), EnergyParams::EnergyParams(), 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_SSM::getOutputFilename(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSStoppingPlaceRerouter::getWeight(), MSStageDriving::init(), SUMOVTypeParameter::initRailVisualizationParameters(), MSEdge::insertVehicle(), NWWriter_OpenDrive::mapmatchRoadObjects(), Parameterised::mergeParameters(), MSActuatedTrafficLightLogic::MSActuatedTrafficLightLogic(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), GNEVType::overwriteVType(), NWWriter_OpenDrive::parseTrafficSign(), NBTrafficLightDefinition::railSignalUncontrolled(), MSDevice_Battery::readParameterValue(), MSDevice_SSM::requestsTrajectories(), NBTrafficLightLogicCont::setOpenDriveSignalParameters(), MSVehicle::slowDownForSchedule(), MSDevice_SSM::useGeoCoords(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::WAUTSwitchProcedure_Stretch(), MSDevice_SSM::writeLanesPositions(), MSDevice_SSM::writePositions(), NWWriter_OpenDrive::writeRoadObjectPoly(), NWWriter_OpenDrive::writeRoadObjects(), and NWWriter_OpenDrive::writeSignals().
|
inherited |
Definition at line 1671 of file MSEdge.cpp.
References MSEdge::myHaveTransientPermissions.
Referenced by MSBaseVehicle::hasValidRoute().
Enables vaporization.
The internal vaporization counter is increased enabling the vaporization. Called from the event handler.
[in] | t | The current time (unused) |
ProcessError | not thrown by this method, just derived |
Definition at line 512 of file MSEdge.cpp.
References MSEdge::myVaporizationRequests.
Referenced by NLTriggerBuilder::buildVaporizer().
|
inherited |
Definition at line 1627 of file MSEdge.cpp.
References MSNet::addRestriction(), MSEdge::getEdgeType(), MSNet::getInstance(), MSEdge::getNormalBefore(), MSEdge::getNormalSuccessor(), MSNet::getRestrictions(), MSNet::hasJunctionHigherSpeeds(), MSEdge::isInternal(), MAX2(), and MSEdge::myEdgeType.
|
inherited |
Initialize the edge.
[in] | allowed | Information which edges may be reached from which lanes |
[in] | lanes | List of this edge's lanes |
Definition at line 102 of file MSEdge.cpp.
References CONNECTOR, MSGlobals::gLateralResolution, MSEdge::myCombinedPermissions, MSEdge::myFunction, MSEdge::myLanes, MSEdge::mySublaneSides, MSEdge::myWidth, MSLeaderInfo::numSublanes(), and SVCAll.
Referenced by NLHandler::addDistrict(), NLBuilder::build(), and NLEdgeControlBuilder::closeEdge().
|
staticinherited |
Inserts IDs of all known edges into the given vector.
Definition at line 1102 of file MSEdge.cpp.
References MSEdge::myDict.
|
inherited |
Tries to insert the given vehicle into the network.
The procedure for choosing the proper lane is determined, first. In dependence to this, the proper lane is chosen.
Insertion itself is done by calling the chose lane's "insertVehicle" method but only if the checkOnly argument is false. The check needs to be certain only in the negative case (if false is returned, there is no way this vehicle would be inserted).
[in] | v | The vehicle to insert |
[in] | time | The current simulation time |
[in] | checkOnly | Whether we perform only the check without actually inserting |
[in] | forceCheck | Whether the full insertion check should be run for each pending vehicle or whether insertion on lanes for which an insertion has already a failed should be ignored in the current time step. |
Definition at line 775 of file MSEdge.cpp.
References DEFAULT, SUMOVehicleParameter::departLaneProcedure, SUMOVehicleParameter::departPos, SUMOVehicleParameter::departPosProcedure, SUMOVehicleParameter::departProcedure, FIRST_ALLOWED, FREE, MSGlobals::gCheckRoutes, MSLane::getBruttoOccupancy(), MSEdge::getDepartLane(), Named::getID(), MSLane::getIndex(), MSNet::getInstance(), MSEdge::getLength(), MSVehicleType::getLengthWithGap(), MESegment::getNextSegment(), SUMOTrafficObject::getParameter(), SUMOVehicle::getRouteValidity(), MELoop::getSegmentForEdge(), SUMOTrafficObject::getVehicleType(), GIVEN, MSGlobals::gMesoNet, MSGlobals::gUseMesoSim, Parameterised::hasParameter(), MESegment::hasSpaceFor(), SUMOVehicleParameter::id, MESegment::initialise(), MSLane::insertVehicle(), MSEdge::isTazConnector(), MSEdge::isVaporizing(), MSEdge::myFailedInsertionMemory, MSEdge::myLanes, MSEdge::myLastFailedInsertionTime, MSEdge::myLength, RandHelper::rand(), RANDOM, RANDOM_FREE, MSBaseVehicle::ROUTE_VALID, SPLIT, time2string(), toString(), MSEdge::validateDepartSpeed(), and WRITE_WARNING.
Referenced by MSInsertionControl::checkCandidates(), MSCalibrator::execute(), and MSInsertionControl::tryInsert().
|
inlineinherited |
get blocking status
Definition at line 166 of file GUIGlObject.h.
References GUIGlObject::myAmBlocked.
|
inlineinherited |
Definition at line 243 of file MSEdge.h.
References MSEdge::allowedLanes().
Referenced by MSDriveWay::match().
|
inlineinherited |
return whether this edge is a pedestrian crossing
Definition at line 273 of file MSEdge.h.
References CROSSING, and MSEdge::myFunction.
Referenced by NLHandler::addConnection(), MSSwarmTrafficLightLogic::allowLine(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildSensorForLane(), MSLane::detectPedestrianJunctionCollision(), GUILane::drawGL(), GUILane::drawLinkNo(), GUILane::drawTLSLinkNo(), GUILane::getClickPriority(), MSPModel_Striping::getNextLane(), MSPModel_Striping::getNextLaneObstacles(), MSDevice_SSM::getVehiclesOnJunction(), MSPModel_Striping::initWalkingAreaPaths(), MSLane::isCrossing(), MSPedestrianPushButton::loadCrossingEdgeMap(), MSPModel_Striping::moveInDirectionOnLane(), libsumo::Helper::moveToXYMap(), libsumo::Helper::moveToXYMap_matchingRoutePosition(), MSPedestrianPushButton::MSPedestrianPushButton(), MSEdge::recalcCache(), and GUILane::setFunctionalColor().
|
inlineinherited |
Definition at line 734 of file MSEdge.h.
References MSEdge::myAmDelayed, and MSEdge::myBidiEdge.
|
inherited |
whether this edge has no vehicles
more efficient than retrieving vehicle number
Definition at line 1538 of file MSEdge.cpp.
References MSEdge::getLanes(), MSGlobals::gMesoNet, and MSGlobals::gUseMesoSim.
|
inlineinherited |
return whether this edge is at the fringe of the network
Definition at line 761 of file MSEdge.h.
References MSEdge::myAmFringe.
Referenced by MSVehicle::planMoveInternal().
|
virtualinherited |
check if element is locked (Currently used only in netedit)
Reimplemented in GNEAdditional, GNEDemandElement, and GNENetworkElement.
Definition at line 208 of file GUIGlObject.cpp.
Referenced by GNEViewNetHelper::ViewObjectsSelector::filterLockedElements(), and GNEViewNet::processLeftButtonPressNetwork().
|
inlineinherited |
return whether this edge is an internal edge
Definition at line 268 of file MSEdge.h.
References INTERNAL, and MSEdge::myFunction.
Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLane::addApproachingLane(), GUINet::EdgeFloatTimeLineRetriever_GUI::addEdgeRelWeight(), MSRouteHandler::addStop(), MSBaseVehicle::addStop(), MSEdge::allowsLaneChanging(), MSLane::appropriate(), MSVehicle::brakeForOverlap(), MSSOTLE2Sensors::buildContinueSensior(), MSEdge::buildLaneChanger(), MSSOTLE2Sensors::buildSensorForLane(), MSEdge::canChangeToOpposite(), MSLaneChanger::checkChange(), MSVehicle::checkRewindLinkLanes(), GUILane::drawGL(), MSVehicle::enterLaneAtMove(), libsumo::Helper::findCloserLane(), MSDevice_SSM::findSurroundingVehicles(), MSVehicle::getBestLanesContinuation(), MSEdge::getDepartLane(), MSRoute::getDistanceBetween(), MSEdge::getInternalFollowingLengthTo(), MSLink::getLeaderInfo(), MSPModel_Striping::getNextLane(), LIBSUMO_NAMESPACE::Vehicle::getNextLinks(), LIBSUMO_NAMESPACE::Vehicle::getNextTLS(), MSEdge::getNormalBefore(), MSEdge::getNormalSuccessor(), getTotalLength(), MSDevice_SSM::getUpstreamVehicles(), MSEdge::inferEdgeType(), MSLane::isInternal(), MSVehicle::joinTrainPartFront(), MSLink::lastWasContMajor(), MSLink::lastWasContState(), LIBSUMO_NAMESPACE::Vehicle::moveTo(), libsumo::Helper::moveToXYMap(), MSLane::mustCheckJunctionCollisions(), MSDevice_FCDReplay::FCDHandler::myStartElement(), MSDevice_GLOSA::notifyEnter(), MSVehicle::passingMinor(), MSLCM_DK2008::patchSpeed(), MSVehicle::planMoveInternal(), MSEdge::recalcCache(), MSLink::setRequestInformation(), MSVehicle::unsafeLinkAhead(), MSVehicle::updateBestLanes(), MSLCM_DK2008::wantsChangeToLeft(), MSLCM_DK2008::wantsChangeToRight(), and MSRoute::writeEdgeIDs().
|
inlineinherited |
return whether this edge is an internal edge
Definition at line 263 of file MSEdge.h.
References MSEdge::myFunction, and NORMAL.
Referenced by MSBaseVehicle::addStop(), MSDriveWay::buildRoute(), MSVehicle::computeFurtherLanes(), MSPModel_JuPedSim::execute(), getIDs(), MSRailSignal::initDriveWays(), MSLane::isNormal(), LIBSUMO_NAMESPACE::Person::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), MSEdge::recalcCache(), MSFullExport::writeEdge(), and MSXMLRawOut::writeEdge().
|
staticprivateinherited |
check if given string can be parsed to a parameter of type "key=value"
Definition at line 254 of file Parameterised.cpp.
References StringTokenizer::getVector(), and SUMOXMLDefinitions::isValidParameterKey().
Referenced by Parameterised::areAttributesValid(), and Parameterised::areParametersValid().
|
inlineinherited |
Definition at line 721 of file MSEdge.h.
References MSEdge::myAmRoundabout.
Referenced by MSVehicle::checkRewindLinkLanes(), MSLCHelper::getRoundaboutDistBonus(), MESegment::limitedControlOverride(), and MSVehicle::processLinkApproaches().
|
overridevirtual |
whether this lane is selected in the GUI
Reimplemented from MSEdge.
Definition at line 655 of file GUIEdge.cpp.
References GUIGlObject::getGlID(), GLO_EDGE, gSelected, and GUISelectedStorage::isSelected().
|
privateinherited |
Definition at line 1432 of file MSEdge.cpp.
References MSEdge::getLanes(), and MSEdge::myLanes.
Referenced by MSEdge::checkAndRegisterBiDirEdge().
|
inlineinherited |
Definition at line 291 of file MSEdge.h.
References CONNECTOR, and MSEdge::myFunction.
Referenced by MSPModel_JuPedSim::add(), MSEdge::addSuccessor(), closeBuilding(), getBoundary(), GUILane::getColorValue(), MSEdge::getDistanceTo(), MSVehicleControl::handleTriggeredDepart(), MSEdge::insertVehicle(), MSDevice_Routing::preInsertionReroute(), MSStageTrip::reroute(), MSBaseVehicle::reroute(), and MSEdge::setJunctions().
|
inlineinherited |
Returns whether vehicles on this edge shall be vaporized.
Definition at line 434 of file MSEdge.h.
References MSEdge::myVaporizationRequests.
Referenced by MSVehicle::executeMove(), MSLane::executeMovements(), MSEdge::insertVehicle(), MSVehicle::processLaneAdvances(), MESegment::receive(), and MSInsertionControl::tryInsert().
|
inlineinherited |
return whether this edge is walking area
Definition at line 287 of file MSEdge.h.
References MSEdge::myFunction, and WALKINGAREA.
Referenced by MSSwarmTrafficLightLogic::allowLine(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildSensorForLane(), MSLane::detectPedestrianJunctionCollision(), GUILane::drawGL(), GUILane::drawLane2LaneConnections(), MSPModel_Striping::getArbitraryPath(), GUILane::getColorValue(), MSPModel_Striping::getNextLane(), MSPModel_Striping::getNextLaneObstacles(), getWalking(), MSPModel_Striping::getWalkingAreaPath(), MSPModel_Striping::guessPath(), MSPModel_Striping::initWalkingAreaPaths(), MSPModel_Striping::insertWalkArePaths(), MSLane::isWalkingArea(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::PState::moveTo(), LIBSUMO_NAMESPACE::Person::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), libsumo::Helper::moveToXYMap_matchingRoutePosition(), and MSPedestrianPushButton::MSPedestrianPushButton().
Returns the lane left to the one given, 0 if the given lane is leftmost.
[in] | lane | The lane right to the one to be returned |
Definition at line 450 of file MSEdge.cpp.
References MSEdge::parallelLane().
Referenced by MSDevice_ElecHybrid::notifyMove().
|
inlineoverridevirtual |
|
virtualinherited |
mark element as front element (Currently used only in netedit)
Reimplemented in GNEAdditional, GNEDemandElement, and GNENetworkElement.
Definition at line 215 of file GUIGlObject.cpp.
|
inlineinherited |
Definition at line 725 of file MSEdge.h.
References MSEdge::myAmRoundabout.
Referenced by NLHandler::addRoundabout().
|
inlineinherited |
Definition at line 729 of file MSEdge.h.
References MSEdge::myAmDelayed.
Referenced by MSLane::incorporateVehicle(), MSLane::integrateNewVehicles(), and MEVehicle::setEventTime().
|
inherited |
Adds or appends all given parameters from the map.
[in] | mapArg | The keys/values to insert |
Definition at line 65 of file Parameterised.cpp.
References Parameterised::getParameter(), Parameterised::hasParameter(), and Parameterised::setParameter().
Referenced by NBEdge::append().
|
inlinevirtualinherited |
notify object about left click
Reimplemented in GUITriggeredRerouter::GUITriggeredRerouterEdge.
Definition at line 218 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::onLeftBtnPress().
|
inherited |
Returns the lane with the given offset parallel to the given lane one or 0 if it does not exist.
[in] | lane | The base lane |
[in] | offset | The offset of the result lane |
[in] | includeOpposte | Whether an opposite direction lane may be returned |
Definition at line 462 of file MSEdge.cpp.
References MSLane::getIndex(), MSEdge::getLanes(), MSEdge::getNumLanes(), MSEdge::getOppositeEdge(), and MSEdge::myLanes.
Referenced by MSLane::getParallelLane(), MSEdge::leftLane(), and MSEdge::rightLane().
|
staticinherited |
Parses the given string assuming it contains a list of edge ids divided by spaces.
Splits the string at spaces, uses polymorph method to generate edge vector.
[in] | desc | The string containing space-separated edge ids |
[out] | into | The vector to fill |
[in] | rid | The id of the route these description belongs to; used for error message generation |
ProcessError | If one of the strings contained is not a known edge id |
Definition at line 1110 of file MSEdge.cpp.
References StringTokenizer::getVector(), and MSEdge::parseEdgesList().
Referenced by MSRouteHandler::addTranship(), MSRouteHandler::addWalk(), LIBSUMO_NAMESPACE::Person::appendWalkingStage(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), MSDriveWay::loadState(), MSRouteHandler::openRoute(), MSEdge::parseEdgesList(), MSRouteHandler::parseFromViaTo(), LIBSUMO_NAMESPACE::Vehicle::setRoute(), and LIBSUMO_NAMESPACE::Vehicle::setVia().
|
staticinherited |
Parses the given string vector assuming it edge ids.
[in] | desc | The string vector containing edge ids |
[out] | into | The vector to fill |
[in] | rid | The id of the route these description belongs to; used for error message generation |
ProcessError | If one of the strings contained is not a known edge id |
Definition at line 1118 of file MSEdge.cpp.
References MSEdge::dictionary().
|
inlineinherited |
Returns whether the vehicle (class) is not allowed on the edge.
Definition at line 627 of file MSEdge.h.
References SUMOTrafficObject::getVClass(), SUMOTrafficObject::ignoreTransientPermissions(), MSEdge::myCombinedPermissions, and MSEdge::myOriginalCombinedPermissions.
|
inherited |
Definition at line 322 of file MSEdge.cpp.
References MSEdge::addToAllowed(), MSEdge::allowedLanes(), MSEdge::getMesoPermissions(), MSGlobals::gMesoNet, MSGlobals::gUseMesoSim, MSEdge::myAllowed, MSEdge::myAllowedTargets, MSEdge::myClassesViaSuccessorMap, MSEdge::myCombinedPermissions, MSEdge::myHaveTransientPermissions, MSEdge::myLanes, MSEdge::myMinimumPermissions, MSEdge::myOrigAllowed, MSEdge::myOrigAllowedTargets, MSEdge::myOrigClassesViaSuccessorMap, MSEdge::myOriginalCombinedPermissions, MSEdge::myOriginalMinimumPermissions, MSEdge::myPredecessors, MSEdge::rebuildAllowedTargets(), SUMOVehicleClass_MAX, SVC_IGNORING, SVC_PEDESTRIAN, SVC_PRIVATE, and SVCAll.
Referenced by MSEdge::closeBuilding(), GUILane::closeTraffic(), closeTraffic(), LIBSUMO_NAMESPACE::Lane::setAllowed(), LIBSUMO_NAMESPACE::Edge::setAllowedSVCPermissions(), and LIBSUMO_NAMESPACE::Lane::setDisallowed().
|
inherited |
Definition at line 383 of file MSEdge.cpp.
References MSEdge::addToAllowed(), MSEdge::allowedLanes(), MSEdge::myAllowed, MSEdge::myAllowedTargets, MSEdge::myClassesSuccessorMap, MSEdge::myCombinedPermissions, MSEdge::myLanes, MSEdge::myMinimumPermissions, MSEdge::mySuccessors, SUMOVehicleClass_MAX, SVC_IGNORING, and SVC_PRIVATE.
Referenced by MSEdge::rebuildAllowedLanes().
|
inherited |
Recalculates the cached values.
Definition at line 119 of file MSEdge.cpp.
References MSEdge::getEdgeType(), MSNet::getInstance(), MSNet::getMesoType(), MSEdge::getSpeedLimit(), MSGlobals::gMinorPenalty, MSGlobals::gTLSPenalty, MSGlobals::gTurnaroundPenalty, MSGlobals::gUseMesoSim, MSGlobals::gUsingInternalLanes, MSLink::havePriority(), MSEdge::isCrossing(), MSEdge::isInternal(), MSEdge::isNormal(), MSLink::isTLSControlled(), MSLink::isTurnaround(), MAX2(), MIN2(), MESegment::MesoEdgeType::minorPenalty, MSEdge::myEmptyTraveltime, MSEdge::myLanes, MSEdge::myLength, MSEdge::myTimePenalty, STEPS2TIME, and MESegment::MesoEdgeType::tlsPenalty.
Referenced by MSEdge::closeBuilding(), MSTrafficLightLogic::initMesoTLSPenalties(), MSLane::setFrictionCoefficient(), MSLane::setLength(), and MSLane::setMaxSpeed().
|
inline |
|
inlinevirtualinherited |
remove additional user-griggered visualisations
Reimplemented in GUIBaseVehicle, and GUIPerson.
Definition at line 215 of file GUIGlObject.h.
|
inlinevirtualinherited |
notify object about popup menu removal
Reimplemented in GUIBaseVehicle.
Definition at line 124 of file GUIGlObject.h.
Referenced by GUIGLObjectPopupMenu::removePopupFromObject().
|
inherited |
Lets this object know a parameter window showing the object's values was closed.
[in] | w | The closed parameter window |
Definition at line 375 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::~GUIParameterTableWindow().
|
inlineoverridevirtual |
Reimplemented from MSEdge.
Definition at line 148 of file GUIEdge.h.
References myLock, and MSEdge::removeTransportable().
|
inherited |
Removes a vehicle from the list of waiting vehicles.
Definition at line 1460 of file MSEdge.cpp.
References MSGlobals::gNumSimThreads, MSEdge::lock(), and MSEdge::myWaiting.
Referenced by MSVehicleControl::handleTriggeredDepart(), MEVehicle::processStop(), and MSVehicle::resumeFromStopping().
|
inherited |
Definition at line 182 of file MSEdge.cpp.
References MSJunction::getIncoming(), MSEdge::myPredecessors, and MSEdge::mySuccessors.
Referenced by NLHandler::addDistrict().
|
inlineinherited |
Returns whether this edge has restriction parameters forbidding the given vehicle to pass it The restriction mechanism is not implemented yet for the microsim, so it always returns false.
[in] | vehicle | The vehicle for which the information has to be returned |
Returns the lane right to the one given, 0 if the given lane is rightmost.
[in] | lane | The lane left to the one to be returned |
Definition at line 456 of file MSEdge.cpp.
References MSEdge::parallelLane().
Referenced by MSDevice_ElecHybrid::notifyMove().
|
virtualinherited |
select GLObject (Currently used only in netedit)
Reimplemented in GNEAdditional, GNEGenericData, GNEDemandElement, and GNENetworkElement.
Definition at line 227 of file GUIGlObject.cpp.
|
privateinherited |
Definition at line 1407 of file MSEdge.cpp.
References Named::getID(), MSEdge::getLanes(), MSEdge::getNumericalID(), MSEdge::getNumLanes(), MSEdge::myBidiEdge, MSEdge::myLanes, TL, and WRITE_WARNINGF.
Referenced by MSEdge::checkAndRegisterBiDirEdge().
|
inlineinherited |
set blocking status
Definition at line 171 of file GUIGlObject.h.
References GUIGlObject::myAmBlocked.
Referenced by GUIGlObjectStorage::getObjectBlocking(), and GUIGlObjectStorage::getObjectBlocking().
void GUIEdge::setColor | ( | const GUIVisualizationSettings & | s | ) | const |
sets the color according to the currente settings
Definition at line 458 of file GUIEdge.cpp.
References GUIVisualizationSettings::edgeColorer, GUIPropertySchemeStorage< T >::getActive(), GUIPropertyScheme< T >::getColor(), getColorValue(), GUIPropertySchemeStorage< T >::getScheme(), myMesoColor, setFunctionalColor(), and setMultiColor().
Referenced by drawGL().
|
inlineinherited |
Sets the crossed edge ids for a crossing edge.
Definition at line 351 of file MSEdge.h.
References MSEdge::myCrossingEdges.
Referenced by NLEdgeControlBuilder::addCrossingEdges().
|
inherited |
Sets a new friction coefficient COF for all lanes [later to be (used by TraCI and MSCalibrator)].
[in] | val | the new coefficient in [0..1] |
bool GUIEdge::setFunctionalColor | ( | const GUIColorer & | c | ) | const |
sets the color according to the current scheme index and some edge function
Definition at line 468 of file GUIEdge.cpp.
References GUIPropertySchemeStorage< T >::getActive(), MSEdge::getLanes(), myMesoColor, and GUILane::setFunctionalColor().
Referenced by setColor().
|
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().
|
inherited |
Definition at line 1319 of file MSEdge.cpp.
References Boundary::add(), MSJunction::getPosition(), MSEdge::isTazConnector(), MSEdge::myBoundary, MSEdge::myFromJunction, and MSEdge::myToJunction.
Referenced by NLHandler::myEndElement().
|
inlineinherited |
Sets the last time a vehicle could not be inserted.
[in] | time | the new value |
Definition at line 603 of file MSEdge.h.
References MSEdge::myLastFailedInsertionTime.
Referenced by MSInsertionControl::tryInsert().
|
inherited |
Sets a new maximum speed for all lanes (used by TraCI and MSCalibrator)
[in] | val | the new speed in m/s |
Definition at line 1177 of file MSEdge.cpp.
References MSEdge::myLanes.
Referenced by METriggeredCalibrator::execute(), and MSCalibrator::execute().
|
inlinestaticinherited |
Definition at line 819 of file MSEdge.h.
References MSEdge::myMesoIgnoredVClasses.
Referenced by NLEdgeControlBuilder::build().
|
virtualinherited |
Changes the microsimID of the object.
Definition at line 245 of file GUIGlObject.cpp.
References GUIGlObjectStorage::changeName(), GUIGlObject::createFullName(), GUIGlObjectStorage::gIDStorage, GUIGlObject::myFullName, and GUIGlObject::myMicrosimID.
Referenced by GNEAdditional::setAdditionalID(), GNEDemandElement::setDemandElementID(), GNENetworkElement::setNetworkElementID(), GNENetHelper::AttributeCarriers::updateAdditionalID(), and GNENetHelper::AttributeCarriers::updateDemandElementID().
bool GUIEdge::setMultiColor | ( | const GUIColorer & | c | ) | const |
sets multiple colors according to the current scheme index and edge function
Definition at line 490 of file GUIEdge.cpp.
References GUIPropertySchemeStorage< T >::getActive(), getAllowedSpeed(), GUIPropertyScheme< T >::getColor(), GUIPropertySchemeStorage< T >::getScheme(), MSGlobals::gMesoNet, and mySegmentColors.
Referenced by setColor().
|
inlineinherited |
Definition at line 295 of file MSEdge.h.
References MSEdge::myOtherTazConnector.
Referenced by NLHandler::addDistrict(), and NLBuilder::build().
|
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 NBRailwayTopologyAnalyzer::addBidiEdge(), NLHandler::addDistrict(), RONetHandler::addParam(), ShapeHandler::addPOI(), NBOwnTLDef::buildNemaPhases(), MSParkingArea::enter(), NIImporter_MATSim::EdgesHandler::insertEdge(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), MSLane::isInsertionSuccess(), NBNodeCont::joinNodeCluster(), NBEdge::Lane::Lane(), NWWriter_OpenDrive::mapmatchRoadObjects(), Parameterised::mergeParameters(), MSStateHandler::myStartElement(), NIXMLConnectionsHandler::myStartElement(), NIXMLNodesHandler::myStartElement(), NIXMLTrafficLightsHandler::myStartElement(), ShapeHandler::myStartElement(), MSDevice_Bluelight::notifyMove(), GNESingleParametersDialog::onCmdAccept(), NBRailwayTopologyAnalyzer::reverseEdges(), GNEVType::setAttribute(), NBEdge::setJunctionPriority(), NIImporter_OpenDrive::setLaneAttributes(), MSRailCrossing::setParameter(), MSActuatedTrafficLightLogic::setParameter(), MSRailSignal::setParameter(), MSSimpleTrafficLightLogic::setParameter(), NEMALogic::setParameter(), LIBSUMO_NAMESPACE::Simulation::setParameter(), 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 167 of file Parameterised.cpp.
References Parameterised::getParametersMap(), and Parameterised::myMap.
Referenced by MSStageDriving::clone(), MSStageTranship::clone(), MSStageTrip::clone(), MSStageWaiting::clone(), MSStageWalking::clone(), and MSStageTrip::reroute().
|
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 173 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(), 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(), GNEPoly::setAttribute(), and GNEDetector::setDetectorAttribute().
|
inline |
Definition at line 227 of file GUIEdge.h.
References myShowDeadEnd.
|
inlineoverridevirtual |
|
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(), GNEVType::setAttribute(), and LIBSUMO_NAMESPACE::TrafficLight::swapParameters().
|
virtualinherited |
update GLObject (geometry, ID, etc.) (optional)
Reimplemented in GNEAdditional, GNEGenericData, GNEDemandElement, GNEConnection, GNECrossing, GNEEdge, GNEEdgeType, GNEInternalLane, GNEJunction, GNELane, GNELaneType, and GNEWalkingArea.
Definition at line 233 of file GUIGlObject.cpp.
|
inherited |
update meso segment parameters
Definition at line 249 of file MSEdge.cpp.
References MSGlobals::gMesoNet, MSGlobals::gUseMesoSim, MSEdge::myLanes, and MELoop::updateSegmentsForEdge().
|
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(), NBNode::addCrossing(), PCLoaderOSM::addPOI(), PCLoaderOSM::addPolygon(), NLHandler::closeEdge(), NLJunctionControlBuilder::closeJunction(), NLJunctionControlBuilder::closeTrafficLightLogic(), NBTrafficLightDefinition::compute(), NLDetectorBuilder::endE3Detector(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), NBEdge::NBEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), NBTrafficLightLogic::NBTrafficLightLogic(), and LIBSUMO_NAMESPACE::TrafficLight::swapConstraints().
|
inherited |
check whether the given departSpeed is valid for this edge
Definition at line 737 of file MSEdge.cpp.
References MSVehicleType::computeChosenSpeedDeviation(), SUMOVehicleParameter::departSpeed, SUMOVehicleParameter::departSpeedProcedure, SUMOTrafficObject::getChosenSpeedFactor(), MSEdge::getDepartLane(), MSEdge::getDepartLaneMeso(), MSVehicleType::getDesiredMaxSpeed(), Distribution_Parameterized::getParameter(), SUMOTrafficObject::getParameter(), MSVehicleType::getSpeedFactor(), MSEdge::getSpeedLimit(), MSEdge::getVehicleMaxSpeed(), MSLane::getVehicleMaxSpeed(), SUMOTrafficObject::getVehicleType(), GIVEN, MSGlobals::gMesoNet, SUMOVehicleParameter::id, MIN2(), SUMOVehicle::setChosenSpeedFactor(), TL, toString(), VEHPARS_SPEEDFACTOR_SET, SUMOVehicleParameter::wasSet(), and WRITE_WARNINGF.
Referenced by MSEdge::insertVehicle().
|
inherited |
write Params in the given outputdevice
Definition at line 188 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(), GNEEntryExitDetector::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().
|
staticprivateinherited |
vector for TypeNames Initializer
Definition at line 52 of file GUIGlObject.h.
|
staticinherited |
Definition at line 72 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::getTrackedID(), GUISUMOViewParent::onCmdSpeedFactor(), GUISUMOViewParent::onUpdSpeedFactor(), GUISUMOAbstractView::paintGL(), GUISUMOAbstractView::showToolTipFor(), and GUIViewTraffic::stopTrack().
|
staticinherited |
Definition at line 73 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::filterContextObjects(), getClickPriority(), and GUILane::getClickPriority().
|
protectedinherited |
Associative container from vehicle class to allowed-lanes.
Definition at line 947 of file MSEdge.h.
Referenced by MSEdge::allowedLanes(), MSEdge::rebuildAllowedLanes(), and MSEdge::rebuildAllowedTargets().
|
protectedinherited |
From target edge to lanes allowed to be used to reach it.
Definition at line 951 of file MSEdge.h.
Referenced by MSEdge::allowedLanes(), MSEdge::rebuildAllowedLanes(), and MSEdge::rebuildAllowedTargets().
|
privateinherited |
whether the object can be deleted
Definition at line 318 of file GUIGlObject.h.
Referenced by GUIGlObject::isBlocked(), and GUIGlObject::setBlocked().
|
mutableprotectedinherited |
whether this edge had a vehicle with less than max speed on it
Definition at line 996 of file MSEdge.h.
Referenced by MSEdge::getCurrentTravelTime(), MSEdge::isDelayed(), and MSEdge::markDelayed().
|
protectedinherited |
whether this edge is at the network fringe
Definition at line 1002 of file MSEdge.h.
Referenced by MSEdge::closeBuilding(), and MSEdge::isFringe().
|
protectedinherited |
whether this edge belongs to a roundabout
Definition at line 999 of file MSEdge.h.
Referenced by MSEdge::isRoundabout(), and MSEdge::markAsRoundabout().
|
privateinherited |
the oppositing superposable edge
Definition at line 1051 of file MSEdge.h.
Referenced by MSEdge::checkAndRegisterBiDirEdge(), MSEdge::getBidiEdge(), MSEdge::getMeanSpeed(), MSEdge::isDelayed(), and MSEdge::setBidiLanes().
|
protectedinherited |
The bounding rectangle of end nodes incoming or outgoing edges for taz connectors or of my own start and end node for normal edges.
Definition at line 1035 of file MSEdge.h.
Referenced by MSEdge::addSuccessor(), MSEdge::getDistanceTo(), and MSEdge::setJunctions().
|
mutableprotectedinherited |
The successors available for a given vClass.
Definition at line 1028 of file MSEdge.h.
Referenced by MSEdge::getSuccessors(), and MSEdge::rebuildAllowedTargets().
|
mutableprotectedinherited |
The successors available for a given vClass.
Definition at line 1031 of file MSEdge.h.
Referenced by MSEdge::getViaSuccessors(), and MSEdge::rebuildAllowedLanes().
|
protectedinherited |
The union of lane permissions for this edge.
Definition at line 957 of file MSEdge.h.
Referenced by MSEdge::allowedLanes(), MSEdge::getNumDrivingLanes(), MSEdge::getPermissions(), MSEdge::initialize(), MSEdge::prohibits(), MSEdge::rebuildAllowedLanes(), and MSEdge::rebuildAllowedTargets().
|
mutableprotectedinherited |
Containers on the edge.
Definition at line 941 of file MSEdge.h.
Referenced by MSEdge::addTransportable(), MSEdge::clearState(), drawGL(), MSEdge::getSortedContainers(), and MSEdge::removeTransportable().
|
protectedinherited |
The crossed edges id for a crossing edge. On not crossing edges it is empty.
Definition at line 923 of file MSEdge.h.
Referenced by MSEdge::getCrossingEdges(), and MSEdge::setCrossingEdges().
|
staticprotectedinherited |
Static dictionary to associate string-ids with objects.
Definition at line 1016 of file MSEdge.h.
Referenced by MSEdge::clear(), MSEdge::dictionary(), MSEdge::dictionary(), getIDs(), getTotalLength(), and MSEdge::insertIDs().
|
protectedinherited |
the kilometrage/mileage at the start of the edge
Definition at line 981 of file MSEdge.h.
Referenced by MSEdge::getDistance(), MSEdge::getDistanceAt(), and MSEdge::hasDistance().
|
staticprotectedinherited |
Static list of edges.
Definition at line 1021 of file MSEdge.h.
Referenced by MSEdge::clear(), MSEdge::dictionary(), MSEdge::dictionaryHint(), and MSEdge::getAllEdges().
|
protectedinherited |
the type of the edge (optionally used during network creation)
Definition at line 975 of file MSEdge.h.
Referenced by MSEdge::getEdgeType(), and MSEdge::inferEdgeType().
|
protectedinherited |
the traveltime on the empty edge (cached value for speedup)
Definition at line 990 of file MSEdge.h.
Referenced by MSEdge::getCurrentTravelTime(), MSEdge::getMeanSpeed(), MSEdge::getMinimumTravelTime(), and MSEdge::recalcCache().
|
mutableprotectedinherited |
A cache for the rejected insertion attempts. Used to assure that no further insertion attempts are made on a lane where an attempt has already failed in the current time step if MSInsertionControl::myEagerInsertionCheck is off.
Definition at line 920 of file MSEdge.h.
Referenced by MSEdge::insertVehicle().
|
protectedinherited |
the junctions for this edge
Definition at line 934 of file MSEdge.h.
Referenced by MSEdge::checkAndRegisterBiDirEdge(), MSEdge::getFromJunction(), and MSEdge::setJunctions().
|
privateinherited |
full name of GL Object
Definition at line 312 of file GUIGlObject.h.
Referenced by GUIGlObject::getFullName(), GUIGlObject::GUIGlObject(), and GUIGlObject::setMicrosimID().
|
protectedinherited |
the purpose of the edge
Definition at line 909 of file MSEdge.h.
Referenced by drawGL(), MSEdge::getFunction(), MSEdge::getMinimumTravelTime(), MSEdge::getSuccessors(), MSEdge::getViaSuccessors(), MSEdge::initialize(), MSEdge::isCrossing(), MSEdge::isInternal(), MSEdge::isNormal(), MSEdge::isTazConnector(), and MSEdge::isWalkingArea().
|
privateinherited |
The numerical id of the object.
Definition at line 303 of file GUIGlObject.h.
Referenced by GUIGlObject::getGlID().
|
privateinherited |
The type of the object.
Definition at line 306 of file GUIGlObject.h.
Referenced by GUIGlObject::createFullName(), GUIGlObject::getClickPriority(), GUIGlObject::getType(), and GUIGlObject::GUIGlObject().
|
protectedinherited |
whether transient permission changes were applied to this edge or a predecessor
Definition at line 965 of file MSEdge.h.
Referenced by MSEdge::allowedLanes(), MSEdge::getViaSuccessors(), MSEdge::hasTransientPermissions(), and MSEdge::rebuildAllowedLanes().
|
privateinherited |
icon associatd with this GL Object
Definition at line 315 of file GUIGlObject.h.
Referenced by GUIGlObject::buildPopupHeader(), and GUIGlObject::getGLIcon().
|
protectedinherited |
The name of the object.
Definition at line 125 of file Named.h.
Referenced by MSDriveWay::addBidiFoes(), MSE2Collector::addDetectorToLanes(), MSDriveWay::addFoes(), MSDriveWay::addParallelFoes(), MSDriveWay::addReversalFoes(), MSDriveWay::addSwitchFoes(), RODFDetector::buildDestinationDistribution(), MSDriveWay::buildDriveWay(), NGEdge::buildNBEdge(), NGNode::buildNBNode(), MSSOTLTrafficLightLogic::checkPhases(), NBNode::computeNodeShape(), NEMALogic::constructTimingAndPhaseDefs(), MSE2Collector::detectorUpdate(), GNEPOI::getAttribute(), GNEPoly::getAttribute(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), Named::getID(), NBEdge::getLaneID(), NEMALogic::getPhaseObj(), ROEdge::getStoredEffort(), GNEPOI::getSumoBaseObject(), MSLane::getSurroundingVehicles(), ROEdge::getTravelTime(), NBEdge::init(), MSSOTLTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::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::writeAggregatedChargingStationOutput(), MSDriveWay::writeBlocks(), MSDriveWay::writeBlockVehicles(), MSChargingStation::writeChargingStationOutput(), RODFDetector::writeEmitterDefinition(), MSOverheadWire::writeOverheadWireSegmentOutput(), RODFDetector::writeSingleSpeedTrigger(), MSTractionSubstation::writeTractionSubstationOutput(), MEInductLoop::writeXMLOutput(), and MSE3Collector::writeXMLOutput().
|
protectedinherited |
This member will do the lane-change.
Definition at line 906 of file MSEdge.h.
Referenced by MSEdge::buildLaneChanger(), MSEdge::changeLanes(), MSEdge::hasLaneChanger(), MSLaneChangerSublane::startChangeSublane(), and MSEdge::~MSEdge().
|
protectedinherited |
Container for the edge's lane; should be sorted: (right-hand-traffic) the more left the lane, the higher the container-index.
Definition at line 903 of file MSEdge.h.
Referenced by MSEdge::allowedLanes(), MSEdge::allowsLaneChanging(), MSEdge::buildLaneChanger(), MSEdge::canChangeToOpposite(), MSEdge::closeBuilding(), drawGL(), drawMesoVehicles(), getAllowedSpeed(), getBoundary(), MSEdge::getBruttoOccupancy(), MSEdge::getDepartLane(), MSEdge::getDepartLaneMeso(), MSEdge::getDepartPosBound(), MSEdge::getFirstAllowed(), MSEdge::getFlow(), MSEdge::getInternalFollowingEdge(), getLane(), MSEdge::getLanes(), MSEdge::getLengthGeometryFactor(), MSEdge::getMeanFriction(), MSEdge::getMeanSpeed(), MSEdge::getMeanSpeedBike(), MSEdge::getNumDrivingLanes(), MSEdge::getNumLanes(), MSEdge::getOccupancy(), MSEdge::getOppositeEdge(), getParameterWindow(), MSEdge::getSortedPersons(), MSEdge::getSpeedLimit(), MSEdge::getVehicleMaxSpeed(), MSEdge::hasChangeProhibitions(), MSEdge::hasMinorLink(), MSEdge::initialize(), MSEdge::insertVehicle(), MSEdge::isSuperposable(), MSEdge::parallelLane(), MSEdge::rebuildAllowedLanes(), MSEdge::rebuildAllowedTargets(), MSEdge::recalcCache(), MSEdge::setBidiLanes(), MSEdge::setMaxSpeed(), and MSEdge::updateMesoType().
|
mutableprotectedinherited |
The time of last insertion failure.
Definition at line 915 of file MSEdge.h.
Referenced by MSEdge::getLastFailedInsertionTime(), MSEdge::insertVehicle(), and MSEdge::setLastFailedInsertionTime().
|
protectedinherited |
the length of the edge (cached value for speedup)
Definition at line 987 of file MSEdge.h.
Referenced by MSEdge::getDepartPosBound(), MSEdge::getFreeLane(), MSEdge::getLength(), MSEdge::getOccupancy(), MSEdge::getProbableLane(), MSEdge::insertVehicle(), and MSEdge::recalcCache().
|
mutableprivate |
The mutex used to avoid concurrent updates of myPersons/ myContainers.
Definition at line 253 of file GUIEdge.h.
Referenced by addTransportable(), drawGL(), drawMesoVehicles(), getPersonsSecure(), lock(), releasePersons(), removeTransportable(), unlock(), and ~GUIEdge().
|
privateinherited |
The key->value map.
Definition at line 139 of file Parameterised.h.
Referenced by Parameterised::clearParameter(), Parameterised::getDouble(), Parameterised::getDoubles(), Parameterised::getParameter(), Parameterised::getParametersMap(), Parameterised::getParametersStr(), Parameterised::hasParameter(), Parameterised::setParameter(), Parameterised::setParameters(), Parameterised::setParametersStr(), Parameterised::unsetParameter(), and Parameterised::writeParams().
|
mutableprivate |
Definition at line 255 of file GUIEdge.h.
Referenced by getMesoColor(), setColor(), and setFunctionalColor().
|
staticprotectedinherited |
Definition at line 1023 of file MSEdge.h.
Referenced by MSEdge::getMesoPermissions(), and MSEdge::setMesoIgnoredVClasses().
|
privateinherited |
ID of GL object.
Definition at line 309 of file GUIGlObject.h.
Referenced by GUIGlObject::getMicrosimID(), and GUIGlObject::setMicrosimID().
|
protectedinherited |
The intersection of lane permissions for this edge.
Definition at line 955 of file MSEdge.h.
Referenced by MSEdge::allowedLanes(), MSEdge::rebuildAllowedLanes(), and MSEdge::rebuildAllowedTargets().
|
protectedinherited |
This edge's numerical id.
Definition at line 900 of file MSEdge.h.
Referenced by MSEdge::getNumericalID().
|
protectedinherited |
Definition at line 948 of file MSEdge.h.
Referenced by MSEdge::rebuildAllowedLanes().
|
protectedinherited |
Definition at line 952 of file MSEdge.h.
Referenced by MSEdge::allowedLanes(), and MSEdge::rebuildAllowedLanes().
|
mutableprotectedinherited |
Definition at line 1032 of file MSEdge.h.
Referenced by MSEdge::getViaSuccessors(), and MSEdge::rebuildAllowedLanes().
|
protectedinherited |
The original union of lane permissions for this edge (before temporary modifications)
Definition at line 962 of file MSEdge.h.
Referenced by MSEdge::prohibits(), and MSEdge::rebuildAllowedLanes().
|
protectedinherited |
The original intersection of lane permissions for this edge (before temporary modifications)
Definition at line 960 of file MSEdge.h.
Referenced by MSEdge::rebuildAllowedLanes().
|
protectedinherited |
the other taz-connector if this edge isTazConnector, otherwise nullptr
Definition at line 969 of file MSEdge.h.
Referenced by MSEdge::getOtherTazConnector(), and MSEdge::setOtherTazConnector().
|
privateinherited |
Parameter table windows which refer to this object.
Definition at line 321 of file GUIGlObject.h.
Referenced by GUIGlObject::addParameterTable(), GUIGlObject::removeParameterTable(), and GUIGlObject::~GUIGlObject().
|
mutableprotectedinherited |
Persons on the edge for drawing and pushbutton.
Definition at line 938 of file MSEdge.h.
Referenced by MSEdge::addTransportable(), MSEdge::clearState(), drawGL(), MSEdge::getPersons(), getPersonsSecure(), MSEdge::getSortedPersons(), and MSEdge::removeTransportable().
|
protectedinherited |
The preceeding edges.
Definition at line 931 of file MSEdge.h.
Referenced by MSEdge::addSuccessor(), MSEdge::closeBuilding(), getBoundary(), MSEdge::getNumPredecessors(), MSEdge::getPredecessors(), MSEdge::rebuildAllowedLanes(), and MSEdge::resetTAZ().
|
protectedinherited |
the priority of the edge (used during network creation)
Definition at line 978 of file MSEdge.h.
Referenced by MSEdge::getPriority().
|
mutableprivateinherited |
Definition at line 1055 of file MSEdge.h.
Referenced by MSEdge::getRailwayRoutingEdge(), and MSEdge::~MSEdge().
|
mutableprivateinherited |
a reversed version for backward routing
Definition at line 1054 of file MSEdge.h.
Referenced by MSEdge::getReversedRoutingEdge(), and MSEdge::~MSEdge().
|
mutable |
The color of the segments (cached)
Definition at line 235 of file GUIEdge.h.
Referenced by getSegmentColors(), and setMultiColor().
bool GUIEdge::myShowDeadEnd |
whether to highlight this edge as a dead-end edge
Definition at line 238 of file GUIEdge.h.
Referenced by closeBuilding(), and showDeadEnd().
|
protectedinherited |
the real-world name of this edge (need not be unique)
Definition at line 972 of file MSEdge.h.
Referenced by drawGL(), getOptionalName(), and MSEdge::getStreetName().
|
protectedinherited |
the right side for each sublane on this edge
Definition at line 1005 of file MSEdge.h.
Referenced by MSEdge::closeBuilding(), MSEdge::getSubLaneSides(), and MSEdge::initialize().
|
protectedinherited |
The succeeding edges.
Definition at line 926 of file MSEdge.h.
Referenced by MSEdge::addSuccessor(), MSEdge::closeBuilding(), getBoundary(), MSEdge::getNumSuccessors(), MSEdge::getSuccessors(), MSEdge::rebuildAllowedTargets(), and MSEdge::resetTAZ().
|
protectedinherited |
flat penalty when computing traveltime
Definition at line 993 of file MSEdge.h.
Referenced by MSEdge::getMinimumTravelTime(), MSEdge::getTimePenalty(), and MSEdge::recalcCache().
|
protectedinherited |
Definition at line 935 of file MSEdge.h.
Referenced by MSEdge::checkAndRegisterBiDirEdge(), MSEdge::getToJunction(), and MSEdge::setJunctions().
|
protectedinherited |
Vaporizer counter.
Definition at line 912 of file MSEdge.h.
Referenced by MSEdge::decVaporization(), MSEdge::incVaporization(), and MSEdge::isVaporizing().
|
protectedinherited |
Definition at line 928 of file MSEdge.h.
Referenced by MSEdge::addSuccessor(), MSEdge::closeBuilding(), and MSEdge::getViaSuccessors().
|
mutableprotectedinherited |
List of waiting vehicles.
Definition at line 1038 of file MSEdge.h.
Referenced by MSEdge::addWaiting(), MSEdge::clearState(), MSEdge::getWaitingVehicle(), and MSEdge::removeWaiting().
|
protectedinherited |
Edge width [m].
Definition at line 984 of file MSEdge.h.
Referenced by MSEdge::closeBuilding(), MSEdge::getWidth(), and MSEdge::initialize().
|
staticinherited |
associates object types with strings
Definition at line 71 of file GUIGlObject.h.
Referenced by GUIGlObject::createFullName(), GNESelectorFrame::SelectionOperation::loadFromFile(), and GNESelectorFrame::SelectionOperation::onCmdSave().