![]() |
SUMO - Simulation of Urban MObility
|
A road/street connecting two junctions (gui-version) More...
#include <GUIEdge.h>
Public Member Functions | ||||
void | addContainer (MSTransportable *c) const | |||
Add a container to myContainers. More... | ||||
void | addPerson (MSTransportable *p) const | |||
void | addRerouter () | |||
add a rerouter More... | ||||
void | addTo (const StoringVisitor &cont) const | |||
Adds this object to the given container. More... | ||||
bool | allowsLaneChanging () const | |||
void | buildLaneChanger () | |||
Has to be called after all sucessors and predecessors have been set (after closeBuilding()) More... | ||||
bool | canChangeToOpposite () | |||
whether this edge allows changing to the opposite direction edge More... | ||||
virtual void | changeLanes (SUMOTime t) | |||
Performs lane changing on this edge. More... | ||||
void | clearParameter () | |||
Clears the parameter map. More... | ||||
void | closeBuilding () | |||
void | closeTraffic (const GUILane *lane) | |||
close this edge for traffic More... | ||||
virtual void | drawGLAdditional (GUISUMOAbstractView *const parent, const GUIVisualizationSettings &s) const | |||
Draws additional, user-triggered visualisations. More... | ||||
void | drawMesoVehicles (const GUIVisualizationSettings &s) const | |||
void | drawName (const Position &pos, const double scale, const GUIVisualizationTextSettings &settings, const double angle=0) const | |||
draw name of item More... | ||||
double | getAllowedSpeed () const | |||
Boundary | getBoundary () const | |||
Returns the street's geometry. More... | ||||
double | getBruttoOccupancy () const | |||
double | getColorValue (const GUIVisualizationSettings &s, int activeScheme) const | |||
gets the color value according to the current scheme index More... | ||||
const std::vector< std::string > & | getCrossingEdges () const | |||
Gets the crossed edge ids. More... | ||||
double | getCurrentTravelTime (const double minSpeed=NUMERICAL_EPS) const | |||
Computes and returns the current travel time for this edge. More... | ||||
double | getDistanceTo (const MSEdge *other, const bool doBoundaryEstimate=false) const | |||
optimistic air distance heuristic for use in routing More... | ||||
double | getDouble (const std::string &key, const double defaultValue) const | |||
Returns the value for a given key converted to a double. More... | ||||
double | getFlow () const | |||
return flow based on meanSpead More... | ||||
const std::string & | getID () const | |||
Returns the id. More... | ||||
const MSEdge * | getInternalFollowingEdge (const MSEdge *followerAfterInternal) const | |||
double | getInternalFollowingLengthTo (const MSEdge *followerAfterInternal) const | |||
returns the length of all internal edges on the junction until reaching the non-internal edge followerAfterInternal. More... | ||||
MSLane & | getLane (int laneNo) | |||
returns the enumerated lane (!!! why not private with a friend?) More... | ||||
double | getLength () const | |||
return the length of the edge More... | ||||
double | getLengthGeometryFactor () const | |||
return shape.length() / myLength More... | ||||
double | getMeanSpeed () const | |||
get the mean speed More... | ||||
RGBColor | getMesoColor () const | |||
double | getMinimumTravelTime (const SUMOVehicle *const veh) const | |||
returns the minimum travel time for the given vehicle More... | ||||
const MSEdge * | getNormalBefore () const | |||
if this edge is an internal edge, return its first normal predecessor, otherwise the edge itself More... | ||||
const MSEdge * | getOppositeEdge () const | |||
Returns the opposite direction edge if on exists else a nullptr. More... | ||||
const std::string | getParameter (const std::string &key, const std::string &defaultValue="") const | |||
Returns the value for a given key. More... | ||||
const std::map< std::string, std::string > & | getParametersMap () const | |||
Returns the inner key/value map. More... | ||||
SVCPermissions | getPermissions () const | |||
double | getRelativeSpeed () const | |||
return meanSpead divided by allowedSpeed More... | ||||
double | getRoutingSpeed () const | |||
Returns the averaged speed used by the routing device. More... | ||||
double | getScaleValue (int activeScheme) const | |||
gets the scaling value according to the current scheme index More... | ||||
MESegment * | getSegmentAtPosition (const Position &pos) | |||
returns the segment closest to the given position More... | ||||
const std::vector< RGBColor > & | getSegmentColors () const | |||
return segment colors (meso) More... | ||||
double | getSpeedLimit () const | |||
Returns the speed limit of the edge The speed limit of the first lane is retured; should probably be the fastest edge. More... | ||||
const std::vector< double > | getSubLaneSides () const | |||
Returns the right side offsets of this edge's sublanes. More... | ||||
std::string | getVehicleIDs () const | |||
double | getVehicleMaxSpeed (const SUMOVehicle *const veh) const | |||
Returns the maximum speed the vehicle may use on this edge. More... | ||||
int | getVehicleNo () const | |||
double | getWidth () const | |||
Returns the edges's width (sum over all lanes) More... | ||||
GUIEdge (const std::string &id, int numericalID, const SumoXMLEdgeFunc function, const std::string &streetName, const std::string &edgeType, int priority) | ||||
Constructor. More... | ||||
bool | hasLaneChanger () const | |||
bool | hasMinorLink () const | |||
whether any lane has a minor link More... | ||||
void | initialize (const std::vector< MSLane *> *lanes) | |||
Initialize the edge. More... | ||||
bool | isDelayed () const | |||
bool | isFringe () const | |||
return whether this edge is at the fringe of the network More... | ||||
bool | isRoundabout () const | |||
bool | isSelected () const | |||
whether this lane is selected in the GUI More... | ||||
bool | knowsParameter (const std::string &key) const | |||
Returns whether the parameter is known. More... | ||||
void | lock () const | |||
grant exclusive access to the mesoscopic state More... | ||||
void | markAsRoundabout () | |||
void | markDelayed () const | |||
bool | prohibits (const SUMOVehicle *const vehicle) const | |||
Returns whether the vehicle (class) is not allowed on the edge. More... | ||||
void | rebuildAllowedLanes () | |||
void | rebuildAllowedTargets (const bool updateVehicles=true) | |||
void | recalcCache () | |||
Recalculates the cached values. More... | ||||
void | removeContainer (MSTransportable *c) const | |||
Remove container from myContainers. More... | ||||
void | removePerson (MSTransportable *p) const | |||
void | setColor (const GUIVisualizationSettings &s) const | |||
sets the color according to the currente settings More... | ||||
void | setCrossingEdges (const std::vector< std::string > &crossingEdges) | |||
Sets the crossed edge ids for a crossing edge. More... | ||||
bool | setFunctionalColor (const GUIColorer &c) const | |||
sets the color according to the current scheme index and some edge function More... | ||||
void | setID (const std::string &newID) | |||
resets the id More... | ||||
void | setMaxSpeed (double val) const | |||
Sets a new maximum speed for all lanes (used by TraCI and MSCalibrator) More... | ||||
bool | setMultiColor (const GUIColorer &c) const | |||
sets multiple colors according to the current scheme index and edge function More... | ||||
void | setParameter (const std::string &key, const std::string &value) | |||
Sets a parameter. More... | ||||
void | unlock () const | |||
release exclusive access to the mesoscopic state More... | ||||
void | unsetParameter (const std::string &key) | |||
Removes a parameter. More... | ||||
void | updateParameter (const std::map< std::string, std::string > &mapArg) | |||
Adds or updates all given parameters from the map. More... | ||||
void | writeParams (OutputDevice &device) const | |||
write Params in the given outputdevice More... | ||||
~GUIEdge () | ||||
Destructor. More... | ||||
inherited from GUIGlObject | ||||
virtual GUIGLObjectPopupMenu * | getPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent) | |||
Returns an own popup-menu. More... | ||||
virtual GUIParameterTableWindow * | getParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) | |||
Returns an own parameter window. More... | ||||
Boundary | getCenteringBoundary () const | |||
Returns the boundary to which the view shall be centered in order to show the object. More... | ||||
void | drawGL (const GUIVisualizationSettings &s) const | |||
Draws the object. More... | ||||
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. More... | ||||
MSLane * | rightLane (const MSLane *const lane) const | |||
Returns the lane right to the one given, 0 if the given lane is rightmost. More... | ||||
MSLane * | parallelLane (const MSLane *const lane, int offset) const | |||
Returns the lane with the given offset parallel to the given lane one or 0 if it does not exist. More... | ||||
const std::vector< MSLane * > & | getLanes () const | |||
Returns this edge's lanes. More... | ||||
const std::set< MSTransportable * > & | getPersons () const | |||
Returns this edge's persons set. More... | ||||
std::vector< MSTransportable * > | getSortedPersons (SUMOTime timestep, bool includeRiding=false) const | |||
Returns this edge's persons sorted by pos. More... | ||||
std::vector< MSTransportable * > | getSortedContainers (SUMOTime timestep, bool includeRiding=false) const | |||
Returns this edge's containers sorted by pos. More... | ||||
const std::vector< MSLane * > * | allowedLanes (const MSEdge &destination, SUMOVehicleClass vclass=SVC_IGNORING) const | |||
Get the allowed lanes to reach the destination-edge. More... | ||||
const std::vector< MSLane * > * | allowedLanes (SUMOVehicleClass vclass=SVC_IGNORING) const | |||
Get the allowed lanes for the given vehicle class. More... | ||||
Access to other edge attributes | ||||
SumoXMLEdgeFunc | getFunction () const | |||
Returns the edge type (SumoXMLEdgeFunc) More... | ||||
bool | isInternal () const | |||
return whether this edge is an internal edge More... | ||||
bool | isCrossing () const | |||
return whether this edge is a pedestrian crossing More... | ||||
void | checkAndRegisterBiDirEdge (const std::string &bidiID="") | |||
check and register the opposite superposable edge if any More... | ||||
const MSEdge * | getBidiEdge () const | |||
return opposite superposable/congruent edge, if it exist and 0 else More... | ||||
bool | isWalkingArea () const | |||
return whether this edge is walking area More... | ||||
bool | isTazConnector () const | |||
int | getNumericalID () const | |||
Returns the numerical id of the edge. More... | ||||
const std::string & | getStreetName () const | |||
Returns the street name of the edge. More... | ||||
const std::string & | getEdgeType () const | |||
Returns the type of the edge. More... | ||||
int | getPriority () const | |||
Returns the priority of the edge. More... | ||||
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. More... | ||||
int | getNumSuccessors () const | |||
Returns the number of edges that may be reached from this edge. More... | ||||
const MSEdgeVector & | getSuccessors (SUMOVehicleClass vClass=SVC_IGNORING) const | |||
Returns the following edges, restricted by vClass. More... | ||||
const MSConstEdgePairVector & | getViaSuccessors (SUMOVehicleClass vClass=SVC_IGNORING) const | |||
Returns the following edges with internal vias, restricted by vClass. More... | ||||
int | getNumPredecessors () const | |||
Returns the number of edges this edge is connected to. More... | ||||
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. More... | ||||
SUMOTime | incVaporization (SUMOTime t) | |||
Enables vaporization. More... | ||||
SUMOTime | decVaporization (SUMOTime t) | |||
Disables vaporization. More... | ||||
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. More... | ||||
MSLane * | getFreeLane (const std::vector< MSLane *> *allowed, const SUMOVehicleClass vclass, double departPos) const | |||
Finds the emptiest lane allowing the vehicle class. More... | ||||
MSLane * | getDepartLane (MSVehicle &veh) const | |||
Finds a depart lane for the given vehicle parameters. More... | ||||
SUMOTime | getLastFailedInsertionTime () const | |||
Returns the last time a vehicle could not be inserted. More... | ||||
void | setLastFailedInsertionTime (SUMOTime time) const | |||
Sets the last time a vehicle could not be inserted. More... | ||||
Atomar 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) More... | ||||
GUIGlID | getGlID () const | |||
Returns the numerical id of the object. More... | ||||
interfaces to be implemented by derived classes | ||||
virtual GUIParameterTableWindow * | getTypeParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) | |||
Returns an own type parameter window (optional) More... | ||||
virtual const std::string & | getMicrosimID () const | |||
Returns the id of the object as known to microsim. More... | ||||
virtual void | setMicrosimID (const std::string &newID) | |||
Changes the microsimID of the object. More... | ||||
GUIGlObjectType | getType () const | |||
Returns the type of the object as coded in GUIGlObjectType. More... | ||||
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. More... | ||||
Static Public Member Functions | |
static void | clear () |
Clears the dictionary. More... | |
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. More... | |
static MSEdge * | dictionary (const std::string &id) |
Returns the MSEdge associated to the key id if exists, otherwise returns 0. More... | |
static int | dictSize () |
Returns the number of edges. More... | |
static const MSEdgeVector & | getAllEdges () |
Returns all edges with a numerical id. More... | |
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 More... | |
static std::pair< double, double > | getLaneOffsets (double x1, double y1, double x2, double y2, double prev, double wanted) |
static const Position | getStopPosition (const SUMOVehicleParameter::Stop &stop) |
return the coordinates of the center of the given stop More... | |
static double | getTotalLength (bool includeInternal, bool eachLane) |
static double | getTravelTimeStatic (const MSEdge *const edge, const SUMOVehicle *const veh, double time) |
Returns the travel time for the given edge. More... | |
static void | insertIDs (std::vector< std::string > &into) |
Inserts IDs of all known edges into the given vector. More... | |
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. More... | |
static void | parseEdgesList (const std::vector< std::string > &desc, ConstMSEdgeVector &into, const std::string &rid) |
Parses the given string vector assuming it edge ids. More... | |
Data Fields | |
std::vector< RGBColor > | mySegmentColors |
The color of the segments (cached) More... | |
Static Public Attributes | |
static const GUIGlID | INVALID_ID = 0 |
static StringBijection< GUIGlObjectType > | TypeNames |
associates object types with strings More... | |
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 More... | |
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 More... | |
double | getDepartPosBound (const MSVehicle &veh, bool upper=true) const |
return upper bound for the depart position on this edge More... | |
helper methods for building popup-menus | |
void | buildPopupHeader (GUIGLObjectPopupMenu *ret, GUIMainWindow &app, bool addSeparator=true) |
Builds the header. More... | |
void | buildCenterPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to center to the object. More... | |
void | buildNameCopyPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds entries which allow to copy the name / typed name into the clipboard. More... | |
void | buildSelectionPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to (de)select the object. More... | |
void | buildShowParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to open the parameter window. More... | |
void | buildShowTypeParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to open the type parameter window. More... | |
void | buildPositionCopyEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position. More... | |
void | buildShowManipulatorPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to open the manipulator window. More... | |
Protected Attributes | |
bool | myAmDelayed |
whether this edge had a vehicle with less than max speed on it More... | |
bool | myAmFringe |
whether this edge is at the network fringe More... | |
bool | myAmRoundabout |
whether this edge belongs to a roundabout More... | |
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. More... | |
std::map< SUMOVehicleClass, MSEdgeVector > | myClassesSuccessorMap |
The successors available for a given vClass. More... | |
std::map< SUMOVehicleClass, MSConstEdgePairVector > | myClassesViaSuccessorMap |
The successors available for a given vClass. More... | |
std::set< MSTransportable * > | myContainers |
Containers on the edge. More... | |
std::vector< std::string > | myCrossingEdges |
The crossed edges id for a crossing edge. On not crossing edges it is empty. More... | |
std::string | myEdgeType |
the type of the edge (optionally used during network creation) More... | |
double | myEmptyTraveltime |
the traveltime on the empty edge (cached value for speedup) More... | |
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. More... | |
MSJunction * | myFromJunction |
the junctions for this edge More... | |
const SumoXMLEdgeFunc | myFunction |
the purpose of the edge More... | |
std::string | myID |
The name of the object. More... | |
MSLaneChanger * | myLaneChanger |
This member will do the lane-change. More... | |
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. More... | |
SUMOTime | myLastFailedInsertionTime |
The time of last insertion failure. More... | |
double | myLength |
the length of the edge (cached value for speedup) More... | |
const int | myNumericalID |
This edge's numerical id. More... | |
std::set< MSTransportable * > | myPersons |
Persons on the edge for drawing and pushbutton. More... | |
MSEdgeVector | myPredecessors |
The preceeding edges. More... | |
const int | myPriority |
the priority of the edge (used during network creation) More... | |
std::string | myStreetName |
the real-world name of this edge (need not be unique) More... | |
std::vector< double > | mySublaneSides |
the right side for each sublane on this edge More... | |
MSEdgeVector | mySuccessors |
The succeeding edges. More... | |
MSJunction * | myToJunction |
int | myVaporizationRequests |
Vaporizer counter. More... | |
MSConstEdgePairVector | myViaSuccessors |
double | myWidth |
Edge width [m]. More... | |
Storages for allowed lanes (depending on vehicle classes) | |
AllowedLanesCont | myAllowed |
Associative container from vehicle class to allowed-lanes. More... | |
AllowedLanesByTarget | myAllowedTargets |
From target edge to lanes allowed to be used to reach it. More... | |
SVCPermissions | myMinimumPermissions |
The intersection of lane permissions for this edge. More... | |
SVCPermissions | myCombinedPermissions |
The union of lane permissions for this edge. More... | |
Private Member Functions | |
GUIEdge (const GUIEdge &s) | |
invalidated copy constructor More... | |
GUIEdge & | operator= (const GUIEdge &s) |
invalidated assignment operator More... | |
Private Attributes | |
MFXMutex | myLock |
The mutex used to avoid concurrent updates of myPersons/ myContainers. More... | |
RGBColor | myMesoColor |
Static edge container | |
typedef std::map< std::string, MSEdge *> | DictType |
definition of the static dictionary type More... | |
static DictType | myDict |
Static dictionary to associate string-ids with objects. More... | |
static MSEdgeVector | myEdges |
Static list of edges. More... | |
A road/street connecting two junctions (gui-version)
|
protectedinherited |
GUIEdge::GUIEdge | ( | const std::string & | id, |
int | numericalID, | ||
const SumoXMLEdgeFunc | function, | ||
const std::string & | streetName, | ||
const std::string & | edgeType, | ||
int | priority | ||
) |
Constructor.
[in] | id | The id of the edge |
[in] | numericalID | The numerical id (index) of the edge |
Definition at line 66 of file GUIEdge.cpp.
GUIEdge::~GUIEdge | ( | ) |
Destructor.
Definition at line 73 of file GUIEdge.cpp.
References MFXMutex::locked(), myLock, and MFXMutex::unlock().
|
private |
invalidated copy constructor
|
inlinevirtual |
Add a container to myContainers.
Reimplemented from MSEdge.
Definition at line 147 of file GUIEdge.h.
References MSEdge::addContainer(), and myLock.
|
inherited |
Definition at line 263 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::GUIParameterTableWindow().
|
inlinevirtual |
Reimplemented from MSEdge.
Definition at line 136 of file GUIEdge.h.
References MSEdge::addPerson(), and myLock.
void GUIEdge::addRerouter | ( | ) |
add a rerouter
Definition at line 545 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(), MSTriggeredRerouter::myIntervals, MSTriggeredRerouter::mySpecialDest_keepDestination, MSMoveReminder::NOTIFICATION_JUNCTION, MSTriggeredRerouter::notifyEnter(), and SUMOTime_MAX.
Referenced by unlock().
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 966 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 MSEdge::getCrossingEdges().
|
inlineinherited |
Adds this object to the given container.
Definition at line 123 of file Named.h.
References Named::StoringVisitor::add().
|
inherited |
Get the allowed lanes to reach the destination-edge.
If there is no such edge, get 0. 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 390 of file MSEdge.cpp.
References MSEdge::myAllowedTargets.
Referenced by MSEdge::addToAllowed(), MSVehicleTransfer::checkInsertions(), MSEdge::getDepartLane(), MSEdge::getFreeLane(), MSEdge::getPersons(), MSEdge::getSuccessors(), MSEdge::getViaSuccessors(), MESegment::MESegment(), 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, get 0. Then you are on the wrong edge.
[in] | vclass | The vehicle class for which this information shall be returned |
Definition at line 404 of file MSEdge.cpp.
References MSEdge::myAllowed, MSEdge::myCombinedPermissions, MSEdge::myLanes, and MSEdge::myMinimumPermissions.
|
inherited |
Definition at line 213 of file MSEdge.cpp.
References MSLinkContHelper::getConnectingLink(), MSLane::getLogicalPredecessorLane(), MSLink::getState(), MSEdge::isInternal(), LINKSTATE_ALLWAY_STOP, LINKSTATE_DEADEND, LINKSTATE_EQUAL, LINKSTATE_MINOR, LINKSTATE_STOP, and MSEdge::myLanes.
Referenced by MSEdge::buildLaneChanger().
|
protectedinherited |
build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 301 of file GUIGlObject.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), and GUIGlObject::buildShowParamsPopupEntry().
|
protectedinherited |
Builds an entry which allows to center to the object.
Definition at line 192 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_RECENTERVIEW, and MID_CENTER.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GNELane::getPopUpMenu(), getPopUpMenu(), GNEConnection::getPopUpMenu(), GNENet::getPopUpMenu(), GUINet::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEPOI::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNEEdge::getPopUpMenu(), GUILane::getPopUpMenu(), and GNEAdditional::getPopUpMenu().
|
inherited |
Has to be called after all sucessors and predecessors have been set (after closeBuilding())
Definition at line 195 of file MSEdge.cpp.
References MSEdge::allowsLaneChanging(), MSEdge::canChangeToOpposite(), MSGlobals::gLaneChangeDuration, MSGlobals::gLateralResolution, MSEdge::myLaneChanger, and MSEdge::myLanes.
|
protectedinherited |
Builds entries which allow to copy the name / typed name into the clipboard.
Definition at line 201 of file GUIGlObject.cpp.
References MID_COPY_NAME, and MID_COPY_TYPED_NAME.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GNELane::getPopUpMenu(), GNEConnection::getPopUpMenu(), getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEPOI::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNEEdge::getPopUpMenu(), and GUILane::getPopUpMenu().
|
protectedinherited |
Builds the header.
Definition at line 183 of file GUIGlObject.cpp.
References GUIMainWindow::getBoldFont(), and GUIGlObject::getFullName().
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GNEInternalLane::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GNELane::getPopUpMenu(), GNEConnection::getPopUpMenu(), getPopUpMenu(), GNENet::getPopUpMenu(), GUINet::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEPOI::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNEEdge::getPopUpMenu(), GUILane::getPopUpMenu(), and GNEAdditional::getPopUpMenu().
|
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.
Definition at line 242 of file GUIGlObject.cpp.
References GeoConvHelper::getFinal(), MID_COPY_CURSOR_GEOPOSITION, and MID_COPY_CURSOR_POSITION.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GNELane::getPopUpMenu(), GNEConnection::getPopUpMenu(), getPopUpMenu(), GNENet::getPopUpMenu(), GUINet::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNEEdge::getPopUpMenu(), GUILane::getPopUpMenu(), and GNEAdditional::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to (de)select the object.
Definition at line 211 of file GUIGlObject.cpp.
References GUIGlObject::getGlID(), GUIIconSubSys::getIcon(), GUIGlObject::getType(), gSelected, ICON_FLAG_MINUS, ICON_FLAG_PLUS, GUISelectedStorage::isSelected(), MID_ADDSELECT, and MID_REMOVESELECT.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), and GUILane::getPopUpMenu().
|
protectedinherited |
build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 278 of file GUIGlObject.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), and GUIGlObject::buildShowParamsPopupEntry().
Referenced by GUIPointOfInterest::getPopUpMenu(), and GNEPOI::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to open the manipulator window.
Definition at line 254 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_MANIP, and MID_MANIP.
Referenced by GUILaneSpeedTrigger::getPopUpMenu(), and GUITriggeredRerouter::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to open the parameter window.
Definition at line 224 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_APP_TABLE, and MID_SHOWPARS.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GNELane::getPopUpMenu(), getPopUpMenu(), GNEConnection::getPopUpMenu(), GUINet::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEPOI::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNEEdge::getPopUpMenu(), GUILane::getPopUpMenu(), and GNEAdditional::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to open the type parameter window.
Definition at line 233 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_APP_TABLE, and MID_SHOWTYPEPARS.
Referenced by GUIPerson::getPopUpMenu(), and GUIBaseVehicle::getPopUpMenu().
|
inherited |
whether this edge allows changing to the opposite direction edge
Definition at line 1071 of file MSEdge.cpp.
References MSEdge::isInternal(), LINKDIR_STRAIGHT, and MSEdge::myLanes.
Referenced by MSEdge::buildLaneChanger(), and MSEdge::hasLaneChanger().
|
virtualinherited |
Performs lane changing on this edge.
Definition at line 691 of file MSEdge.cpp.
References MSLaneChanger::laneChange(), and MSEdge::myLaneChanger.
Referenced by MSEdgeControl::changeLanes(), and MSEdge::setLastFailedInsertionTime().
|
inherited |
check and register the opposite superposable edge if any
Definition at line 1102 of file MSEdge.cpp.
References MSEdge::dictionary(), EDGEFUNC_NORMAL, MSEdge::getFunction(), Named::getID(), MSJunction::getOutgoing(), MSEdge::isSuperposable(), MSEdge::myBidiEdge, MSEdge::myFromJunction, MSEdge::myToJunction, WRITE_ERROR, and WRITE_WARNING.
Referenced by MSEdge::isCrossing().
|
staticinherited |
Clears the dictionary.
Definition at line 827 of file MSEdge.cpp.
References MSEdge::myDict, and MSEdge::myEdges.
Referenced by MSNet::clearAll(), MSEdge::unlock(), and MSVehicle::updateBestLanes().
|
inherited |
Clears the parameter map.
Definition at line 99 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NLHandler::beginEdgeParsing(), GNECrossing::setGenericParametersStr(), GNEConnection::setGenericParametersStr(), GNEPoly::setGenericParametersStr(), GNELane::setGenericParametersStr(), GNEJunction::setGenericParametersStr(), GNEPOI::setGenericParametersStr(), GNEEdge::setGenericParametersStr(), and GNEAdditional::setGenericParametersStr().
|
inherited |
Definition at line 157 of file MSEdge.cpp.
References MELoop::buildSegmentsFor(), MSLane::getEdge(), OptionsCont::getOptions(), MSGlobals::gMesoNet, MSGlobals::gUseMesoSim, LINKDIR_TURN, MSEdge::myAmFringe, MSEdge::myLanes, MSEdge::myPredecessors, MSEdge::mySuccessors, MSEdge::myViaSuccessors, MSEdge::rebuildAllowedLanes(), and MSEdge::recalcCache().
void GUIEdge::closeTraffic | ( | const GUILane * | lane | ) |
close this edge for traffic
Definition at line 528 of file GUIEdge.cpp.
References GUILane::closeTraffic(), MSEdge::getLanes(), MSEdge::getPredecessors(), GUILane::isClosed(), and MSEdge::rebuildAllowedLanes().
Referenced by unlock().
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 429 of file MSEdge.cpp.
References MSEdge::myVaporizationRequests.
Referenced by NLTriggerBuilder::buildVaporizer(), and MSEdge::isVaporizing().
|
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 788 of file MSEdge.cpp.
References MSEdge::getNumericalID(), MSEdge::myDict, and MSEdge::myEdges.
Referenced by libsumo::Route::add(), libsumo::Person::add(), NLHandler::addConnection(), NLHandler::addDistrict(), NLHandler::addDistrictEdge(), NLBuilder::EdgeFloatTimeLineRetriever_EdgeEffort::addEdgeWeight(), NLBuilder::EdgeFloatTimeLineRetriever_EdgeTravelTime::addEdgeWeight(), MSRouteHandler::addPersonTrip(), NLHandler::addRoundabout(), MEVehicle::addStop(), libsumo::Person::appendDrivingStage(), NLEdgeControlBuilder::beginEdgeParsing(), NLTriggerBuilder::buildVaporizer(), libsumo::Vehicle::changeTarget(), MSEdge::checkAndRegisterBiDirEdge(), NLHandler::closeEdge(), libsumo::Helper::convertCartesianToRoadMap(), libsumo::Simulation::findIntermodalRoute(), libsumo::Simulation::findRoute(), libsumo::Edge::getEdge(), libsumo::Helper::getEdge(), NLDetectorBuilder::getEdgeChecking(), libsumo::Helper::getLaneChecking(), MSDevice_Routing::getParameter(), MSDevice_FCD::initEdgeFilter(), MSPedestrianPushButton::loadPushButtons(), MSDevice_Vehroutes::loadState(), libsumo::Person::moveTo(), libsumo::Helper::moveToXYMap(), NLHandler::myEndElement(), MSRouteHandler::myStartElement(), MSTriggeredRerouter::myStartElement(), NLTriggerBuilder::parseAndBuildCalibrator(), NLTriggerBuilder::parseAndBuildRerouter(), MSEdge::parseEdgesList(), MSRouteHandler::parseFromViaTo(), MSBaseVehicle::reroute(), libsumo::Vehicle::setAdaptedTraveltime(), libsumo::Vehicle::setEffort(), MSDevice_Routing::setParameter(), libsumo::Vehicle::setStop(), and MSEdge::unlock().
|
staticinherited |
Returns the MSEdge associated to the key id if exists, otherwise returns 0.
Definition at line 804 of file MSEdge.cpp.
References MSEdge::myDict.
|
staticinherited |
Returns the number of edges.
Definition at line 815 of file MSEdge.cpp.
References MSEdge::myDict.
Referenced by MSStateHandler::saveState(), and MSEdge::unlock().
|
virtual |
Draws the object.
[in] | s | The settings for the current view (may influence drawing) |
Implements GUIGlObject.
Definition at line 208 of file GUIEdge.cpp.
References Position::add(), GUIVisualizationSettings::containerSize, GUIVisualizationSettings::cwaEdgeName, GUIVisualizationSettings::drawCrossingsAndWalkingareas, GUIContainer::drawGL(), GUIPerson::drawGL(), GUILane::drawGL(), GUIVisualizationSettings::drawJunctionShape, drawMesoVehicles(), GUIGlObject::drawName(), GLHelper::drawTextSettings(), EDGEFUNC_CONNECTOR, EDGEFUNC_CROSSING, EDGEFUNC_INTERNAL, EDGEFUNC_NORMAL, EDGEFUNC_WALKINGAREA, GUIVisualizationSettings::edgeName, GUIVisualizationSettings::edgeValue, getColorValue(), GUILane::getColorValue(), GUIVisualizationSizeSettings::getExaggeration(), GUIGlObject::getGlID(), GUIVisualizationSettings::getLaneEdgeMode(), GUILane::getShape(), MSEdge::getStreetName(), GUIVisualizationSettings::getTextAngle(), MSGlobals::gUseMesoSim, GUIVisualizationSettings::hideConnectors, GUIVisualizationSettings::internalEdgeName, PositionVector::length(), GUIVisualizationSizeSettings::minSize, Position::mul(), MSEdge::myContainers, MSEdge::myFunction, MSEdge::myLanes, myLock, MSEdge::myPersons, MSEdge::myStreetName, GUIVisualizationSettings::personSize, PositionVector::positionAtOffset(), PositionVector::rotationDegreeAtOffset(), GUIVisualizationSettings::scale, setColor(), GUIVisualizationTextSettings::show, GUIVisualizationSettings::streetName, toString(), and GUIVisualizationSettings::vehicleSize.
|
virtualinherited |
Draws additional, user-triggered visualisations.
[in] | parent | The view |
[in] | s | The settings for the current view (may influence drawing) |
Reimplemented in GUIBaseVehicle, GUIPerson, and GUIContainer.
Definition at line 162 of file GUIGlObject.cpp.
References UNUSED_PARAMETER.
void GUIEdge::drawMesoVehicles | ( | const GUIVisualizationSettings & | s | ) | const |
Definition at line 285 of file GUIEdge.cpp.
References GUIBaseVehicle::drawOnPos(), MSLane::geometryPositionAtOffset(), GUINet::getGUIInstance(), GUINet::getGUIMEVehicleControl(), MSLane::getLength(), MSVehicleType::getLengthWithGap(), GUILane::getShape(), MSBaseVehicle::getVehicleType(), MSGlobals::gMesoNet, MSLane::interpolateLanePosToGeometryPos(), MSEdge::myLanes, myLock, GUIMEVehicleControl::releaseVehicles(), PositionVector::rotationAtOffset(), and GUIMEVehicleControl::secureVehicles().
Referenced by drawGL(), and removeContainer().
|
inherited |
draw name of item
Definition at line 330 of file GUIGlObject.cpp.
References GLHelper::drawTextSettings(), GUIGlObject::getMicrosimID(), and GUIVisualizationTextSettings::show.
Referenced by GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GNEChargingStation::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), GNEVariableSpeedSign::drawGL(), GNEJunction::drawGL(), GNERerouter::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorExit::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GNEDetectorE1Instant::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUICalibrator::drawGL(), GUIContainer::drawGL(), GUIPerson::drawGL(), GNECalibrator::drawGL(), GUIJunctionWrapper::drawGL(), GNETAZ::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GNEDetectorE2::drawGL(), GUIParkingArea::drawGL(), drawGL(), GUIE2Collector::MyWrapper::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GNEEdge::drawGL(), GUIPointOfInterest::drawInnerPOI(), GUIPolygon::drawInnerPolygon(), and GUIBaseVehicle::drawOnPos().
|
staticinherited |
Returns all edges with a numerical id.
Definition at line 821 of file MSEdge.cpp.
References MSEdge::myEdges.
Referenced by libsumo::Vehicle::add(), GUIViewTraffic::buildColorRainbow(), MSNet::getRouterEffort(), MSRoutingEngine::getRouterTT(), MSNet::getRouterTT(), GUINet::initGUIStructures(), MSPModel_Striping::initWalkingAreaPaths(), MSPedestrianPushButton::loadCrossingEdgeMap(), MSStateHandler::myStartElement(), GUIApplicationWindow::onCmdEditChosen(), MSRoutingEngine::reroute(), MSStateHandler::saveState(), and MSEdge::unlock().
double GUIEdge::getAllowedSpeed | ( | ) | const |
Definition at line 379 of file GUIEdge.cpp.
References MSEdge::myLanes.
Referenced by getColorValue(), getParameterWindow(), getRelativeSpeed(), getScaleValue(), removeContainer(), and setMultiColor().
|
inlineinherited |
return opposite superposable/congruent edge, if it exist and 0 else
Definition at line 239 of file MSEdge.h.
References MSEdge::myBidiEdge.
Referenced by MSVehicle::canReverse(), GUILane::drawGL(), GUILane::getParameterWindow(), and MSRailSignal::init().
Boundary GUIEdge::getBoundary | ( | ) | const |
Returns the street's geometry.
Definition at line 118 of file GUIEdge.cpp.
References Boundary::add(), Boundary::grow(), MSEdge::isTazConnector(), MSEdge::myLanes, MSEdge::myPredecessors, and MSEdge::mySuccessors.
Referenced by getCenteringBoundary().
double GUIEdge::getBruttoOccupancy | ( | ) | const |
Definition at line 369 of file GUIEdge.cpp.
References MSGlobals::gMesoNet, and MSEdge::myLanes.
Referenced by getColorValue(), getParameterWindow(), getScaleValue(), and removeContainer().
|
virtual |
Returns the boundary to which the view shall be centered in order to show the object.
Implements GUIGlObject.
Definition at line 198 of file GUIEdge.cpp.
References getBoundary(), and Boundary::grow().
|
virtual |
gets the color value according to the current scheme index
Reimplemented from GUIGlObject.
Definition at line 471 of file GUIEdge.cpp.
References getAllowedSpeed(), getBruttoOccupancy(), getFlow(), MSEdge::getFunction(), GUIGlObject::getGlID(), MSNet::getInsertionControl(), MSNet::getInstance(), MSEdge::getLanes(), MSEdge::getMeanSpeed(), MSInsertionControl::getPendingEmits(), getRelativeSpeed(), MSEdge::getRoutingSpeed(), GUIGlObject::getType(), gSelected, and GUISelectedStorage::isSelected().
Referenced by GUIViewTraffic::buildColorRainbow(), drawGL(), removeContainer(), and setColor().
|
inlineinherited |
Gets the crossed edge ids.
Definition at line 290 of file MSEdge.h.
References MSEdge::addSuccessor(), and 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 771 of file MSEdge.cpp.
References MSEdge::getLength(), MSEdge::getMeanSpeed(), MAX2(), MSEdge::myAmDelayed, and MSEdge::myEmptyTraveltime.
Referenced by MSVehicleTransfer::add(), MSVehicleTransfer::checkInsertions(), libsumo::Edge::getTraveltime(), MSEdge::isVaporizing(), 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 512 of file MSEdge.cpp.
References MSEdge::allowedLanes(), MSRoute::begin(), BEST_LANE_LOOKAHEAD, DEPART_LANE_ALLOWED_FREE, DEPART_LANE_BEST_FREE, DEPART_LANE_DEFAULT, DEPART_LANE_FIRST_ALLOWED, DEPART_LANE_FREE, DEPART_LANE_GIVEN, DEPART_LANE_RANDOM, SUMOVehicleParameter::departLane, SUMOVehicleParameter::departLaneProcedure, MSVehicle::getBestLanes(), MSEdge::getDepartPosBound(), MSEdge::getFreeLane(), MSBaseVehicle::getParameter(), RandHelper::getRandomFrom(), MSBaseVehicle::getRoute(), MSVehicleType::getVehicleClass(), MSBaseVehicle::getVehicleType(), MIN2(), MSEdge::myLanes, MSRoute::size(), and MSVehicle::updateBestLanes().
Referenced by MSEdge::getTravelTimeStatic(), and MSEdge::insertVehicle().
|
protectedinherited |
return upper bound for the depart position on this edge
Definition at line 468 of file MSEdge.cpp.
References DEPART_POS_BASE, DEPART_POS_DEFAULT, DEPART_POS_FREE, DEPART_POS_GIVEN, DEPART_POS_LAST, DEPART_POS_RANDOM, DEPART_POS_RANDOM_FREE, SUMOVehicleParameter::departPos, SUMOVehicleParameter::departPosProcedure, MSVehicleType::getLength(), MSEdge::getLength(), MSBaseVehicle::getParameter(), MSVehicle::getPositionOnLane(), MSBaseVehicle::getVehicleType(), MIN2(), MSEdge::myLanes, and MSEdge::myLength.
Referenced by MSEdge::getDepartLane().
|
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 875 of file MSEdge.cpp.
References Boundary::distanceTo2D(), MSEdge::getLanes(), MSEdge::isTazConnector(), and MSEdge::myBoundary.
Referenced by MSEdge::getSubLaneSides().
|
inherited |
Returns the value for a given key converted to a double.
[in] | key | The key to ask for |
[in] | defaultValue | The default value to return if no value is stored under the key |
Definition at line 81 of file Parameterised.cpp.
References Parameterised::myMap, StringUtils::toDouble(), and WRITE_WARNING.
Referenced by MSDevice_Battery::buildVehicleDevices(), 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(), and MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus().
|
inlineinherited |
Returns the type of the edge.
Definition at line 268 of file MSEdge.h.
References MSEdge::myEdgeType.
Referenced by GUILane::getParameterWindow(), and MSLane::initRestrictions().
double GUIEdge::getFlow | ( | ) | const |
return flow based on meanSpead
Definition at line 359 of file GUIEdge.cpp.
References MSGlobals::gMesoNet.
Referenced by getColorValue(), getParameterWindow(), getScaleValue(), and removeContainer().
|
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 436 of file MSEdge.cpp.
References MSEdge::allowedLanes(), MSVehicle::getPositionOnLane(), and MSEdge::myLength.
Referenced by MSVehicleTransfer::checkInsertions(), MSEdge::getDepartLane(), and MSEdge::getTravelTimeStatic().
|
inlineinherited |
Definition at line 343 of file MSEdge.h.
References MSEdge::myFromJunction.
Referenced by MSPModel_Remote::add(), MSEdge::addSuccessor(), MSPModel::canTraverse(), MSPModel_NonInteracting::PState::computeWalkingTime(), MSDevice_SSM::findSurroundingVehicles(), MSPModel_Striping::getNextLane(), MSDevice_SSM::getUpstreamVehicles(), MSVehicle::isLeader(), MSPModel_Striping::PState::moveToNextLane(), MSPModel_Striping::PState::PState(), MSLink::setRequestInformation(), and MSPerson::MSPersonStage_Walking::walkDistance().
|
inherited |
Definition at line 117 of file GUIGlObject.cpp.
References GUIGlObject::myFullName.
Referenced by SUMORTree::addAdditionalGLObject(), GUIGlObject::buildPopupHeader(), GUIGlObject_AbstractAdd::GUIGlObject_AbstractAdd(), GUIGLObjectPopupMenu::onCmdCopyTypedName(), GUIParam_PopupMenuInterface::onCmdOpenTracker(), GUILaneSpeedTrigger::openManipulator(), GUICalibrator::openManipulator(), GUITriggeredRerouter::openManipulator(), GUIDialog_GLChosenEditor::rebuildList(), GUIGlObject_AbstractAdd::remove(), SUMORTree::removeAdditionalGLObject(), and GUISelectedStorage::save().
|
inlineinherited |
Returns the edge type (SumoXMLEdgeFunc)
Definition at line 220 of file MSEdge.h.
References MSEdge::myFunction.
Referenced by MSEdge::checkAndRegisterBiDirEdge(), getColorValue(), and MSPModel_Striping::PState::moveToNextLane().
|
inherited |
Returns the numerical id of the object.
Definition at line 129 of file GUIGlObject.cpp.
References GUIGlObject::myGlID.
Referenced by GUIMessageWindow::appendMsg(), GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildRouteProbe(), GUIGlObject::buildSelectionPopupEntry(), GNEAdditionalHandler::buildVaporizer(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GNEContainerStop::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), GNEParkingSpace::drawGL(), GNEVariableSpeedSign::drawGL(), GNEJunction::drawGL(), GNEInternalLane::drawGL(), GNECrossing::drawGL(), GNEAccess::drawGL(), GNERerouter::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorExit::drawGL(), GNEDetectorE1::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GNEDetectorE1Instant::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUIPolygon::drawGL(), GUICalibrator::drawGL(), GUIContainer::drawGL(), GUIPerson::drawGL(), GNECalibrator::drawGL(), GUIJunctionWrapper::drawGL(), GUIPointOfInterest::drawGL(), GNETAZ::drawGL(), GNELane::drawGL(), GNEConnection::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GNEDetectorE2::drawGL(), GUIParkingArea::drawGL(), drawGL(), GUIE2Collector::MyWrapper::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEEdge::drawGL(), GUILane::drawGL(), GUIContainer::drawGLAdditional(), GUIPerson::drawGLAdditional(), GUIBaseVehicle::drawGLAdditional(), GUILane::drawLinkRule(), GUIBaseVehicle::drawOnPos(), GUIMEVehicle::getColorValue(), GUIVehicle::getColorValue(), GUIJunctionWrapper::getColorValue(), getColorValue(), GUIContainer::getColorValue(), GUIPerson::getColorValue(), GNEPoly::getGlID(), GNEPOI::getGlID(), GUISUMOAbstractView::getGUIGlObjectsAtPosition(), getIDs(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIPerson::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), getScaleValue(), GUILane::isLaneOrEdgeSelected(), GUIGlChildWindow::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIVehicle::isSelected(), GUIPerson::isSelected(), isSelected(), GUILane::isSelected(), GUISelectedStorage::loadIDs(), GNEViewNet::mergeJunctions(), GUIViewTraffic::onCmdAddRerouter(), GUIGLObjectPopupMenu::onCmdAddSelected(), GUIGLObjectPopupMenu::onCmdCenter(), GNEFrame::ACHierarchy::onCmdCenterItem(), GUIViewTraffic::onCmdCloseEdge(), GUIViewTraffic::onCmdCloseLane(), GUIApplicationWindow::onCmdEditChosen(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GUIGLObjectPopupMenu::onCmdRemoveSelected(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIDialog_GLObjChooser::refreshList(), GLObjectValuePassConnector< std::pair< SUMOTime, MSPhaseDefinition > >::removeObject(), GNEShape::selectAttributeCarrier(), GNENetElement::selectAttributeCarrier(), GNEAdditional::selectAttributeCarrier(), GUIVehicle::selectBlockingFoes(), GUIPolygon::setColor(), GUIPointOfInterest::setColor(), GUIMessageWindow::setCursorPos(), GNEShape::unselectAttributeCarrier(), GNENetElement::unselectAttributeCarrier(), GNEAdditional::unselectAttributeCarrier(), GUIBaseVehicle::~GUIBaseVehicle(), GUIGlObject::~GUIGlObject(), and GUIPerson::~GUIPerson().
|
inlineinherited |
Returns the id.
Definition at line 78 of file Named.h.
Referenced by NIImporter_SUMO::_loadNetwork(), MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaders(), MSPModel_Remote::add(), LaneStoringVisitor::add(), MSPModel_Striping::add(), MSVehicleTransfer::add(), PCPolyContainer::add(), MSDetectorControl::add(), Named::StoringVisitor::add(), ShapeContainer::add(), NLTriggerBuilder::addAccess(), RORouteDef::addAlternative(), MSLane::addApproachingLane(), NBRailwayTopologyAnalyzer::addBidiEdge(), NBRailwayTopologyAnalyzer::addBidiEdgesForStops(), NBLoadedSUMOTLDef::addConnection(), NLHandler::addConnection(), NIXMLConnectionsHandler::addCrossing(), MSPModel_Striping::addCrossingVehs(), RODFDetectorCon::addDetector(), RONet::addEdge(), NBParkingCont::addEdges2Keep(), ROJTREdge::addFollowerProbability(), MSTLLogicControl::TLSLogicVariants::addLogic(), MSLane::addNeigh(), RONet::addNode(), NIImporter_SUMO::addPhase(), addRerouter(), NBEdge::addRestrictedLane(), RONet::addRouteDef(), NBDistrict::addSink(), NBDistrict::addSource(), NIXMLEdgesHandler::addSplit(), NBTrafficLightLogic::addStep(), ROVehicle::addStop(), MSRouteHandler::addStop(), MSVehicle::addStop(), MSNet::addStoppingPlace(), NBEdge::addStraightConnections(), NIXMLTrafficLightsHandler::addTlConnection(), NIVissimDisturbance::addToNode(), MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), AGActivityTripWriter::addTrip(), NIXMLConnectionsHandler::addWalkingArea(), NBRailwayTopologyAnalyzer::allBroken(), NBEdge::append(), NBEdgeCont::appendRailwayTurnarounds(), libsumo::Helper::applySubscriptionFilters(), NBPTStopCont::assignAndCreatNewPTStopAsNeeded(), NBPTStopCont::assignPTStopToEdgeOfClosestPlatform(), GUITrafficLightLogicWrapper::begin2TrackPhases(), MSTransportable::Stage_Waiting::beginEventOutput(), MSTransportable::Stage_Driving::beginEventOutput(), MSPModel_Striping::blockedAtDist(), MSLink::blockedAtTime(), MSLink::blockedByFoe(), NLEdgeControlBuilder::build(), NIVisumTL::build(), RODFNet::buildApproachList(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildCountSensorForLane(), MSSOTLE2Sensors::buildCountSensorForOutLane(), NBNode::buildCrossings(), NBNode::buildCrossingsAndWalkingAreas(), NIImporter_VISUM::buildDistrictNode(), NLDetectorBuilder::buildE2Detector(), NIVissimConnection::buildEdgeConnections(), RODFNet::buildEdgeFlowMap(), GNETLSEditorFrame::buildIinternalLanes(), NBEdge::buildInnerEdges(), NGEdge::buildNBEdge(), NIVissimEdge::buildNBEdge(), NBRampsComputer::buildOffRamp(), NBRampsComputer::buildOnRamp(), MELoop::buildSegmentsFor(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), NBNode::buildWalkingAreas(), MSBaseVehicle::calculateArrivalParams(), MSSwarmTrafficLightLogic::calculateEtaDiff(), MSSwarmTrafficLightLogic::calculateEtaRatio(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), MSLaneChanger::changeOpposite(), MELoop::changeSegment(), MSSimpleTrafficLightLogic::changeStepAndDuration(), MSEdge::checkAndRegisterBiDirEdge(), MSLane::checkForPedestrians(), NBEdge::checkGeometry(), NBEdgeCont::checkGrade(), MSVehicleTransfer::checkInsertions(), MSVehicle::checkLinkLeader(), NBEdgeCont::checkOverlap(), MSDevice_Battery::checkParam(), MSE2Collector::checkPositioning(), MSVehicle::checkRewindLinkLanes(), MSSwarmTrafficLightLogic::choosePolicy(), MSDevice_SSM::classifyEncounter(), NBTrafficLightLogic::closeBuilding(), ODDistrictHandler::closeDistrict(), NLHandler::closeEdge(), RORouteHandler::closeRouteDistribution(), RORouteHandler::closeVehicle(), NBTrafficLightDefinition::collectAllLinks(), NBLoadedSUMOTLDef::collectEdges(), NBTrafficLightDefinition::collectEdges(), NBLoadedSUMOTLDef::collectEdgeVectors(), NBLoadedTLDef::collectLinks(), ROJTRRouter::compute(), NBTrafficLightDefinition::compute(), NBEdge::computeAngle(), NBEdge::computeLaneShapes(), NBNode::computeLogic(), NBOwnTLDef::computeLogicAndConts(), NBNode::computeNodeShape(), NBNodeShapeComputer::computeNodeShapeDefault(), NBNodeShapeComputer::computeNodeShapeSmall(), RODFNet::computeRoutesFor(), NBTrafficLightLogicCont::computeSingleLogic(), NBNode::computeSmoothShape(), NBTurningDirectionsComputer::computeTurnDirectionsForNode(), NGNet::connect(), MSSOTLWaveTrafficLightLogic::countVehicles(), MSSOTLE2Sensors::countVehicles(), MSDevice_SSM::createEncounters(), GUINet::createTLWrapper(), NBEdge::debugPrintConnections(), MSDeterministicHiLevelTrafficLightLogic::decideNextPhase(), MSSOTLPolicyBasedTrafficLightLogic::decideNextPhase(), MSSwarmTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decidePolicy(), MSSwarmTrafficLightLogic::decidePolicy(), MSLane::detectCollisionBetween(), MSLane::detectCollisions(), MSLane::detectPedestrianJunctionCollision(), NIVissimDistrictConnection::dict_BuildDistricts(), NBEdge::divideOnEdges(), NBEdge::divideSelectedLanesOnEdges(), MSTransportable::Stage_Waiting::endEventOutput(), MSTransportable::Stage_Driving::endEventOutput(), MSE3Collector::enter(), MSVehicle::enterLaneAtMove(), METriggeredCalibrator::execute(), MSCalibrator::execute(), Command_SaveTLSState::execute(), Command_SaveTLSSwitchStates::execute(), Command_SaveTLSSwitches::execute(), MSVTypeProbe::execute(), MSPModel_Striping::MovePedestrians::execute(), MSTrafficLightLogic::SwitchCommand::execute(), MSVehicle::executeMove(), MSLane::executeMovements(), NBRailwayTopologyAnalyzer::extendBidiEdges(), NBNodeCont::extract(), NBTrafficLightLogicCont::extract(), NBEdgeCont::extract(), NBNodeCont::feasibleCluster(), libsumo::Helper::findCloserLane(), MSDevice_SSM::findFoeConflictLane(), libsumo::Simulation::findIntermodalRoute(), MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::flushConflicts(), NBTrafficLightDefinition::forbids(), NBRampsComputer::fulfillsRampConstraints(), NBPTStopCont::generateBidiStops(), NBNodeCont::generateNodeClusters(), RODFDetectorCon::getAggFlowFor(), RODFDetectorCon::getAnyDetectorForEdge(), MSPModel_Striping::getArbitraryPath(), GNEConnection::getAttribute(), MSVehicle::getBackPosition(), MSVehicle::getBackPositionOnLane(), libsumo::Vehicle::getBestLanes(), NBOwnTLDef::getBestPair(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), MSVehicle::getCenterOnEdge(), MSDevice_Battery::getChargingStationID(), GUILane::getColorValue(), NBEdge::getConnection(), NBEdge::getConnectionRef(), libsumo::TrafficLight::getControlledLinks(), MSLane::getCriticalLeader(), NBEdge::getCrossingAngle(), NBNodeShapeComputer::getDefaultRadius(), NBTrafficLightDefinition::getDescription(), RODFNet::getDetectorEdge(), libsumo::Lane::getEdgeID(), MSMeanData::getEdgeID(), NBEdge::getFirstNonPedestrianLane(), MSPModel_Remote::getFirstPedestrianLane(), MSLane::getFollower(), MSLane::getFollowersOnConsecutive(), libsumo::LaneArea::getLaneID(), libsumo::InductionLoop::getLaneID(), libsumo::Vehicle::getLaneID(), MSParkingArea::getLastFreePosWithReservation(), MSLane::getLastVehicleInformation(), MSVehicle::getLatOffset(), MSLane::getLeader(), MSLink::getLeaderInfo(), MSLane::getLeaderOnConsecutive(), MSLane::getLeadersOnConsecutive(), MSLink::getLengthBeforeCrossing(), MSLane::getLinkTo(), MSTLLogicControl::TLSLogicVariants::getLogicInstantiatingOff(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForInputLanes(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForOutputLanes(), NIImporter_VISUM::getNamedEdgeContinuating(), MSPerson::getNextEdge(), MSPModel_Striping::getNextLane(), MSLane::getOppositeFollower(), MSLane::getOppositeLeader(), MSLane::getOppositePos(), GUITrafficLightLogicWrapper::getParameterWindow(), GUIInstantInductLoop::MyWrapper::getParameterWindow(), GUIMEInductLoop::MyWrapper::getParameterWindow(), GUIVehicle::getParameterWindow(), GUIE2Collector::MyWrapper::getParameterWindow(), GUIInductLoop::MyWrapper::getParameterWindow(), GUILane::getParameterWindow(), MSLane::getPartialBehind(), MSSOTLTrafficLightLogic::getPhaseIndexWithMaxCTS(), MSSwarmTrafficLightLogic::getPheromoneForInputLanes(), MSSwarmTrafficLightLogic::getPheromoneForOutputLanes(), GUITrafficLightLogicWrapper::getPopUpMenu(), NLTriggerBuilder::getPosition(), NLDetectorBuilder::getPositionChecking(), NBNode::getPossiblySplittedIncoming(), NBNode::getPossiblySplittedOutgoing(), NIImporter_VISUM::getReversedContinuating(), NBPTStopCont::getReverseStop(), libsumo::Person::getRoadID(), libsumo::Vehicle::getRoadID(), libsumo::Vehicle::getRouteID(), MSContainer::MSContainerStage_Driving::getStageSummary(), MSPerson::MSPersonStage_Walking::getStageSummary(), MSContainer::MSContainerStage_Tranship::getStageSummary(), MSTransportable::Stage_Trip::getStageSummary(), MSPerson::MSPersonStage_Driving::getStageSummary(), MSPerson::MSPersonStage_Access::getStageSummary(), MSTransportable::Stage_Waiting::getStageSummary(), MSNet::getStoppingPlaceID(), MSLane::getSurroundingVehicles(), MSLane::getUpcomingLinks(), MSDevice_SSM::getUpstreamVehicles(), MSPModel_Striping::getVehicleObstacles(), MSDevice_SSM::getVehiclesOnJunction(), MSTransportable::Stage_Driving::getWaitingDescription(), MSVehicleControl::getWaitingVehicle(), MSLink::getZipperSpeed(), NBNode::guessCrossings(), RODFDetectorCon::guessEmptyFlows(), NBEdgeCont::guessSidewalks(), NBNodeCont::guessTLs(), GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow(), MSLane::handleCollisionBetween(), NBEdgeCont::ignoreFilterMatch(), MSVehicle::ignoreRed(), MSDeterministicHiLevelTrafficLightLogic::init(), MSRailSignal::init(), MSDelayBasedTrafficLightLogic::init(), MSActuatedTrafficLightLogic::init(), MSTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), NBEdge::init(), MSE2Collector::initAuxiliaries(), NIImporter_SUMO::initTrafficLightLogic(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), NBDistrictCont::insert(), NBTrafficLightLogicCont::insert(), NBNodeCont::insert(), NBEdgeCont::insert(), MSEdge::insertVehicle(), MSLane::integrateNewVehicle(), GNEJunction::invalidateTLS(), NBNode::invalidateTLS(), MSTLLogicControl::isActive(), MSPedestrianPushButton::isActiveForEdge(), MSPedestrianPushButton::isActiveOnAnySideOfTheRoad(), RODFNet::isDestination(), RODFNet::isFalseSource(), MSLane::isInsertionSuccess(), MSVehicle::isLeader(), MESegment::isOpen(), RODFNet::isSource(), NIImporter_VISUM::isSplitEdge(), MSSOTLTrafficLightLogic::isThresholdPassed(), MESegment::jamThresholdForSpeed(), NBNodeShapeComputer::joinSameDirectionEdges(), NBEdgeCont::joinSameNodeConnectingEdges(), MSAbstractLaneChangeModel::laneChangeOutput(), MSE3Collector::leave(), MSE3Collector::leaveFront(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), NIImporter_ArcView::load(), MSPedestrianPushButton::loadCrossingEdgeMap(), NIImporter_OpenDrive::loadNetwork(), MSPedestrianPushButton::loadPushButtons(), NBEdge::MainDirections::MainDirections(), ODDistrictCont::makeDistricts(), MSE2Collector::makeVehicleInfo(), GNEJunction::markAsModified(), MSSOTLE2Sensors::meanVehiclesSpeed(), METriggeredCalibrator::METriggeredCalibrator(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), NBRampsComputer::moveRampRight(), MSPModel_Striping::PState::moveToNextLane(), libsumo::Person::moveToXY(), libsumo::Vehicle::moveToXY(), libsumo::Helper::moveToXYMap(), MSCalibrator::MSCalibrator(), MSChargingStation::MSChargingStation(), MSDevice_Battery::MSDevice_Battery(), MSE2Collector::MSE2Collector(), NBLoadedTLDef::myCompute(), NIImporter_SUMO::myEndElement(), NIXMLConnectionsHandler::myStartElement(), NIXMLEdgesHandler::myStartElement(), MSCalibrator::myStartElement(), MSLaneSpeedTrigger::myStartElement(), MSTriggeredRerouter::myStartElement(), NBConnection::NBConnection(), NBRequest::NBRequest(), MSPModel_Striping::nextBlocking(), MSE3Collector::MSE3EntryReminder::notifyEnter(), MSMeanData::MeanDataValues::notifyEnter(), MSDevice_BTsender::notifyEnter(), MSDevice_Bluelight::notifyEnter(), MSDevice_BTreceiver::notifyEnter(), MSDevice_Example::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSDevice_Tripinfo::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSE3Collector::MSE3LeaveReminder::notifyEnter(), MSMeanData::MeanDataValueTracker::notifyEnter(), MSE2Collector::notifyEnter(), MSDevice_SSM::notifyEnter(), MSDevice_Transportable::notifyLeave(), MSDevice_Bluelight::notifyLeave(), MSDevice_Example::notifyLeave(), MSE3Collector::MSE3EntryReminder::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_BTreceiver::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSE3Collector::MSE3LeaveReminder::notifyLeave(), MSE2Collector::notifyLeave(), MSDevice_SSM::notifyLeave(), MSDevice_Bluelight::notifyMove(), MSDevice_Example::notifyMove(), MSE3Collector::MSE3EntryReminder::notifyMove(), MSDevice_BTsender::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSDevice_BTreceiver::notifyMove(), MSE3Collector::MSE3LeaveReminder::notifyMove(), MSE2Collector::notifyMove(), MSDevice_SSM::notifyMove(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), GNETLSEditorFrame::TLSFile::onCmdLoadTLSProgram(), GNETLSEditorFrame::TLSFile::onCmdSaveTLSProgram(), GUIViewTraffic::onGamingClick(), GNEViewNet::onLeftBtnPress(), MSLink::opened(), RORouteHandler::openRoute(), NBTurningDirectionsComputer::combination_by_angle_sorter::operator()(), RODFNet::idComp::operator()(), NBNetBuilder::by_id_sorter::operator()(), NBOwnTLDef::edge_by_incoming_priority_sorter::operator()(), NBContHelper::same_connection_edge_sorter::operator()(), NBContHelper::edge_by_angle_to_nodeShapeCentroid_sorter::operator()(), NBNode::nodes_by_id_sorter::operator()(), MSLane::incoming_lane_priority_sorter::operator()(), MSLane::outgoing_lane_priority_sorter::operator()(), NBRequest::oppositeLeftTurnConflict(), NIImporter_VISUM::parse_EdgePolys(), NIImporter_VISUM::parse_Lanes(), NIImporter_VISUM::parse_LanesConnections(), NIImporter_VISUM::parse_Turns(), NIImporter_VISUM::parse_TurnsToSignalGroups(), NLTriggerBuilder::parseAndBuildCalibrator(), NIXMLConnectionsHandler::parseDeprecatedLaneDefinition(), NIXMLConnectionsHandler::parseLaneBound(), MSRouteHandler::parseWalkPositions(), NBLoadedSUMOTLDef::patchIfCrossingsAdded(), MSLCM_LC2013::patchSpeed(), MSLCM_SL2015::patchSpeed(), NBLoadedTLDef::SignalGroup::patchTYellow(), MSVehicle::planMove(), MSVehicle::planMoveInternal(), MSLane::planMovements(), MSInternalJunction::postloadInit(), MSRightOfWayJunction::postloadInit(), NBEdge::prepareEdgePriorities(), AGStreet::print(), MSDevice_SSM::processEncounters(), MSVehicle::processLaneAdvances(), MSVehicle::processLinkAproaches(), MSVehicle::processNextStop(), TraCIServerAPI_Vehicle::processSet(), NBEdgeCont::processSplits(), MEVehicle::processStop(), NIXMLNodesHandler::processTrafficLightDefinitions(), NWWriter_SUMO::prohibitionConnection(), MSDelayBasedTrafficLightLogic::proposeProlongation(), NBNodeCont::pruneClusterFringe(), MSPModel_Striping::PState::PState(), MSOffTrafficLightLogic::rebuildPhase(), NBEdgeCont::recheckLanes(), NBEdge::recheckLanes(), NBEdgeCont::recheckPostProcessConnections(), NIImporter_OpenStreetMap::reconstructLayerElevation(), NBLoadedSUMOTLDef::reconstructLogic(), NBEdgeCont::remapIDs(), NBLoadedTLDef::SignalGroup::remapIncoming(), NBLoadedTLDef::SignalGroup::remapOutgoing(), MSLink::removeApproaching(), GNEJunction::removeConnectionsFrom(), NBNodeCont::removeIsolatedRoads(), MSVehicle::removePassedDriveItems(), MSCalibrator::removePending(), NBNode::removeSelfLoops(), GNEJunction::removeTLSConnections(), NBEdgeCont::removeUnwishedEdges(), NBNodeCont::rename(), NBEdgeCont::rename(), GNENet::renameEdge(), GNENet::renameJunction(), RORouteDef::repairCurrentRoute(), NBConnection::replaceFrom(), GNEJunction::replaceIncomingConnections(), MSVehicle::replaceParkingArea(), MSBaseVehicle::replaceRouteEdges(), NBConnection::replaceTo(), NIImporter_DlrNavteq::TrafficlightsHandler::report(), NIImporter_DlrNavteq::ConnectedLanesHandler::report(), NLEdgeControlBuilder::reportCurrentEdgeOrLane(), MSBaseVehicle::reroute(), MSTriggeredRerouter::rerouteParkingArea(), MSVehicle::rerouteParkingArea(), MSLane::resetManeuverReservation(), MSLane::resetPartialOccupation(), NBEdge::restoreRestrictedLane(), GNEEdge::retrieveGNEConnection(), NIXMLTrafficLightsHandler::retrieveLaneIndex(), RODFNet::revalidateFlows(), NBRailwayTopologyAnalyzer::reverseEdges(), NBPTLineCont::reviseStops(), MSPerson::MSPersonStage_Walking::routeOutput(), MSPerson::MSPersonStage_Driving::routeOutput(), RONet::saveAndRemoveRoutesUntil(), MSPersonDevice_Routing::saveState(), MSDevice_Routing::saveState(), MSDevice::saveState(), MSDevice_Vehroutes::saveState(), MSDevice_Tripinfo::saveState(), MSBaseVehicle::saveState(), MSLane::saveState(), GUIVehicle::selectBlockingFoes(), MSE2Collector::selectLanes(), MSLink::setApproaching(), MSTransportable::Stage_Trip::setArrived(), NBNodeCont::setAsTLControlled(), GNEEdge::setAttribute(), NBRequest::setBlocking(), MSChargingStation::setChargeDelay(), MSChargingStation::setChargingPower(), NBEdge::setControllingTLInformation(), NLEdgeControlBuilder::setDefaultStopOffsets(), MSChargingStation::setEfficency(), MSLane::setManeuverReservation(), MSDevice_Battery::setMaximumBatteryCapacity(), NBEdge::setNodeBorder(), NIXMLEdgesHandler::setNodes(), MSLane::setPartialOccupation(), MSDevice_Battery::setPowerMax(), MSLink::setRequestInformation(), MSTLLogicControl::TLSLogicVariants::setStateInstantiatingOnline(), NBEdge::setStopOffsets(), MSDevice_Battery::setStoppingTreshold(), NBLoadedSUMOTLDef::setTLControllingInformation(), NBOwnTLDef::setTLControllingInformation(), NBTrafficLightLogicCont::setTLControllingInformation(), NBLoadedTLDef::setTLControllingInformation(), NBEdge::shiftPositionAtNode(), NBNode::sortEdges(), MSLane::sortManeuverReservations(), NBEdgeCont::splitAt(), IntermodalNetwork< E, L, N, V >::splitEdge(), MSLaneChangerSublane::startChangeSublane(), MSStopOut::stopEnded(), MSStopOut::stopStarted(), MSLane::succLinkSec(), GUITrafficLightLogicWrapper::switchTLSLogic(), MELoop::teleportVehicle(), NGNet::toNB(), METriggeredCalibrator::tryEmit(), MSSOTLTrafficLightLogic::trySwitch(), MSDevice_SSM::update(), MSVehicle::updateBestLanes(), MSLCM_SL2015::updateCFRelated(), MSSOTLTrafficLightLogic::updateCTS(), NLEdgeControlBuilder::updateCurrentLaneStopOffsets(), MSVehicle::updateDriveItems(), GNETLSEditorFrame::TLSJunction::updateJunctionDescription(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSSwarmTrafficLightLogic::updateSensitivities(), MSAbstractLaneChangeModel::updateTargetLane(), MSDevice_BTreceiver::BTreceiverUpdate::updateVisibility(), NBNodeTypeComputer::validateRailCrossings(), MSPModel_Striping::PState::walk(), MSLCM_LC2013::wantsChange(), MSLCM_SL2015::wantsChange(), MSLCM_SL2015::wantsChangeSublane(), NBParking::write(), MSBatteryExport::write(), MSEmissionExport::write(), MSFCDExport::write(), MSInstantInductLoop::write(), MSLink::writeApproaching(), NBSign::writeAsPOI(), NWWriter_DlrNavteq::writeConnectedLanes(), NWWriter_SUMO::writeConnection(), NWWriter_SUMO::writeDistrict(), MSFullExport::writeEdge(), MSXMLRawOut::writeEdge(), NWWriter_SUMO::writeEdge(), MSMeanData::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), RODFDetector::writeEmitterDefinition(), RODFDetectorCon::writeEmitterPOIs(), RODFDetectorCon::writeEmitters(), RODFDetectorCon::writeEndRerouterDetectors(), NWWriter_SUMO::writeInternalConnections(), NWWriter_OpenDrive::writeInternalEdge(), writeInterval(), NWWriter_SUMO::writeJunction(), MSQueueExport::writeLane(), MSFullExport::writeLane(), NWWriter_DlrNavteq::writeLinksUnsplitted(), NWWriter_OpenDrive::writeNetwork(), NWWriter_XML::writeNodes(), NWWriter_DlrNavteq::writeNodesUnsplitted(), NWWriter_OpenDrive::writeNormalEdge(), NWWriter_DlrNavteq::writeProhibitedManoeuvres(), NWWriter_SUMO::writeRoundabout(), RODFDetectorCon::writeSpeedTrigger(), NWWriter_DlrNavteq::writeTrafficSignals(), MSFCDExport::writeTransportable(), RODFDetectorCon::writeValidationDetectors(), MSFullExport::writeVehicles(), PointOfInterest::writeXML(), SUMOPolygon::writeXML(), MSRouteProbe::writeXMLOutput(), MSInductLoop::writeXMLOutput(), MSE2Collector::writeXMLOutput(), and RONet::~RONet().
|
static |
Definition at line 89 of file GUIEdge.cpp.
References GUIGlObject::getGlID(), MSEdge::isInternal(), and MSEdge::myDict.
Referenced by GUINet::getParameterWindow(), and GUISUMOViewParent::onCmdLocate().
|
inlinestaticinherited |
get an identifier for Named-like object which may be Null
Definition at line 71 of file Named.h.
Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLaneChanger::changeOpposite(), MSVehicle::checkRewindLinkLanes(), MSLaneChanger::continueChange(), MSLane::detectCollisions(), MSVehicle::getBackPositionOnLane(), NBOwnTLDef::getBestPair(), MSVehicle::getCenterOnEdge(), MSLaneChanger::getColumnleader(), NBEdge::Connection::getDescription(), MSLane::getFollowersOnConsecutive(), MSVehicle::getLatOffset(), MSLane::getLeaderOnConsecutive(), GUIVehicle::getParameterWindow(), MSLaneChanger::getRealLeader(), NBEdge::init(), MSLane::isInsertionSuccess(), MESegment::isOpen(), joinNamedToString(), joinNamedToStringSorting(), MSPModel_Striping::PState::moveToNextLane(), libsumo::Person::moveToXY(), libsumo::Vehicle::moveToXY(), libsumo::Helper::moveToXYMap(), operator<<(), NBEdge::recheckLanes(), MSTriggeredRerouter::rerouteParkingArea(), MSLCM_SL2015::saveBlockerLength(), MSLCM_LC2013::saveBlockerLength(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLaneChangerSublane::startChangeSublane(), toString(), MSLeaderInfo::toString(), MSLeaderDistanceInfo::toString(), MSCriticalFollowerDistanceInfo::toString(), MSVehicle::updateBestLanes(), and MSAbstractLaneChangeModel::updateShadowLane().
|
inherited |
Definition at line 701 of file MSEdge.cpp.
References MSEdge::myLanes.
Referenced by MSEdge::getInternalFollowingLengthTo(), libsumo::Helper::moveToXYMap_matchingRoutePosition(), and MSEdge::setLastFailedInsertionTime().
|
inherited |
returns the length of all internal edges on the junction until reaching the non-internal edge followerAfterInternal.
Definition at line 718 of file MSEdge.cpp.
References MSEdge::getInternalFollowingEdge(), MSEdge::getLength(), and MSEdge::isInternal().
Referenced by MSDevice_SSM::getUpstreamVehicles(), and MSEdge::setLastFailedInsertionTime().
MSLane & GUIEdge::getLane | ( | int | laneNo | ) |
returns the enumerated lane (!!! why not private with a friend?)
Definition at line 82 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 162 of file MSEdge.h.
References MSEdge::myLanes.
Referenced by MSVehicleTransfer::add(), NLHandler::addConnection(), addRerouter(), MSRouteHandler::addStop(), MSVehicleControl::addVehicle(), libsumo::Helper::applySubscriptionFilters(), MELoop::buildSegmentsFor(), MSBaseVehicle::calculateArrivalParams(), MSEdgeControl::changeLanes(), MSLink::checkContOff(), MSVehicleTransfer::checkInsertions(), closeTraffic(), MSLCM_SL2015::computeSublaneShift(), CState::computeTranshipTime(), GUILane::drawMarkings(), libsumo::Helper::findCloserLane(), MEVehicle::getAngle(), getColorValue(), MSEdge::getDistanceTo(), MSTransportable::Stage::getEdgeAngle(), GUILane::getEdgeLaneNumber(), MSTransportable::Stage::getEdgePosition(), MSPModel_Remote::getFirstPedestrianLane(), libsumo::Helper::getLaneChecking(), MSVehicle::getLaneIndex(), libsumo::Edge::getLaneNumber(), libsumo::Edge::getLastStepOccupancy(), MSEdge::getLengthGeometryFactor(), MESegment::getLink(), MESegment::getMaxPenaltySeconds(), MSPModel_Striping::getNextLane(), MSInsertionControl::getPendingEmits(), MEVehicle::getPosition(), MSPModel_NonInteracting::PState::getPosition(), GUIContainer::getPosition(), MSVehicle::getPosition(), getScaleValue(), getSegmentAtPosition(), MEVehicle::getSlope(), MSEdge::getSpeedLimit(), getTotalLength(), MSDevice_SSM::getUpstreamVehicles(), MSEdge::getVehicleMaxSpeed(), GUICalibrator::GUICalibrator(), GUITriggeredRerouter::GUITriggeredRerouterEdge::GUITriggeredRerouterEdge(), MSPModel_Remote::handleWalkingArea(), MSVehicle::Influencer::influenceChangeDecision(), MSRailSignal::init(), GUINet::initGUIStructures(), MSCalibrator::invalidJam(), MSPedestrianPushButton::isActiveForEdge(), GUISUMOViewParent::isSelected(), MSEdge::isSuperposable(), MESegment::MESegment(), libsumo::Vehicle::moveTo(), libsumo::Helper::moveToXYMap(), MSCalibrator::MSCalibrator(), MSPerson::MSPersonStage_Access::MSPersonStage_Access(), MSRouteProbe::MSRouteProbe(), GUIMEInductLoop::MyWrapper::MyWrapper(), MSDevice_Bluelight::notifyMove(), NLTriggerBuilder::parseAndBuildCalibrator(), MSLCM_DK2008::patchSpeed(), MSLCM_SL2015::prepareStep(), TraCIServerAPI_Vehicle::processSet(), MSCalibrator::remainingVehicleCapacity(), libsumo::Edge::setAllowedSVCPermissions(), setFunctionalColor(), libsumo::Vehicle::setStop(), libsumo::Edge::storeShape(), MSVehicle::updateBestLanes(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), MESegment::useMultiQueue(), MSQueueExport::writeEdge(), MSFullExport::writeEdge(), MSXMLRawOut::writeEdge(), MSMeanData::writeEdge(), MSFCDExport::writeTransportable(), and MEInductLoop::writeXMLOutput().
|
inlineinherited |
Returns the last time a vehicle could not be inserted.
Definition at line 495 of file MSEdge.h.
References MSEdge::myLastFailedInsertionTime.
|
inlineinherited |
return the length of the edge
Definition at line 568 of file MSEdge.h.
References MSEdge::getLengthGeometryFactor(), MSEdge::getSpeedLimit(), MSEdge::getVehicleMaxSpeed(), MSEdge::myLength, and MSEdge::setMaxSpeed().
Referenced by libsumo::Person::add(), libsumo::Helper::applySubscriptionFilters(), MSVehicle::basePos(), NLTriggerBuilder::buildCalibrator(), MELoop::buildSegmentsFor(), MSDevice_Tripinfo::computeLengthAndDuration(), MSPModel_NonInteracting::PState::computeWalkingTime(), libsumo::Simulation::findIntermodalRoute(), MSDevice_SSM::findSurroundingVehicles(), MSRoutingEngine::getAssumedSpeed(), MSEdge::getCurrentTravelTime(), MSEdge::getDepartPosBound(), MSRoute::getDistanceBetween(), MSTransportable::Stage_Driving::getEdgePos(), MSRoutingEngine::getEffort(), MSEdge::getInternalFollowingLengthTo(), MSEdge::getMeanSpeed(), MSEdge::getMinimumTravelTime(), MSPModel_Striping::getNextLane(), getParameterWindow(), NLTriggerBuilder::getPosition(), getTotalLength(), MSDevice_SSM::getUpstreamVehicles(), MSEdge::insertVehicle(), libsumo::Helper::moveToXYMap(), MSRouteHandler::parseWalkPositions(), MSCalibrator::remainingVehicleCapacity(), MSTransportable::Stage_Trip::setArrived(), MSRoutingEngine::setEdgeTravelTime(), MELoop::teleportVehicle(), and MSMeanData::writeEdge().
|
inherited |
return shape.length() / myLength
Definition at line 906 of file MSEdge.cpp.
References MSEdge::getLanes(), and MSEdge::myLanes.
Referenced by MSEdge::getLength().
|
inherited |
get the mean speed
Definition at line 742 of file MSEdge.cpp.
References MSEdge::getLength(), MSEdge::getSpeedLimit(), MSGlobals::gMesoNet, MSGlobals::gUseMesoSim, MSEdge::myEmptyTraveltime, and MSEdge::myLanes.
Referenced by getColorValue(), MSEdge::getCurrentTravelTime(), libsumo::Edge::getLastStepMeanSpeed(), getParameterWindow(), getRelativeSpeed(), getScaleValue(), and MSEdge::hasLaneChanger().
|
inline |
Definition at line 207 of file GUIEdge.h.
References isSelected(), and myMesoColor.
|
virtualinherited |
Returns the id of the object as known to microsim.
Definition at line 143 of file GUIGlObject.cpp.
References GUIGlObject::myMicrosimID.
Referenced by SUMORTree::addAdditionalGLObject(), GNEAdditional::changeAdditionalID(), GNEAdditional::changeEdge(), GNEAdditional::changeFirstAdditionalParent(), GNEAdditional::changeLane(), GNEAdditional::changeSecondAdditionalParent(), GNETLSEditorFrame::controlsEdge(), GUIGlObject::createFullName(), GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), GUIGlObject::drawName(), GNEAdditional::getAdditionalID(), GNEConnection::getAttribute(), GNELane::getAttribute(), GNEJunction::getAttribute(), GNEEdge::getAttribute(), GNEDialogACChooser::getObjectName(), GUIDialog_GLObjChooser::getObjectName(), GNEVaporizer::getParentName(), GNERouteProbe::getParentName(), GNEDetectorE3::getParentName(), GNECalibratorRoute::getParentName(), GNEParkingSpace::getParentName(), GNEVariableSpeedSign::getParentName(), GNECalibratorVehicleType::getParentName(), GNERerouter::getParentName(), GNELane::getParentName(), GNEStoppingPlace::getParentName(), GNECalibrator::getParentName(), GNETAZ::getParentName(), GNEDetector::getParentName(), GNEPoly::getParentName(), GNEPOI::getParentName(), GNETLSEditorFrame::handleMultiChange(), GNEEdge::isValid(), GNEViewNet::mergeJunctions(), GUIGLObjectPopupMenu::onCmdCopyName(), GNEInspectorFrame::TemplateEditor::onUpdCopyTemplate(), GNENet::registerEdge(), GNENet::registerJunction(), SUMORTree::removeAdditionalGLObject(), GNEEdge::removeConnection(), GNEEdge::setAttribute(), GNENet::splitEdge(), GNEProhibitionFrame::updateDescription(), and GNEConnection::updateID().
|
inlineinherited |
returns the minimum travel time for the given vehicle
Definition at line 405 of file MSEdge.h.
References EDGEFUNC_CONNECTOR, MSEdge::getLength(), MSEdge::getSpeedLimit(), MSEdge::getVehicleMaxSpeed(), and MSEdge::myFunction.
Referenced by MSRoutingEngine::getEffort(), and MSNet::getTravelTime().
|
inherited |
if this edge is an internal edge, return its first normal predecessor, otherwise the edge itself
Definition at line 732 of file MSEdge.cpp.
References MSEdge::getPredecessors(), and MSEdge::isInternal().
Referenced by MSVehicle::addStop(), MSVehicle::isLeader(), and MSEdge::setLastFailedInsertionTime().
|
inlineinherited |
Returns the numerical id of the edge.
Definition at line 255 of file MSEdge.h.
References MSEdge::myNumericalID.
Referenced by MELoop::buildSegmentsFor(), MSEdgeControl::changeLanes(), MELoop::changeSegment(), MSEdge::dictionary(), GUILane::drawGL(), MSMeanData_Amitran::getEdgeID(), MSRoutingEngine::getEffort(), MELoop::getSegmentForEdge(), MSStateHandler::myStartElement(), MELoop::nextSegment(), MSEdge::by_id_sorter::operator()(), and MSRoutingEngine::setEdgeTravelTime().
|
inlineinherited |
Returns the number of edges this edge is connected to.
Definition at line 330 of file MSEdge.h.
References MSEdge::myPredecessors.
Referenced by NLEdgeControlBuilder::build(), and MSRouteHandler::parseFromViaTo().
|
inlineinherited |
Returns the number of edges that may be reached from this edge.
Definition at line 308 of file MSEdge.h.
References MSEdge::getSuccessors(), MSEdge::getViaSuccessors(), MSEdge::mySuccessors, and SVC_IGNORING.
Referenced by NLEdgeControlBuilder::build(), MESegment::MESegment(), MSRouteHandler::parseFromViaTo(), and MESegment::useMultiQueue().
|
inherited |
Returns the opposite direction edge if on exists else a nullptr.
Definition at line 1079 of file MSEdge.cpp.
References MSEdge::myLanes.
Referenced by libsumo::Helper::applySubscriptionFilters(), and MSEdge::hasLaneChanger().
|
inherited |
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 |
Definition at line 71 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by MSTLLogicControl::WAUTSwitchProcedure_Stretch::adaptLogic(), NBEdge::addRestrictedLane(), MSDevice_Battery::buildVehicleDevices(), MSDevice_Bluelight::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice::equippedByParameter(), libsumo::Simulation::findIntermodalRoute(), MSDevice::getBoolParam(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), GNELane::getColorValue(), GUILane::getColorValue(), MSSOTLTrafficLightLogic::getDecayConstant(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSDevice::getFloatParam(), MSTLLogicControl::WAUTSwitchProcedure::getGSPValue(), MSSOTLTrafficLightLogic::getInputSensorsLength(), MSDevice_SSM::getMeasuresAndThresholds(), MSSOTLRequestPolicy::getMinDecisionalPhaseDuration(), MSSOTLTrafficLightLogic::getMode(), MSDevice_ToC::getOutputFilename(), MSDevice_SSM::getOutputFilename(), MSSOTLTrafficLightLogic::getOutputSensorsLength(), libsumo::Polygon::getParameter(), libsumo::Route::getParameter(), libsumo::POI::getParameter(), libsumo::Person::getParameter(), libsumo::TrafficLight::getParameter(), libsumo::Edge::getParameter(), libsumo::Lane::getParameter(), libsumo::VehicleType::getParameter(), libsumo::Vehicle::getParameter(), MSSOTLTrafficLightLogic::getSpeedThreshold(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::getStretchAreaNo(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::getStretchBereichDef(), MSDevice::getStringParam(), MSSOTLTrafficLightLogic::getThreshold(), MSTriggeredRerouter::getWeight(), PushButtonLogic::init(), MSSOTLPhasePolicy::init(), SigmoidLogic::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), NIImporter_OpenStreetMap::insertEdge(), MSSOTLTrafficLightLogic::isDecayThresholdActivated(), MSSOTLTrafficLightLogic::isPushButtonPressed(), libsumo::Helper::moveToXYMap(), MSActuatedTrafficLightLogic::MSActuatedTrafficLightLogic(), MSDelayBasedTrafficLightLogic::MSDelayBasedTrafficLightLogic(), MSSOTLPolicy::MSSOTLPolicy(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), MSSwarmTrafficLightLogic::MSSwarmTrafficLightLogic(), MSTriggeredRerouter::notifyEnter(), MSDevice_SSM::requestsTrajectories(), NBEdgeCont::splitAt(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::stretchLogic(), MSDevice_SSM::useGeoCoords(), and NWWriter_DlrNavteq::writeLinksUnsplitted().
|
inherited |
Returns the inner key/value map.
Definition at line 105 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NIImporter_SUMO::_loadNetwork(), NBEdge::addLane(), GUIParameterTableWindow::closeBuilding(), NLHandler::closeEdge(), NBTrafficLightDefinition::compute(), GNEPoly::getGenericParameters(), GNELane::getGenericParameters(), GNEJunction::getGenericParameters(), GNEPOI::getGenericParameters(), GNEEdge::getGenericParameters(), GNEAdditional::getGenericParameters(), GNEPoly::getGenericParametersStr(), GNELane::getGenericParametersStr(), GNEPOI::getGenericParametersStr(), GNEJunction::getGenericParametersStr(), GNEEdge::getGenericParametersStr(), GNEAdditional::getGenericParametersStr(), GUITrafficLightLogicWrapper::getParameterWindow(), GUIPolygon::getParameterWindow(), GUIJunctionWrapper::getParameterWindow(), GUIPointOfInterest::getParameterWindow(), GUILane::getParameterWindow(), GUIContainer::getTypeParameterWindow(), GUIPerson::getTypeParameterWindow(), GUIMEVehicle::getTypeParameterWindow(), GUIVehicle::getTypeParameterWindow(), NIImporter_OpenStreetMap::insertEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), GUIParameterTableWindow::numParams(), and TraCIServerAPI_TrafficLight::processGet().
|
virtual |
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 163 of file GUIEdge.cpp.
References GUIParameterTableWindow::closeBuilding(), getAllowedSpeed(), getBruttoOccupancy(), MESegment::getCarNumber(), MESegment::getEdge(), MESegment::getEntryBlockTimeSeconds(), MESegment::getEventTimeSeconds(), getFlow(), MESegment::getFlow(), MESegment::getIndex(), MESegment::getLastHeadwaySeconds(), MESegment::getLength(), MSEdge::getLength(), MESegment::getMeanSpeed(), MSEdge::getMeanSpeed(), GUISUMOAbstractView::getPositionInformation(), MESegment::getRelativeJamThreshold(), MESegment::getRelativeOccupancy(), MSEdge::getRoutingSpeed(), getSegmentAtPosition(), MSEdge::getSpeedLimit(), getVehicleIDs(), getVehicleNo(), GUIParameterTableWindow::mkItem(), MSEdge::myLanes, and MESegment::numQueues().
|
virtualinherited |
Returns the name of the parent object (if any)
Reimplemented in GNEPOI, GNEPoly, GNEDetector, GNETAZ, GNECalibrator, GNEStoppingPlace, GUILane, GNELane, GNECalibratorVehicleType, GNERerouter, GNEAccess, GNEVariableSpeedSign, GNECalibratorFlow, GNERerouterInterval, GNEVariableSpeedSignStep, GNECalibratorRoute, GNEParkingAreaReroute, GNEParkingSpace, GNEClosingLaneReroute, GNEDestProbReroute, GNEDetectorE3, GNERouteProbReroute, GNEClosingReroute, GNERouteProbe, GNETAZSink, GNETAZSource, and GNEVaporizer.
Definition at line 123 of file GUIGlObject.cpp.
References StringUtils::emptyString.
Referenced by GUIGLObjectPopupMenu::onCmdCopyEdgeName().
|
inlineinherited |
Definition at line 532 of file MSEdge.h.
References MSEdge::myCombinedPermissions.
Referenced by libsumo::Simulation::findIntermodalRoute(), getWalking(), MSPedestrianPushButton::MSPedestrianPushButton(), and MSTransportable::Stage_Trip::setArrived().
|
inlineinherited |
Returns this edge's persons set.
Avoids the creation of new vector as in getSortedPersons
Definition at line 171 of file MSEdge.h.
References MSEdge::allowedLanes(), MSEdge::getSortedContainers(), MSEdge::getSortedPersons(), MSEdge::myPersons, and SVC_IGNORING.
Referenced by MSLCM_LC2013::_wantsChange(), MSLane::detectCollisions(), MSLane::detectPedestrianJunctionCollision(), MSLink::getLeaderInfo(), MSPedestrianPushButton::isActiveForEdge(), MSVehicle::planMoveInternal(), and MSLCM_SL2015::updateExpectedSublaneSpeeds().
|
virtual |
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 146 of file GUIEdge.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), GUIGlObject::buildShowParamsPopupEntry(), MESegment::getIndex(), GUISUMOAbstractView::getPositionInformation(), getSegmentAtPosition(), MSGlobals::gUseMesoSim, and toString().
|
inlineinherited |
Definition at line 338 of file MSEdge.h.
References MSEdge::myPredecessors.
Referenced by NLEdgeControlBuilder::build(), closeTraffic(), MSPModel_Striping::getArbitraryPath(), MSRoute::getDistanceBetween(), MSLane::getLogicalPredecessorLane(), MSEdge::getNormalBefore(), getWalkingAreas(), MSPModel_Striping::initWalkingAreaPaths(), MSPedestrianPushButton::isActiveForEdge(), libsumo::Lane::setAllowed(), libsumo::Edge::setAllowedSVCPermissions(), libsumo::Lane::setDisallowed(), and GUILane::setFunctionalColor().
|
inlineinherited |
Returns the priority of the edge.
Definition at line 274 of file MSEdge.h.
References MSEdge::myPriority.
Referenced by GUILane::getColorValue(), GUILane::getParameterWindow(), GUILane::getScaleValue(), and MSLane::outgoing_lane_priority_sorter::operator()().
double GUIEdge::getRelativeSpeed | ( | ) | const |
return meanSpead divided by allowedSpeed
Definition at line 385 of file GUIEdge.cpp.
References getAllowedSpeed(), and MSEdge::getMeanSpeed().
Referenced by getColorValue(), getScaleValue(), and removeContainer().
|
inherited |
Returns the averaged speed used by the routing device.
Definition at line 781 of file MSEdge.cpp.
References MSRoutingEngine::getAssumedSpeed().
Referenced by getColorValue(), GUILane::getColorValue(), getParameterWindow(), GUILane::getParameterWindow(), and MSEdge::getTravelTimeStatic().
double GUIEdge::getScaleValue | ( | int | activeScheme | ) | const |
gets the scaling value according to the current scheme index
Definition at line 497 of file GUIEdge.cpp.
References getAllowedSpeed(), getBruttoOccupancy(), getFlow(), GUIGlObject::getGlID(), MSNet::getInsertionControl(), MSNet::getInstance(), MSEdge::getLanes(), MSEdge::getMeanSpeed(), MSInsertionControl::getPendingEmits(), getRelativeSpeed(), GUIGlObject::getType(), gSelected, and GUISelectedStorage::isSelected().
Referenced by GUILane::drawGL(), and removeContainer().
returns the segment closest to the given position
Definition at line 519 of file GUIEdge.cpp.
References MSEdge::getLanes(), MELoop::getSegmentForEdge(), MSGlobals::gMesoNet, and PositionVector::nearest_offset_to_point2D().
Referenced by getParameterWindow(), getPopUpMenu(), and removeContainer().
|
inline |
|
inherited |
Returns this edge's containers sorted by pos.
Definition at line 947 of file MSEdge.cpp.
References MSEdge::myContainers.
Referenced by MSEdge::getPersons(), and MSXMLRawOut::writeEdge().
|
inherited |
Returns this edge's persons sorted by pos.
Definition at line 929 of file MSEdge.cpp.
References MSEdge::myLanes, and MSEdge::myPersons.
Referenced by LaneStoringVisitor::add(), MSLane::detectPedestrianJunctionCollision(), libsumo::Edge::getLastStepPersonIDs(), MSEdge::getPersons(), and MSXMLRawOut::writeEdge().
|
inherited |
Returns the speed limit of the edge The speed limit of the first lane is retured; should probably be the fastest edge.
Definition at line 899 of file MSEdge.cpp.
References MSEdge::getLanes(), and MSEdge::myLanes.
Referenced by GUIApplicationWindow::checkGamingEvents(), METriggeredCalibrator::execute(), MSEdge::getLength(), MESegment::getMeanSpeed(), MSEdge::getMeanSpeed(), MSEdge::getMinimumTravelTime(), MESegment::getNextInsertionTime(), getParameterWindow(), MSVehicleControl::getVehicleMeanSpeeds(), MSEdge::insertVehicle(), METriggeredCalibrator::invalidJam(), MSCalibrator::invalidJam(), MSEdge::recalcCache(), MESegment::recomputeJamThreshold(), MSCalibrator::remainingVehicleCapacity(), MELoop::teleportVehicle(), and MSMeanData::writeEdge().
|
staticinherited |
return the coordinates of the center of the given stop
Definition at line 893 of file MSEdge.cpp.
References MSLane::dictionary(), SUMOVehicleParameter::Stop::endPos, SUMOVehicleParameter::Stop::lane, and SUMOVehicleParameter::Stop::startPos.
Referenced by MSEdge::getSubLaneSides().
|
inlineinherited |
Returns the street name of the edge.
Definition at line 262 of file MSEdge.h.
References MSEdge::myStreetName.
Referenced by drawGL(), GUILane::getParameterWindow(), and libsumo::Edge::getStreetName().
|
inlineinherited |
Returns the right side offsets of this edge's sublanes.
Definition at line 544 of file MSEdge.h.
References MSEdge::getDistanceTo(), MSEdge::getStopPosition(), MSEdge::mySublaneSides, MSEdge::rebuildAllowedLanes(), and MSEdge::rebuildAllowedTargets().
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 981 of file MSEdge.cpp.
References MSEdge::allowedLanes(), EDGEFUNC_CONNECTOR, MSNet::getInstance(), MSEdge::myClassesSuccessorMap, MSEdge::myFunction, MSEdge::mySuccessors, and SVC_IGNORING.
Referenced by NLEdgeControlBuilder::build(), MSVehicle::canReverse(), MSPModel_Striping::getArbitraryPath(), MSRoute::getDistanceBetween(), MSLane::getNextNormal(), MSEdge::getNumSuccessors(), getWalkingAreas(), MSPModel_Striping::initWalkingAreaPaths(), MSPedestrianPushButton::isActiveForEdge(), MELoop::isEnteringRoundabout(), MESegment::MESegment(), libsumo::Helper::moveToXYMap(), and GUILane::setFunctionalColor().
|
inlineinherited |
Definition at line 347 of file MSEdge.h.
References MSEdge::myToJunction, and MSEdge::setJunctions().
Referenced by MSPModel_Remote::add(), MSEdge::addSuccessor(), MSPModel::canTraverse(), MSDevice_SSM::classifyEncounter(), MSPModel_NonInteracting::PState::computeWalkingTime(), GUILane::drawGL(), GUILane::drawLane2LaneConnections(), MSDevice_SSM::findFoeConflictLane(), MSDevice_SSM::findSurroundingVehicles(), MSPModel_Striping::getNextLane(), MSRailSignal::init(), MSVehicle::isLeader(), MSPModel_Striping::PState::moveToNextLane(), MSRouteHandler::parseWalkPositions(), MSInternalJunction::postloadInit(), MSVehicle::processLinkAproaches(), MSPModel_Striping::PState::PState(), and MSPerson::MSPersonStage_Walking::walkDistance().
|
static |
Definition at line 104 of file GUIEdge.cpp.
References MSEdge::getLanes(), MSEdge::getLength(), MSEdge::isInternal(), and MSEdge::myDict.
Referenced by GUINet::getParameterWindow().
|
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 423 of file MSEdge.h.
References MSEdge::getDepartLane(), MSEdge::getFreeLane(), MSNet::getInstance(), MSEdge::getRoutingSpeed(), MSNet::getTravelTime(), and MSEdge::insertVehicle().
|
inherited |
Returns the type of the object as coded in GUIGlObjectType.
Definition at line 156 of file GUIGlObject.cpp.
References GUIGlObject::myGLObjectType.
Referenced by GUIGlObject::buildSelectionPopupEntry(), GNEAdditional::BlockIcon::draw(), GNEAdditional::ChildConnections::draw(), GUIVehicle::drawAction_drawLinkItems(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIVehicle::drawAction_drawRailCarriages(), GUIPerson::drawAction_drawWalkingareaPath(), GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GNEChargingStation::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), GNEParkingSpace::drawGL(), GNEJunction::drawGL(), GNEVariableSpeedSign::drawGL(), GNECrossing::drawGL(), GNEAccess::drawGL(), GNERerouter::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorExit::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GNEDetectorE1Instant::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUICalibrator::drawGL(), GUIContainer::drawGL(), GUIPerson::drawGL(), GNECalibrator::drawGL(), GUIJunctionWrapper::drawGL(), GNELane::drawGL(), GNEConnection::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GNEDetectorE2::drawGL(), GUIParkingArea::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GNEPoly::drawGL(), GNEPOI::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUILane::drawGL(), GUIPerson::drawGLAdditional(), GUIBaseVehicle::drawGLAdditional(), GUIBaseVehicle::drawOnPos(), GNEJunction::getAttribute(), GNEViewNet::getAttributeCarriersInBoundary(), GUIJunctionWrapper::getColorValue(), getColorValue(), GNEViewNet::getConnectionAtPopupPosition(), GNEViewNet::getCrossingAtPopupPosition(), GNEViewNet::getEdgeAtPopupPosition(), GNEViewNet::getJunctionAtPopupPosition(), GNEViewNet::getLaneAtPopupPosition(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), getScaleValue(), GUIGlChildWindow::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUISelectedStorage::loadIDs(), GNEViewNet::mergeJunctions(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdBegin2TrackPhases(), GUIGLObjectPopupMenu::onCmdCopyEdgeName(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideAllRoutes(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideBestLanes(), GUIPerson::GUIPersonPopupMenu::onCmdHideCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideLFLinkItems(), GUIPerson::GUIPersonPopupMenu::onCmdHideWalkingareaPath(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNESelectorFrame::SelectionOperation::onCmdSave(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowAllRoutes(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowBestLanes(), GUIPerson::GUIPersonPopupMenu::onCmdShowCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowFoes(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowLFLinkItems(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdShowPhases(), GUIPerson::GUIPersonPopupMenu::onCmdShowWalkingareaPath(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIPerson::GUIPersonPopupMenu::onCmdStopTrack(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStopTrack(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdSwitchTLS2Off(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdSwitchTLSLogic(), GNEShape::selectAttributeCarrier(), GNENetElement::selectAttributeCarrier(), LayeredRTree::selectLayer(), GNEJunction::setAttribute(), GUISUMOAbstractView::showToolTipFor(), GUISelectedStorage::toggleSelection(), GNENetElement::unselectAttributeCarrier(), and GNEShape::unselectAttributeCarrier().
|
virtualinherited |
Returns an own type parameter window (optional)
[in] | app | The application needed to build the parameter window |
[in] | parent | The parent window needed to build the parameter window |
Reimplemented in GUIVehicle, GUIBaseVehicle, GUIMEVehicle, GUIPerson, and GUIContainer.
Definition at line 135 of file GUIGlObject.cpp.
References UNUSED_PARAMETER.
Referenced by GUIGLObjectPopupMenu::onCmdShowTypePars().
std::string GUIEdge::getVehicleIDs | ( | ) | const |
Definition at line 344 of file GUIEdge.cpp.
References MSGlobals::gMesoNet.
Referenced by getParameterWindow(), and removeContainer().
|
inherited |
Returns the maximum speed the vehicle may use on this edge.
Only the first lane is considered
Definition at line 911 of file MSEdge.cpp.
References MSEdge::getLanes(), and MSEdge::myLanes.
Referenced by GUIMEVehicle::getColorValue(), MSEdge::getLength(), MSEdge::getMinimumTravelTime(), MSEdge::insertVehicle(), MSDevice_Tripinfo::notifyMoveInternal(), and MESegment::receive().
int GUIEdge::getVehicleNo | ( | ) | const |
Definition at line 334 of file GUIEdge.cpp.
References MSGlobals::gMesoNet.
Referenced by getParameterWindow(), and removeContainer().
|
inherited |
Returns the following edges with internal vias, restricted by vClass.
[in] | vClass | The vClass for which to restrict the successors |
Definition at line 1018 of file MSEdge.cpp.
References MSEdge::allowedLanes(), EDGEFUNC_CONNECTOR, MSNet::getInstance(), MSEdge::myClassesViaSuccessorMap, MSEdge::myFunction, MSEdge::myViaSuccessors, and SVC_IGNORING.
Referenced by MSEdge::getNumSuccessors().
|
inlineinherited |
Returns the edges's width (sum over all lanes)
Definition at line 539 of file MSEdge.h.
References MSEdge::myWidth.
Referenced by MSLCM_SL2015::_wantsChangeSublane(), MSLCM_SL2015::keepLatGap(), MSVehicle::planMoveInternal(), and MSLCM_SL2015::prepareStep().
|
inlineinherited |
Definition at line 636 of file MSEdge.h.
References MSEdge::canChangeToOpposite(), MSEdge::getMeanSpeed(), MSEdge::getOppositeEdge(), MSEdge::hasMinorLink(), and MSEdge::myLaneChanger.
Referenced by MSLCM_LC2013::_patchSpeed().
|
inherited |
whether any lane has a minor link
Definition at line 1089 of file MSEdge.cpp.
References MSEdge::myLanes.
Referenced by MSEdge::hasLaneChanger().
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 422 of file MSEdge.cpp.
References MSEdge::myVaporizationRequests.
Referenced by NLTriggerBuilder::buildVaporizer(), and MSEdge::isVaporizing().
|
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 105 of file MSEdge.cpp.
References EDGEFUNC_CONNECTOR, MSGlobals::gLateralResolution, MSEdge::myCombinedPermissions, MSEdge::myFunction, MSEdge::myLanes, MSEdge::mySublaneSides, MSEdge::myWidth, MSLeaderInfo::numSublanes(), and SVCAll.
Referenced by NLHandler::addDistrict(), and NLEdgeControlBuilder::closeEdge().
|
staticinherited |
Inserts IDs of all known edges into the given vector.
Definition at line 837 of file MSEdge.cpp.
References MSEdge::myDict.
Referenced by libsumo::Edge::getIDList(), and MSEdge::unlock().
|
inherited |
Tries to insert the given vehicle into the network.
The procedure for choosing the proper lane is determined, first. In dependance 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 575 of file MSEdge.cpp.
References MSVehicleType::computeChosenSpeedDeviation(), DEPART_LANE_DEFAULT, DEPART_LANE_FIRST_ALLOWED, DEPART_LANE_GIVEN, DEPART_POS_FREE, DEPART_POS_GIVEN, DEPART_POS_RANDOM, DEPART_POS_RANDOM_FREE, DEPART_SPEED_GIVEN, SUMOVehicleParameter::departLaneProcedure, SUMOVehicleParameter::departPos, SUMOVehicleParameter::departPosProcedure, SUMOVehicleParameter::departSpeed, SUMOVehicleParameter::departSpeedProcedure, MSLane::getBruttoOccupancy(), SUMOVehicle::getChosenSpeedFactor(), MSEdge::getDepartLane(), Named::getID(), SUMOVehicle::getID(), MSLane::getIndex(), MSNet::getInstance(), MSEdge::getLength(), MSVehicleType::getLengthWithGap(), MESegment::getNextSegment(), Distribution_Parameterized::getParameter(), SUMOVehicle::getParameter(), MELoop::getSegmentForEdge(), MSVehicleType::getSpeedFactor(), MSEdge::getSpeedLimit(), MSEdge::getVehicleMaxSpeed(), SUMOVehicle::getVehicleType(), MSGlobals::gMesoNet, MSGlobals::gUseMesoSim, MESegment::hasSpaceFor(), SUMOVehicleParameter::id, MESegment::initialise(), MSLane::insertVehicle(), MSEdge::isTazConnector(), MSEdge::isVaporizing(), MSEdge::myFailedInsertionMemory, MSEdge::myLanes, MSEdge::myLastFailedInsertionTime, MSEdge::myLength, RandHelper::rand(), SUMOVehicle::setChosenSpeedFactor(), time2string(), toString(), and WRITE_WARNING.
Referenced by MSInsertionControl::checkCandidates(), MSCalibrator::execute(), and MSEdge::getTravelTimeStatic().
|
inlineinherited |
return whether this edge is a pedestrian crossing
Definition at line 230 of file MSEdge.h.
References MSEdge::checkAndRegisterBiDirEdge(), EDGEFUNC_CROSSING, and MSEdge::myFunction.
Referenced by MSSwarmTrafficLightLogic::allowLine(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildSensorForLane(), GUILane::drawGL(), MSPModel_Striping::getNextLane(), MSPModel_Striping::getNextLaneObstacles(), MSPModel_Remote::handlePedestrianLane(), MSPedestrianPushButton::loadCrossingEdgeMap(), MSPModel_Striping::moveInDirectionOnLane(), MSPedestrianPushButton::MSPedestrianPushButton(), GUILane::setFunctionalColor(), and MSPModel_Striping::PState::walk().
|
inlineinherited |
Definition at line 632 of file MSEdge.h.
References MSEdge::myAmDelayed.
|
inlineinherited |
return whether this edge is at the fringe of the network
Definition at line 653 of file MSEdge.h.
References MSEdge::myAmFringe.
Referenced by MSVehicle::planMoveInternal().
|
inlineinherited |
return whether this edge is an internal edge
Definition at line 225 of file MSEdge.h.
References EDGEFUNC_INTERNAL, and MSEdge::myFunction.
Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLane::addApproachingLane(), MSVehicle::addStop(), MSEdge::allowsLaneChanging(), MSLane::appropriate(), NLEdgeControlBuilder::build(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildSensorForLane(), MSEdge::canChangeToOpposite(), MSLaneChanger::checkChange(), MSVehicle::checkRewindLinkLanes(), MSDevice_Tripinfo::computeLengthAndDuration(), MSLane::detectCollisions(), GUILane::drawGL(), MSVehicle::enterLaneAtMove(), MSDevice_SSM::findSurroundingVehicles(), MSVehicle::getBestLanesContinuation(), MSRoute::getDistanceBetween(), getIDs(), MSEdge::getInternalFollowingLengthTo(), MSPModel_Striping::getNextLane(), MSLane::getNextNormal(), libsumo::Vehicle::getNextTLS(), MSEdge::getNormalBefore(), MSLCM_LC2013::getRoundaboutAheadInfo(), getTotalLength(), MSDevice_SSM::getUpstreamVehicles(), MSLane::isInternal(), MSLink::lastWasContMajor(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), MSVehicle::passingMinor(), MSLCM_DK2008::patchSpeed(), MSVehicle::planMoveInternal(), MSVehicle::replaceRoute(), MSLink::setRequestInformation(), MSVehicle::unsafeLinkAhead(), MSVehicle::updateBestLanes(), MSLCM_DK2008::wantsChangeToLeft(), and MSLCM_DK2008::wantsChangeToRight().
|
inlineinherited |
Definition at line 619 of file MSEdge.h.
References MSEdge::myAmRoundabout.
Referenced by MSVehicle::checkRewindLinkLanes(), MSLCM_LC2013::distanceAlongNextRoundabout(), MSLCM_LC2013::getRoundaboutAheadInfo(), MSVehicle::getSpaceTillLastStanding(), MESegment::limitedControlOverride(), and MSVehicle::processLinkAproaches().
|
virtual |
whether this lane is selected in the GUI
Reimplemented from MSEdge.
Definition at line 572 of file GUIEdge.cpp.
References GUIGlObject::getGlID(), GLO_EDGE, gSelected, and GUISelectedStorage::isSelected().
Referenced by getMesoColor().
|
inlineinherited |
Definition at line 248 of file MSEdge.h.
References EDGEFUNC_CONNECTOR, and MSEdge::myFunction.
Referenced by MSEdge::addSuccessor(), MSBaseVehicle::calculateArrivalParams(), MSRoutingEngine::cleanup(), getBoundary(), GUILane::getColorValue(), MSEdge::getDistanceTo(), MSEdge::insertVehicle(), MSBaseVehicle::MSBaseVehicle(), MSDevice_Routing::preInsertionReroute(), MSBaseVehicle::reroute(), and MSEdge::setJunctions().
|
inlineinherited |
Returns whether vehicles on this edge shall be vaporized.
Definition at line 363 of file MSEdge.h.
References MSEdge::decVaporization(), MSEdge::getCurrentTravelTime(), MSEdge::incVaporization(), MSEdge::myVaporizationRequests, and NUMERICAL_EPS.
Referenced by MSVehicle::executeMove(), MSLane::executeMovements(), MSEdge::insertVehicle(), and MSVehicle::processLaneAdvances().
|
inlineinherited |
return whether this edge is walking area
Definition at line 244 of file MSEdge.h.
References EDGEFUNC_WALKINGAREA, and MSEdge::myFunction.
Referenced by MSSwarmTrafficLightLogic::allowLine(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildSensorForLane(), GUILane::drawGL(), MSPModel_Striping::getArbitraryPath(), GUILane::getColorValue(), MSPModel_Striping::getNextLane(), MSPModel_Striping::getNextLaneObstacles(), getWalking(), MSPModel_Remote::handlePedestrianLane(), MSPModel_Striping::initWalkingAreaPaths(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::PState::moveToNextLane(), MSPedestrianPushButton::MSPedestrianPushButton(), and MSPModel_Striping::PState::walk().
|
inherited |
Returns whether the parameter is known.
[in] | key | The key to ask for |
Definition at line 65 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NBEdge::append(), MSDevice_Bluelight::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice::equippedByParameter(), MSDevice::getBoolParam(), NWWriter_DlrNavteq::getBrunnelType(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSDevice::getFloatParam(), MSDevice_SSM::getMeasuresAndThresholds(), MSDevice_ToC::getOutputFilename(), MSDevice_SSM::getOutputFilename(), MSDevice::getStringParam(), MSTriggeredRerouter::getWeight(), MSDevice_SSM::requestsTrajectories(), and MSDevice_SSM::useGeoCoords().
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 363 of file MSEdge.cpp.
References MSEdge::parallelLane().
|
inlinevirtual |
grant exclusive access to the mesoscopic state
Reimplemented from MSEdge.
Definition at line 187 of file GUIEdge.h.
References MFXMutex::lock(), and myLock.
|
inlineinherited |
Definition at line 623 of file MSEdge.h.
References MSEdge::myAmRoundabout.
Referenced by NLHandler::addRoundabout(), and NLEdgeControlBuilder::build().
|
inlineinherited |
Definition at line 627 of file MSEdge.h.
References MSEdge::myAmDelayed.
Referenced by MSLane::incorporateVehicle(), MSLane::integrateNewVehicle(), and MEVehicle::setEventTime().
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 |
Definition at line 375 of file MSEdge.cpp.
References 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 845 of file MSEdge.cpp.
References BinaryFormatter::BF_ROUTE, StringTokenizer::getVector(), and FileHelpers::readEdgeVector().
Referenced by MSRouteHandler::addWalk(), libsumo::Person::appendWalkingStage(), MSRouteHandler::myStartElement(), MSRouteHandler::openRoute(), MSRouteHandler::parseFromViaTo(), libsumo::Vehicle::setRoute(), libsumo::Vehicle::setVia(), and MSEdge::unlock().
|
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 860 of file MSEdge.cpp.
References MSEdge::dictionary().
|
inlineinherited |
Returns whether the vehicle (class) is not allowed on the edge.
Definition at line 524 of file MSEdge.h.
References SUMOVehicle::getVClass(), and MSEdge::myCombinedPermissions.
|
inherited |
Definition at line 258 of file MSEdge.cpp.
References MSEdge::addToAllowed(), MSEdge::allowedLanes(), MSEdge::myAllowed, MSEdge::myCombinedPermissions, MSEdge::myLanes, MSEdge::myMinimumPermissions, MSEdge::rebuildAllowedTargets(), SUMOVehicleClass_MAX, SVC_IGNORING, SVC_PRIVATE, and SVCAll.
Referenced by MSEdge::closeBuilding(), closeTraffic(), GUILane::closeTraffic(), MSEdge::getSubLaneSides(), libsumo::Lane::setAllowed(), libsumo::Edge::setAllowedSVCPermissions(), and libsumo::Lane::setDisallowed().
|
inherited |
Definition at line 292 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::getSubLaneSides(), and MSEdge::rebuildAllowedLanes().
|
inherited |
Recalculates the cached values.
Definition at line 126 of file MSEdge.cpp.
References MSLane::getLinkCont(), MSLink::getMesoTLSPenalty(), MSEdge::getSpeedLimit(), MSGlobals::gMesoMinorPenalty, MSGlobals::gMesoTLSPenalty, MSLink::havePriority(), MAX2(), MIN2(), MSEdge::myEmptyTraveltime, MSEdge::myLanes, MSEdge::myLength, NUMERICAL_EPS, and STEPS2TIME.
Referenced by MSEdge::closeBuilding(), MSTrafficLightLogic::initMesoTLSPenalties(), MSLane::setLength(), and MSLane::setMaxSpeed().
|
inlinevirtual |
Remove container from myContainers.
Reimplemented from MSEdge.
Definition at line 152 of file GUIEdge.h.
References drawMesoVehicles(), getAllowedSpeed(), getBruttoOccupancy(), getColorValue(), getFlow(), getRelativeSpeed(), getScaleValue(), getSegmentAtPosition(), getVehicleIDs(), getVehicleNo(), myLock, MSEdge::removeContainer(), setColor(), setFunctionalColor(), and setMultiColor().
|
inherited |
Lets this object know a parameter window showing the object's values was closed.
[in] | w | The closed parameter window |
Definition at line 269 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::~GUIParameterTableWindow().
|
inlinevirtual |
Reimplemented from MSEdge.
Definition at line 141 of file GUIEdge.h.
References myLock, and MSEdge::removePerson().
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 369 of file MSEdge.cpp.
References MSEdge::parallelLane().
void GUIEdge::setColor | ( | const GUIVisualizationSettings & | s | ) | const |
sets the color according to the currente settings
Definition at line 391 of file GUIEdge.cpp.
References GUIVisualizationSettings::edgeColorer, GUIPropertySchemeStorage< T >::getActive(), GUIPropertyScheme< T >::getColor(), getColorValue(), GUIPropertySchemeStorage< T >::getScheme(), myMesoColor, setFunctionalColor(), and setMultiColor().
Referenced by drawGL(), and removeContainer().
|
inlineinherited |
Sets the crossed edge ids for a crossing edge.
Definition at line 282 of file MSEdge.h.
References MSEdge::myCrossingEdges.
Referenced by NLEdgeControlBuilder::addCrossingEdges().
bool GUIEdge::setFunctionalColor | ( | const GUIColorer & | c | ) | const |
sets the color according to the current scheme index and some edge function
Definition at line 401 of file GUIEdge.cpp.
References GUIPropertySchemeStorage< T >::getActive(), MSEdge::getLanes(), myMesoColor, and GUILane::setFunctionalColor().
Referenced by removeContainer(), and setColor().
|
inlineinherited |
resets the id
[in] | newID | The new id of this object |
Definition at line 86 of file Named.h.
Referenced by Distribution_Parameterized::parse(), NBLoadedSUMOTLDef::reconstructLogic(), NBEdgeCont::remapIDs(), NBNodeCont::rename(), NBEdgeCont::rename(), GNEJunction::setAttribute(), and IntermodalNetwork< E, L, N, V >::splitEdge().
|
inherited |
Definition at line 1060 of file MSEdge.cpp.
References Boundary::add(), MSJunction::getPosition(), MSEdge::isTazConnector(), MSEdge::myBoundary, MSEdge::myFromJunction, and MSEdge::myToJunction.
Referenced by MSEdge::getToJunction(), and NLHandler::myEndElement().
|
inlineinherited |
Sets the last time a vehicle could not be inserted.
[in] | time | the new value |
Definition at line 503 of file MSEdge.h.
References MSEdge::changeLanes(), MSEdge::getInternalFollowingEdge(), MSEdge::getInternalFollowingLengthTo(), MSEdge::getNormalBefore(), and MSEdge::myLastFailedInsertionTime.
|
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 918 of file MSEdge.cpp.
References MSEdge::myLanes.
Referenced by METriggeredCalibrator::execute(), MSCalibrator::execute(), and MSEdge::getLength().
|
virtualinherited |
Changes the microsimID of the object.
Reimplemented in GNEEdge.
Definition at line 149 of file GUIGlObject.cpp.
References GUIGlObject::createFullName(), GUIGlObject::myFullName, and GUIGlObject::myMicrosimID.
Referenced by GNEAdditional::changeAdditionalID(), GNENet::renameJunction(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), GNELane::setIndex(), GNEEdge::setMicrosimID(), and GNEConnection::updateID().
bool GUIEdge::setMultiColor | ( | const GUIColorer & | c | ) | const |
sets multiple colors according to the current scheme index and edge function
Definition at line 423 of file GUIEdge.cpp.
References GUIPropertySchemeStorage< T >::getActive(), getAllowedSpeed(), GUIPropertyScheme< T >::getColor(), GUIPropertySchemeStorage< T >::getScheme(), MSGlobals::gMesoNet, and mySegmentColors.
Referenced by removeContainer(), and setColor().
|
inherited |
Sets a parameter.
[in] | key | The parameter's name |
[in] | value | The parameter's value |
Definition at line 45 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NLHandler::addDistrict(), SUMORouteHandler::addParam(), ShapeHandler::addPOI(), NIImporter_OpenStreetMap::insertNodeChecking(), NBEdge::Lane::Lane(), NIImporter_ArcView::load(), NIImporter_OpenDrive::loadNetwork(), NIXMLTrafficLightsHandler::myStartElement(), MSStateHandler::myStartElement(), ShapeHandler::myStartElement(), NIXMLNodesHandler::myStartElement(), NIImporter_MATSim::EdgesHandler::myStartElement(), NIImporter_OpenStreetMap::EdgesHandler::myStartElement(), GNEAdditionalHandler::parseGenericParameter(), GNEConnection::setGenericParametersStr(), GNEPoly::setGenericParametersStr(), GNELane::setGenericParametersStr(), GNEPOI::setGenericParametersStr(), GNEJunction::setGenericParametersStr(), GNEEdge::setGenericParametersStr(), GNEAdditional::setGenericParametersStr(), libsumo::Route::setParameter(), libsumo::Polygon::setParameter(), libsumo::POI::setParameter(), libsumo::TrafficLight::setParameter(), libsumo::Edge::setParameter(), and libsumo::Lane::setParameter().
|
inlinevirtual |
release exclusive access to the mesoscopic state
Reimplemented from MSEdge.
Definition at line 192 of file GUIEdge.h.
References addRerouter(), closeTraffic(), myLock, and MFXMutex::unlock().
|
inherited |
Removes a parameter.
[in] | key | The parameter's name |
Definition at line 51 of file Parameterised.cpp.
References Parameterised::myMap.
|
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::myMap.
Referenced by NIImporter_SUMO::_loadNetwork(), PCLoaderOSM::addPOI(), PCLoaderOSM::addPolygon(), NLHandler::closeEdge(), NLJunctionControlBuilder::closeJunction(), NBTrafficLightDefinition::compute(), NIImporter_OpenStreetMap::insertEdge(), and NBLoadedSUMOTLDef::NBLoadedSUMOTLDef().
|
inherited |
write Params in the given outputdevice
Definition at line 111 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 ROVehicle::saveAsXML(), ROPerson::saveAsXML(), MEVehicle::saveState(), MSVehicle::saveState(), SUMOVTypeParameter::write(), GNEAdditional::writeAdditional(), NWWriter_SUMO::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), NWWriter_SUMO::writeJunction(), NWWriter_SUMO::writeLane(), NWWriter_XML::writeNodes(), MSDevice_Vehroutes::writeOutput(), PointOfInterest::writeXML(), and SUMOPolygon::writeXML().
|
staticinherited |
Definition at line 70 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::getTrackedID(), GUISUMOAbstractView::paintGL(), and GUIViewTraffic::stopTrack().
|
protectedinherited |
Associative container from vehicle class to allowed-lanes.
Definition at line 799 of file MSEdge.h.
Referenced by MSEdge::allowedLanes(), MSEdge::rebuildAllowedLanes(), MSEdge::rebuildAllowedTargets(), and MSEdge::~MSEdge().
|
protectedinherited |
From target edge to lanes allowed to be used to reach it.
Definition at line 802 of file MSEdge.h.
Referenced by MSEdge::allowedLanes(), MSEdge::rebuildAllowedTargets(), and MSEdge::~MSEdge().
|
mutableprotectedinherited |
whether this edge had a vehicle with less than max speed on it
Definition at line 829 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 835 of file MSEdge.h.
Referenced by MSEdge::closeBuilding(), and MSEdge::isFringe().
|
protectedinherited |
whether this edge belongs to a roundabout
Definition at line 832 of file MSEdge.h.
Referenced by MSEdge::isRoundabout(), and MSEdge::markAsRoundabout().
|
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 865 of file MSEdge.h.
Referenced by MSEdge::addSuccessor(), MSEdge::getDistanceTo(), and MSEdge::setJunctions().
|
mutableprotectedinherited |
The successors available for a given vClass.
Definition at line 859 of file MSEdge.h.
Referenced by MSEdge::getSuccessors(), and MSEdge::rebuildAllowedTargets().
|
mutableprotectedinherited |
The successors available for a given vClass.
Definition at line 862 of file MSEdge.h.
Referenced by MSEdge::getViaSuccessors().
|
protectedinherited |
The union of lane permissions for this edge.
Definition at line 807 of file MSEdge.h.
Referenced by MSEdge::allowedLanes(), MSEdge::getPermissions(), MSEdge::initialize(), MSEdge::prohibits(), MSEdge::rebuildAllowedLanes(), and MSEdge::rebuildAllowedTargets().
|
mutableprotectedinherited |
Containers on the edge.
Definition at line 793 of file MSEdge.h.
Referenced by MSEdge::addContainer(), drawGL(), MSEdge::getSortedContainers(), and MSEdge::removeContainer().
|
protectedinherited |
The crossed edges id for a crossing edge. On not crossing edges it is empty.
Definition at line 775 of file MSEdge.h.
Referenced by MSEdge::getCrossingEdges(), and MSEdge::setCrossingEdges().
|
staticprotectedinherited |
Static dictionary to associate string-ids with objects.
Definition at line 849 of file MSEdge.h.
Referenced by MSEdge::clear(), MSEdge::dictionary(), MSEdge::dictSize(), getIDs(), getTotalLength(), and MSEdge::insertIDs().
|
staticprotectedinherited |
Static list of edges.
Definition at line 854 of file MSEdge.h.
Referenced by MSEdge::clear(), MSEdge::dictionary(), and MSEdge::getAllEdges().
|
protectedinherited |
the type of the edge (optionally used during network creation)
Definition at line 814 of file MSEdge.h.
Referenced by MSEdge::getEdgeType().
|
protectedinherited |
the traveltime on the empty edge (cached value for speedup)
Definition at line 826 of file MSEdge.h.
Referenced by MSEdge::getCurrentTravelTime(), MSEdge::getMeanSpeed(), 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 772 of file MSEdge.h.
Referenced by MSEdge::insertVehicle().
|
protectedinherited |
the junctions for this edge
Definition at line 786 of file MSEdge.h.
Referenced by MSEdge::checkAndRegisterBiDirEdge(), MSEdge::getFromJunction(), and MSEdge::setJunctions().
|
protectedinherited |
the purpose of the edge
Definition at line 761 of file MSEdge.h.
Referenced by drawGL(), MSEdge::getFunction(), MSEdge::getMinimumTravelTime(), MSEdge::getSuccessors(), MSEdge::getViaSuccessors(), MSEdge::initialize(), MSEdge::isCrossing(), MSEdge::isInternal(), MSEdge::isTazConnector(), and MSEdge::isWalkingArea().
|
protectedinherited |
The name of the object.
Definition at line 130 of file Named.h.
Referenced by MSE2Collector::addDetectorToLanes(), RODFDetector::buildDestinationDistribution(), NGEdge::buildNBEdge(), NGNode::buildNBNode(), MSSOTLTrafficLightLogic::checkPhases(), NBNode::computeNodeShape(), MSE2Collector::detectorUpdate(), METriggeredCalibrator::execute(), MSCalibrator::execute(), GNEPoly::getAttribute(), GNEPOI::getAttribute(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), NBEdge::getLaneID(), NBEdge::getLaneIDInsecure(), ROEdge::getStoredEffort(), MSLane::getSurroundingVehicles(), ROEdge::getTravelTime(), MSDelayBasedTrafficLightLogic::init(), MSActuatedTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), MSCalibrator::init(), NBEdge::init(), MSLane::isInsertionSuccess(), MSCalibrator::myStartElement(), NBNode::NBNode(), MSE2Collector::notifyEnter(), MSE2Collector::notifyLeave(), MSE2Collector::notifyMove(), MSMeanData::openInterval(), RORouteDef::preComputeCurrentRoute(), NBEdge::reinitNodes(), MSRoute::release(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), MSSOTLTrafficLightLogic::setToATargetPhase(), NBEdge::splitGeometry(), Distribution_Parameterized::toStr(), MSChargingStation::writeChargingStationOutput(), RODFDetector::writeEmitterDefinition(), MSXMLRawOut::writeLane(), RODFDetector::writeSingleSpeedTrigger(), MEInductLoop::writeXMLOutput(), MSCalibrator::writeXMLOutput(), and MSE3Collector::writeXMLOutput().
|
protectedinherited |
This member will do the lane-change.
Definition at line 758 of file MSEdge.h.
Referenced by MSEdge::buildLaneChanger(), MSEdge::changeLanes(), MSEdge::hasLaneChanger(), 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 755 of file MSEdge.h.
Referenced by MSEdge::allowedLanes(), MSEdge::allowsLaneChanging(), MSEdge::buildLaneChanger(), MSEdge::canChangeToOpposite(), MSEdge::closeBuilding(), drawGL(), drawMesoVehicles(), getAllowedSpeed(), getBoundary(), getBruttoOccupancy(), MSEdge::getDepartLane(), MSEdge::getDepartPosBound(), MSEdge::getInternalFollowingEdge(), getLane(), MSEdge::getLanes(), MSEdge::getLengthGeometryFactor(), MSEdge::getMeanSpeed(), MSEdge::getOppositeEdge(), getParameterWindow(), MSEdge::getSortedPersons(), MSEdge::getSpeedLimit(), MSEdge::getVehicleMaxSpeed(), MSEdge::hasMinorLink(), MSEdge::initialize(), MSEdge::insertVehicle(), MSEdge::isSuperposable(), MSEdge::parallelLane(), MSEdge::rebuildAllowedLanes(), MSEdge::rebuildAllowedTargets(), MSEdge::recalcCache(), MSEdge::setMaxSpeed(), and MSEdge::~MSEdge().
|
mutableprotectedinherited |
The time of last insertion failure.
Definition at line 767 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 823 of file MSEdge.h.
Referenced by MSEdge::getDepartPosBound(), MSEdge::getFreeLane(), MSEdge::getLength(), MSEdge::insertVehicle(), and MSEdge::recalcCache().
|
mutableprivate |
The mutex used to avoid concurrent updates of myPersons/ myContainers.
Definition at line 229 of file GUIEdge.h.
Referenced by addContainer(), addPerson(), drawGL(), drawMesoVehicles(), lock(), removeContainer(), removePerson(), unlock(), and ~GUIEdge().
|
mutableprivate |
Definition at line 231 of file GUIEdge.h.
Referenced by getMesoColor(), setColor(), and setFunctionalColor().
|
protectedinherited |
The intersection of lane permissions for this edge.
Definition at line 805 of file MSEdge.h.
Referenced by MSEdge::allowedLanes(), MSEdge::rebuildAllowedLanes(), and MSEdge::rebuildAllowedTargets().
|
protectedinherited |
This edge's numerical id.
Definition at line 752 of file MSEdge.h.
Referenced by MSEdge::getNumericalID().
|
mutableprotectedinherited |
Persons on the edge for drawing and pushbutton.
Definition at line 790 of file MSEdge.h.
Referenced by MSEdge::addPerson(), drawGL(), MSEdge::getPersons(), MSEdge::getSortedPersons(), and MSEdge::removePerson().
|
protectedinherited |
The preceeding edges.
Definition at line 783 of file MSEdge.h.
Referenced by MSEdge::addSuccessor(), MSEdge::closeBuilding(), getBoundary(), MSEdge::getNumPredecessors(), and MSEdge::getPredecessors().
|
protectedinherited |
the priority of the edge (used during network creation)
Definition at line 817 of file MSEdge.h.
Referenced by MSEdge::getPriority().
|
mutable |
The color of the segments (cached)
Definition at line 215 of file GUIEdge.h.
Referenced by getSegmentColors(), and setMultiColor().
|
protectedinherited |
the real-world name of this edge (need not be unique)
Definition at line 811 of file MSEdge.h.
Referenced by drawGL(), and MSEdge::getStreetName().
|
protectedinherited |
the right side for each sublane on this edge
Definition at line 838 of file MSEdge.h.
Referenced by MSEdge::getSubLaneSides(), and MSEdge::initialize().
|
protectedinherited |
The succeeding edges.
Definition at line 778 of file MSEdge.h.
Referenced by MSEdge::addSuccessor(), MSEdge::closeBuilding(), getBoundary(), MSEdge::getNumSuccessors(), MSEdge::getSuccessors(), and MSEdge::rebuildAllowedTargets().
|
protectedinherited |
Definition at line 787 of file MSEdge.h.
Referenced by MSEdge::checkAndRegisterBiDirEdge(), MSEdge::getToJunction(), and MSEdge::setJunctions().
|
protectedinherited |
Vaporizer counter.
Definition at line 764 of file MSEdge.h.
Referenced by MSEdge::decVaporization(), MSEdge::incVaporization(), and MSEdge::isVaporizing().
|
protectedinherited |
Definition at line 780 of file MSEdge.h.
Referenced by MSEdge::addSuccessor(), MSEdge::closeBuilding(), and MSEdge::getViaSuccessors().
|
protectedinherited |
Edge width [m].
Definition at line 820 of file MSEdge.h.
Referenced by MSEdge::getWidth(), and MSEdge::initialize().
|
staticinherited |
associates object types with strings
Definition at line 69 of file GUIGlObject.h.
Referenced by GUIGlObject::createFullName(), and GNESelectorFrame::SelectionOperation::onCmdSave().