Eclipse SUMO - Simulation of Urban MObility
NBNode Class Reference

Represents a single node (junction) during network building. More...

#include <NBNode.h>

Inheritance diagram for NBNode:
[legend]
Collaboration diagram for NBNode:
[legend]

Data Structures

class  ApproachingDivider
 Computes lane-2-lane connections. More...
 
class  Crossing
 A definition of a pedestrian crossing. More...
 
class  edge_by_direction_sorter
 Sorts outgoing before incoming edges. More...
 
class  nodes_by_id_sorter
 Used for sorting the cells by the begin time they describe. More...
 
struct  WalkingArea
 A definition of a pedestrian walking area. More...
 
struct  WalkingAreaCustomShape
 

Public Types

typedef std::map< std::string, std::string > Map
 parameters map More...
 

Public Member Functions

NBNode::CrossingaddCrossing (EdgeVector edges, double width, bool priority, int tlIndex=-1, int tlIndex2=-1, const PositionVector &customShape=PositionVector::EMPTY, bool fromSumoNet=false, const Parameterised *params=nullptr)
 add a pedestrian crossing to this node More...
 
void addIncomingEdge (NBEdge *edge)
 adds an incoming edge More...
 
void addOutgoingEdge (NBEdge *edge)
 adds an outgoing edge More...
 
void addSortedLinkFoes (const NBConnection &mayDrive, const NBConnection &mustStop)
 add shorted link FOES More...
 
void addTo (const StoringVisitor &cont) const
 Adds this object to the given container. More...
 
void addWalkingAreaShape (EdgeVector edges, const PositionVector &shape, double width)
 add custom shape for walkingArea More...
 
bool alreadyConnectedPaths (const NBEdge *e1, const NBEdge *e2, double dist) const
 return true if the given pedestrian paths are connected at another junction within dist More...
 
void avoidOverlap ()
 fix overlap More...
 
bool bidiConflict (const NBEdge *from, const NBEdge::Connection &con, const NBEdge *prohibitorFrom, const NBEdge::Connection &prohibitorCon, bool foes) const
 whether the foe connections is oncoming on the same lane More...
 
bool brakeForCrossingOnExit (const NBEdge *to) const
 whether a connection to the given edge must brake for a crossing when leaving the intersection More...
 
void buildCrossingOutlines ()
 build crossing outlines after walkingareas are finished More...
 
int buildCrossings ()
 build pedestrian crossings More...
 
void buildCrossingsAndWalkingAreas ()
 build crossings, and walkingareas. Also removes invalid loaded crossings if wished More...
 
double buildInnerEdges ()
 build internal lanes, pedestrian crossings and walking areas More...
 
void buildWalkingAreas (int cornerDetail, double joinMinDist)
 build pedestrian walking areas and set connections from/to walkingAreas More...
 
int checkCrossing (EdgeVector candidates, bool checkOnly=false)
 
bool checkCrossingDuplicated (EdgeVector edges)
 return true if there already exist a crossing with the same edges as the input More...
 
bool checkIsRemovable () const
 check if node is removable More...
 
bool checkIsRemovableReporting (std::string &reason) const
 check if node is removable and return reason if not More...
 
void clearParameter ()
 Clears the parameter map. More...
 
PositionVector computeInternalLaneShape (const NBEdge *fromE, const NBEdge::Connection &con, int numPoints, NBNode *recordError=0, int shapeFlag=0) const
 Compute the shape for an internal lane. More...
 
void computeKeepClear ()
 compute keepClear status for all connections More...
 
void computeLanes2Lanes ()
 computes the connections of lanes to edges More...
 
void computeLogic (const NBEdgeCont &ec)
 computes the node's type, logic and traffic light More...
 
void computeLogic2 (bool checkLaneFoes)
 compute right-of-way logic for all lane-to-lane connections More...
 
void computeNodeShape (double mismatchThreshold)
 Compute the junction shape for this node. More...
 
PositionVector computeSmoothShape (const PositionVector &begShape, const PositionVector &endShape, int numPoints, bool isTurnaround, double extrapolateBeg, double extrapolateEnd, NBNode *recordError=0, int shapeFlag=0) const
 Compute a smooth curve between the given geometries. More...
 
bool crossesFringe (const NBEdge *e1, const NBEdge *e2) const
 return true if the given sidewalks are separated by a fringe road More...
 
bool crossingBetween (const NBEdge *e1, const NBEdge *e2) const
 return true if the given edges are connected by a crossing More...
 
void discardAllCrossings (bool rejectAll)
 discard all current (and optionally future) crossings More...
 
void discardWalkingareas ()
 discard previously built walkingareas (required for repeated computation by netedit) More...
 
EdgeVector edgesBetween (const NBEdge *e1, const NBEdge *e2) const
 return all edges that lie clockwise between the given edges More...
 
bool foes (const NBEdge *const from1, const NBEdge *const to1, const NBEdge *const from2, const NBEdge *const to2) const
 Returns the information whether the given flows cross. More...
 
bool forbids (const NBEdge *const possProhibitorFrom, const NBEdge *const possProhibitorTo, const NBEdge *const possProhibitedFrom, const NBEdge *const possProhibitedTo, bool regardNonSignalisedLowerPriority) const
 Returns the information whether "prohibited" flow must let "prohibitor" flow pass. More...
 
bool geometryLike () const
 whether this is structurally similar to a geometry node More...
 
bool geometryLike (const EdgeVector &incoming, const EdgeVector &outgoing) const
 
int getConnectionIndex (const NBEdge *from, const NBEdge::Connection &con) const
 return the index of the given connection More...
 
NBEdgegetConnectionTo (NBNode *n) const
 get connection to certain node More...
 
CrossinggetCrossing (const EdgeVector &edges, bool hardFail=true) const
 return the crossing with the given Edges More...
 
CrossinggetCrossing (const std::string &id) const
 return the crossing with the given id More...
 
std::vector< Crossing * > getCrossings () const
 return this junctions pedestrian crossings More...
 
const std::vector< std::unique_ptr< Crossing > > & getCrossingsIncludingInvalid () const
 
LinkDirection getDirection (const NBEdge *const incoming, const NBEdge *const outgoing, bool leftHand=false) const
 Returns the representation of the described stream's direction. More...
 
double getDisplacementError () const
 compute the displacement error during s-curve computation More...
 
double getDouble (const std::string &key, const double defaultValue) const
 Returns the value for a given key converted to a double. More...
 
std::vector< double > getDoubles (const std::string &key, std::vector< double > defaultValue=std::vector< double >()) const
 Returns the value for a given key converted to a list of doubles. More...
 
std::vector< std::pair< NBEdge *, NBEdge * > > getEdgesToJoin () const
 get edges to join More...
 
Position getEmptyDir () const
 Returns something like the most unused direction Should only be used to add source or sink nodes. More...
 
std::vector< std::pair< Position, std::string > > getEndPoints () const
 return list of unique endpoint coordinates of all edges at this node More...
 
const std::string getFoes (int linkIndex) const
 get the 'foes' string (conflict bit set) of the right-of-way logic More...
 
const std::string & getID () const
 Returns the id. More...
 
LinkState getLinkState (const NBEdge *incoming, const NBEdge *outgoing, int fromLane, int toLane, bool mayDefinitelyPass, const std::string &tlID) const
 get link state More...
 
NBEdgegetOppositeIncoming (NBEdge *e) const
 returns the opposite incoming edge of certain edge More...
 
virtual const std::string getParameter (const std::string &key, const std::string defaultValue="") const
 Returns the value for a given key. More...
 
const Parameterised::MapgetParametersMap () const
 Returns the inner key/value map. More...
 
std::string getParametersStr (const std::string kvsep="=", const std::string sep="|") const
 Returns the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN". More...
 
NBEdgegetPossiblySplittedIncoming (const std::string &edgeid)
 get possibly splitted incoming edge More...
 
NBEdgegetPossiblySplittedOutgoing (const std::string &edgeid)
 get possibly splitted outgoing edge More...
 
const NBConnectionProhibitsgetProhibitions ()
 get prohibitions (BLocked connections) More...
 
const std::string getResponse (int linkIndex) const
 get the 'response' string (right-of-way bit set) of the right-of-way logic More...
 
const PositionVectorgetShape () const
 retrieve the junction shape More...
 
WalkingAreagetWalkingArea (const std::string &id)
 return the walkingArea with the given ID More...
 
const std::vector< WalkingAreaCustomShape > & getWalkingAreaCustomShapes () const
 
const std::vector< WalkingArea > & getWalkingAreas () const
 return this junctions pedestrian walking areas More...
 
int guessCrossings ()
 guess pedestrian crossings and return how many were guessed More...
 
bool hasConflict () const
 whether there are conflicting streams of traffic at this node More...
 
bool hasConflict (const NBEdge *e) const
 whether the given edge has a conflicting stream of traffic at this node More...
 
bool hasCustomShape () const
 return whether the shape was set by the user More...
 
bool hasIncoming (const NBEdge *const e) const
 Returns whether the given edge ends at this node. More...
 
bool hasOutgoing (const NBEdge *const e) const
 Returns whether the given edge starts at this node. More...
 
bool hasParameter (const std::string &key) const
 Returns whether the parameter is set. More...
 
PositionVector indirectLeftShape (const PositionVector &begShape, const PositionVector &endShape, int numPoints) const
 compute shape of indirect left turn More...
 
void invalidateIncomingConnections (bool reallowSetting=false)
 invalidate incoming connections More...
 
void invalidateOutgoingConnections (bool reallowSetting=false)
 invalidate outgoing connections More...
 
bool isBentPriority () const
 return whether a priority road turns at this node More...
 
bool isConstantWidthTransition () const
 detects whether a given junction splits or merges lanes while keeping constant road width More...
 
bool isDistrict () const
 check if node is a district More...
 
bool isLeftMover (const NBEdge *const from, const NBEdge *const to) const
 Computes whether the given connection is a left mover across the junction. More...
 
bool isNearDistrict () const
 @chech if node is near district More...
 
bool isRoundabout () const
 return whether this node is part of a roundabout More...
 
bool isSimpleContinuation (bool checkLaneNumbers=true, bool checkWidth=false) const
 check if node is a simple continuation More...
 
bool isTrafficLight () const
 
void markBentPriority (bool isBent)
 mark whether a priority road turns at this node More...
 
bool mergeConflict (const NBEdge *from, const NBEdge::Connection &con, const NBEdge *prohibitorFrom, const NBEdge::Connection &prohibitorCon, bool foes) const
 whether multiple connections from the same edge target the same lane More...
 
bool mergeConflictYields (const NBEdge *from, int fromLane, int fromLaneFoe, NBEdge *to, int toLane) const
 whether one of multple connections from the same edge targeting the same lane must yield More...
 
void mergeParameters (const Parameterised::Map &mapArg, const std::string separator=" ", bool uniqueValues=true)
 Adds or appends all given parameters from the map. More...
 
bool mustBrake (const NBEdge *const from, const NBEdge *const to, int fromLane, int toLane, bool includePedCrossings) const
 Returns the information whether the described flow must let any other flow pass. More...
 
bool mustBrakeForCrossing (const NBEdge *const from, const NBEdge *const to, const Crossing &crossing) const
 Returns the information whether the described flow must brake for the given crossing. More...
 
 NBNode (const std::string &id, const Position &position, NBDistrict *district=0)
 Constructor. More...
 
 NBNode (const std::string &id, const Position &position, SumoXMLNodeType type)
 Constructor. More...
 
bool needsCont (const NBEdge *fromE, const NBEdge *otherFromE, const NBEdge::Connection &c, const NBEdge::Connection &otherC, bool checkOnlyTLS=false) const
 whether an internal junction should be built at from and respect other More...
 
int numCrossingsFromSumoNet () const
 get num of crossings from sumo net More...
 
int numNormalConnections () const
 return the number of lane-to-lane connections at this junction (excluding crossings) More...
 
void reinit (const Position &position, SumoXMLNodeType type, bool updateEdgeGeometries=false)
 Resets initial values. More...
 
void removeCrossing (const EdgeVector &edges)
 remove a pedestrian crossing from this node (identified by its edges) More...
 
void removeDoubleEdges ()
 remove duble edges More...
 
void removeEdge (NBEdge *edge, bool removeFromConnections=true)
 Removes edge from this node and optionally removes connections as well. More...
 
void replaceIncoming (const EdgeVector &which, NBEdge *by)
 Replaces occurrences of every edge from the given list within the list of incoming by the second Connections are remapped, too. More...
 
void replaceIncoming (NBEdge *which, NBEdge *by, int laneOff)
 Replaces occurrences of the first edge within the list of incoming by the second Connections are remapped, too. More...
 
void replaceOutgoing (const EdgeVector &which, NBEdge *by)
 Replaces occurrences of every edge from the given list within the list of outgoing by the second Connections are remapped, too. More...
 
void replaceOutgoing (NBEdge *which, NBEdge *by, int laneOff)
 Replaces occurrences of the first edge within the list of outgoing by the second Connections are remapped, too. More...
 
void resetShape ()
 reset node shape More...
 
bool rightOnRedConflict (int index, int foeIndex) const
 whether the given index must yield to the foeIndex while turing right on a red light More...
 
bool setCrossingTLIndices (const std::string &tlID, int startIndex)
 
void setCustomShape (const PositionVector &shape)
 set the junction shape More...
 
void setFringeType (FringeType fringeType)
 set method for computing right-of-way More...
 
virtual void setID (const std::string &newID)
 resets the id More...
 
void setKeepClear (bool keepClear)
 set the keepClear flag More...
 
void setName (const std::string &name)
 set intersection name More...
 
virtual void setParameter (const std::string &key, const std::string &value)
 Sets a parameter. More...
 
void setParameters (const Parameterised &params)
 set the inner key/value map in map<string, string> format More...
 
void setParametersStr (const std::string &paramsString, const std::string kvsep="=", const std::string sep="|")
 set the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN" More...
 
void setRadius (double radius)
 set the turning radius More...
 
void setRightOfWay (RightOfWay rightOfWay)
 set method for computing right-of-way More...
 
void setRoundabout ()
 update the type of this node as a roundabout More...
 
void sortEdges (bool useNodeShape)
 sort all edge containers for this node More...
 
bool tlsContConflict (const NBEdge *from, const NBEdge::Connection &c, const NBEdge *foeFrom, const NBEdge::Connection &foe) const
 whether the connection must yield if the foe remains on the intersection after its phase ends More...
 
bool turnFoes (const NBEdge *from, const NBEdge *to, int fromLane, const NBEdge *from2, const NBEdge *to2, int fromLane2, bool lefthand=false) const
 return whether the given laneToLane connection originate from the same edge and are in conflict due to turning across each other More...
 
bool typeWasGuessed () const
 return whether a priority road turns at this node More...
 
void unsetParameter (const std::string &key)
 Removes a parameter. More...
 
void updateParameters (const Parameterised::Map &mapArg)
 Adds or updates all given parameters from the map. More...
 
void updateSurroundingGeometry ()
 update geometry of node and surrounding edges More...
 
bool writeLogic (OutputDevice &into) const
 writes the XML-representation of the logic as a bitset-logic XML representation More...
 
void writeParams (OutputDevice &device) const
 write Params in the given outputdevice More...
 
bool zipperConflict (const NBEdge *incoming, const NBEdge *outgoing, int fromLane, int toLane) const
 
 ~NBNode ()
 Destructor. More...
 
Atomar getter methods

Returns the position of this node

const PositiongetPosition () const
 
Position getCenter () const
 Returns a position that is guaranteed to lie within the node shape. More...
 
const EdgeVectorgetIncomingEdges () const
 Returns this node's incoming edges (The edges which yield in this node) More...
 
const EdgeVectorgetOutgoingEdges () const
 Returns this node's outgoing edges (The edges which start at this node) More...
 
const EdgeVectorgetEdges () const
 Returns all edges which participate in this node (Edges that start or end at this node) More...
 
SumoXMLNodeType getType () const
 Returns the type of this node. More...
 
double getRadius () const
 Returns the turning radius of this node. More...
 
bool getKeepClear () const
 Returns the keepClear flag. More...
 
RightOfWay getRightOfWay () const
 Returns hint on how to compute right of way. More...
 
FringeType getFringeType () const
 Returns fringe type. More...
 
const std::string & getName () const
 Returns intersection name. More...
 
Methods for dealing with assigned traffic lights
void addTrafficLight (NBTrafficLightDefinition *tlDef)
 Adds a traffic light to the list of traffic lights that control this node. More...
 
void removeTrafficLight (NBTrafficLightDefinition *tlDef)
 Removes the given traffic light from this node. More...
 
void removeTrafficLights (bool setAsPriority=false)
 Removes all references to traffic lights that control this tls. More...
 
bool isTLControlled () const
 Returns whether this node is controlled by any tls. More...
 
const std::set< NBTrafficLightDefinition * > & getControllingTLS () const
 Returns the traffic lights that were assigned to this node (The set of tls that control this node) More...
 
void invalidateTLS (NBTrafficLightLogicCont &tlCont, bool removedConnections, bool addedConnections)
 causes the traffic light to be computed anew More...
 
void shiftTLConnectionLaneIndex (NBEdge *edge, int offset, int threshold=-1)
 patches loaded signal plans by modifying lane indices above threshold by the given offset More...
 
Prunning the input
int removeSelfLoops (NBDistrictCont &dc, NBEdgeCont &ec, NBTrafficLightLogicCont &tc)
 Removes edges which are both incoming and outgoing into this node. More...
 
Applying offset
void reshiftPosition (double xoff, double yoff)
 Applies an offset to the node. More...
 
void mirrorX ()
 mirror coordinates along the x-axis More...
 

Static Public Member Functions

static bool areAttributesValid (const std::string &value, bool report=false, const std::string kvsep="=", const std::string sep="|")
 check if given string can be parsed to an attributes map "key1=value1|key2=value2|...|keyN=valueN" (used in generic datas) More...
 
static bool areParametersValid (const std::string &value, bool report=false, const std::string kvsep="=", const std::string sep="|")
 check if given string can be parsed to a parameters map "key1=value1|key2=value2|...|keyN=valueN" More...
 
static PositionVector bezierControlPoints (const PositionVector &begShape, const PositionVector &endShape, bool isTurnaround, double extrapolateBeg, double extrapolateEnd, bool &ok, NBNode *recordError=0, double straightThresh=DEG2RAD(5), int shapeFlag=0)
 get bezier control points More...
 
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 bool isTrafficLight (SumoXMLNodeType type)
 return whether the given type is a traffic light More...
 
static bool rightTurnConflict (const NBEdge *from, const NBEdge *to, int fromLane, const NBEdge *prohibitorFrom, const NBEdge *prohibitorTo, int prohibitorFromLane)
 return whether the given laneToLane connection is a right turn which must yield to a bicycle crossings More...
 

Static Public Attributes

static const int AVOID_INTERSECTING_LEFT_TURNS
 
static const int AVOID_WIDE_LEFT_TURN
 
static const int AVOID_WIDE_RIGHT_TURN
 flags for controlling shape generation More...
 
static const int BACKWARD
 
static const int FORWARD
 edge directions (for pedestrian related stuff) More...
 
static const int FOUR_CONTROL_POINTS
 
static const int INDIRECT_LEFT
 
static const int SCURVE_IGNORE
 
static const double UNSPECIFIED_RADIUS = -1
 unspecified lane width More...
 

Protected Attributes

std::string myID
 The name of the object. More...
 

Private Member Functions

int addedLanesRight (NBEdge *out, int addedLanes) const
 check whether this edge has extra lanes on the right side More...
 
PositionVector cutAtShapes (const PositionVector &cut, const PositionVector &border1, const PositionVector &border2, const PositionVector &def)
 geometry helper that cuts the first shape where bordered by the other two More...
 
void displaceShapeAtWidthChange (const NBEdge *from, const NBEdge::Connection &con, PositionVector &fromShape, PositionVector &toShape) const
 displace lane shapes to account for change in lane width at this node More...
 
bool forbidsPedestriansAfter (std::vector< std::pair< NBEdge *, bool > > normalizedLanes, int startIndex)
 return whether there is a non-sidewalk lane after the given index; More...
 
EdgeVector getEdgesSortedByAngleAtNodeCenter () const
 returns the list of all edges sorted clockwise by getAngleAtNodeToCenter More...
 
void getEdgesThatApproach (NBEdge *currentOutgoing, EdgeVector &approaching)
 returns a list of edges which are connected to the given outgoing edge More...
 
NBEdgegetNextCompatibleOutgoing (const NBEdge *incoming, SVCPermissions vehPerm, EdgeVector::const_iterator start, bool clockwise) const
 
EdgeVector getPassengerEdges (bool incoming) const
 return edges that permit passengers (either incoming or outgoing) More...
 
void getReduction (const NBEdge *in, const NBEdge *out, int &inOffset, int &outOffset, int &reduction) const
 get the reduction in driving lanes at this junction More...
 
bool isStraighter (const NBEdge *const incoming, const double angle, const SVCPermissions vehPerm, const int modeLanes, const NBEdge *const candidate) const
 check whether the candidate edge is more likely to be the straight continuation More...
 
 NBNode (const NBNode &s)
 invalidated copy constructor More...
 
NBNodeoperator= (const NBNode &s)
 invalidated assignment operator More...
 
void recheckVClassConnections (NBEdge *currentOutgoing)
 ensure connectivity for all vClasses More...
 
void remapRemoved (NBTrafficLightLogicCont &tc, NBEdge *removed, const EdgeVector &incoming, const EdgeVector &outgoing)
 remap removed More...
 
void removeJoinedTrafficLights ()
 remove all traffic light definitions that are part of a joined tls More...
 
void replaceInConnectionProhibitions (NBEdge *which, NBEdge *by, int whichLaneOff, int byLaneOff)
 replace incoming connections prohibitions More...
 
void setPriorityJunctionPriorities ()
 sets the priorites in case of a priority junction More...
 

Static Private Member Functions

static bool includes (const std::set< const NBEdge *, ComparatorIdLess > &super, const std::set< const NBEdge *, ComparatorIdLess > &sub)
 returns whether sub is a subset of super More...
 
static bool isExplicitRailNoBidi (const NBEdge *incoming, const NBEdge *outgoing)
 detect explict rail turns with potential geometry problem More...
 
static bool isLongEnough (NBEdge *out, double minLength)
 check if is long enough More...
 
static bool isParameterValid (const std::string &value, const std::string &kvsep, const std::string &sep)
 check if given string can be parsed to a parameter of type "key=value" More...
 

Private Attributes

EdgeVector myAllEdges
 Vector of incoming and outgoing edges. More...
 
NBConnectionProhibits myBlockedConnections
 The container for connection block dependencies. More...
 
std::vector< std::unique_ptr< Crossing > > myCrossings
 Vector of crossings. More...
 
int myCrossingsLoadedFromSumoNet
 number of crossings loaded from a sumo net More...
 
bool myDiscardAllCrossings
 whether to discard all pedestrian crossings More...
 
double myDisplacementError
 geometry error after computation of internal lane shapes More...
 
NBDistrictmyDistrict
 The district the node is the centre of. More...
 
FringeType myFringeType
 fringe type of this node More...
 
bool myHaveCustomPoly
 whether this nodes shape was set by the user More...
 
EdgeVector myIncomingEdges
 Vector of incoming edges. More...
 
bool myIsBentPriority
 
bool myKeepClear
 whether the junction area must be kept clear More...
 
Parameterised::Map myMap
 The key->value map. More...
 
std::string myName
 The intersection name (or whatever arbitrary string you wish to attach) More...
 
EdgeVector myOutgoingEdges
 Vector of outgoing edges. More...
 
PositionVector myPoly
 the (outer) shape of the junction More...
 
Position myPosition
 The position the node lies at. More...
 
double myRadius
 the turning radius (for all corners) at this node in m. More...
 
NBRequestmyRequest
 Node requests. More...
 
RightOfWay myRightOfWay
 how to compute right of way for this node More...
 
std::set< NBTrafficLightDefinition * > myTrafficLights
 traffic lights of node More...
 
SumoXMLNodeType myType
 The type of the junction. More...
 
bool myTypeWasGuessed
 whether the node type was guessed rather than loaded More...
 
std::vector< WalkingAreaCustomShapemyWalkingAreaCustomShapes
 Vector of custom walking areas shapes. More...
 
std::vector< WalkingAreamyWalkingAreas
 Vector of walking areas. More...
 

Friends

class GNEJunction
 
class NBEdgePriorityComputer
 
class NBNodeCont
 
class NBNodesEdgesSorter
 
class NBNodeTypeComputer
 

Detailed Description

Represents a single node (junction) during network building.

Definition at line 66 of file NBNode.h.

Member Typedef Documentation

◆ Map

typedef std::map<std::string, std::string> Parameterised::Map
inherited

parameters map

Definition at line 45 of file Parameterised.h.

Constructor & Destructor Documentation

◆ NBNode() [1/3]

NBNode::NBNode ( const std::string &  id,
const Position position,
SumoXMLNodeType  type 
)

Constructor.

Parameters
[in]idThe id of the node
[in]positionThe position of the node
[in]typeThe type of the node

Definition at line 287 of file NBNode.cpp.

References SUMOXMLDefinitions::isValidNetID(), Named::myID, and TLF.

◆ NBNode() [2/3]

NBNode::NBNode ( const std::string &  id,
const Position position,
NBDistrict district = 0 
)

Constructor.

Parameters
[in]idThe id of the node
[in]positionThe position of the node
[in]districtThe district this district node represents, 0 means no district node

Definition at line 310 of file NBNode.cpp.

References DEFAULT, DISTRICT, SUMOXMLDefinitions::isValidNetID(), Named::myID, TLF, and UNKNOWN.

◆ ~NBNode()

NBNode::~NBNode ( )

Destructor.

Definition at line 332 of file NBNode.cpp.

References myRequest.

◆ NBNode() [3/3]

NBNode::NBNode ( const NBNode s)
private

invalidated copy constructor

Member Function Documentation

◆ addCrossing()

NBNode::Crossing * NBNode::addCrossing ( EdgeVector  edges,
double  width,
bool  priority,
int  tlIndex = -1,
int  tlIndex2 = -1,
const PositionVector customShape = PositionVector::EMPTY,
bool  fromSumoNet = false,
const Parameterised params = nullptr 
)

add a pedestrian crossing to this node

Definition at line 3809 of file NBNode.cpp.

References Parameterised::getParametersMap(), myCrossings, myCrossingsLoadedFromSumoNet, and Parameterised::updateParameters().

Referenced by NIImporter_SUMO::_loadNetwork(), checkCrossing(), NIImporter_OpenStreetMap::load(), GNEChange_Crossing::redo(), and GNEChange_Crossing::undo().

Here is the caller graph for this function:

◆ addedLanesRight()

int NBNode::addedLanesRight ( NBEdge out,
int  addedLanes 
) const
private

check whether this edge has extra lanes on the right side

Definition at line 1619 of file NBNode.cpp.

References FORWARD, getDirection(), NBEdge::getFirstNonPedestrianNonBicycleLaneIndex(), getIncomingEdges(), NBEdge::getNumLanes(), getOutgoingEdges(), getReduction(), NBEdge::getToNode(), NBEdge::isConnectedTo(), NBEdge::isOffRamp(), MAX2(), MIN2(), MIN3(), PARTRIGHT, RIGHT, and STRAIGHT.

Referenced by computeLanes2Lanes().

Here is the caller graph for this function:

◆ addIncomingEdge()

void NBNode::addIncomingEdge ( NBEdge edge)

adds an incoming edge

Definition at line 490 of file NBNode.cpp.

References myAllEdges, and myIncomingEdges.

Referenced by NBEdge::init(), GNENetHelper::AttributeCarriers::insertEdge(), and NBEdge::reinitNodes().

Here is the caller graph for this function:

◆ addOutgoingEdge()

void NBNode::addOutgoingEdge ( NBEdge edge)

adds an outgoing edge

Definition at line 500 of file NBNode.cpp.

References myAllEdges, and myOutgoingEdges.

Referenced by NBEdge::init(), GNENetHelper::AttributeCarriers::insertEdge(), and NBEdge::reinitNodes().

Here is the caller graph for this function:

◆ addSortedLinkFoes()

void NBNode::addSortedLinkFoes ( const NBConnection mayDrive,
const NBConnection mustStop 
)

add shorted link FOES

Definition at line 1877 of file NBNode.cpp.

References NBConnection::getFrom(), NBConnection::getTo(), myBlockedConnections, TL, and WRITE_WARNING.

Referenced by NIImporter_SUMO::_loadNetwork(), NIVissimDisturbance::addToNode(), NIXMLConnectionsHandler::myStartElement(), and NIVissimConflictArea::setPriorityRegulation().

Here is the caller graph for this function:

◆ addTo()

void Named::addTo ( const StoringVisitor cont) const
inlineinherited

Adds this object to the given container.

Parameters
[in,filled]cont The container to add this item to

Definition at line 118 of file Named.h.

References Named::StoringVisitor::add().

◆ addTrafficLight()

void NBNode::addTrafficLight ( NBTrafficLightDefinition tlDef)

Adds a traffic light to the list of traffic lights that control this node.

Parameters
[in]tldThe traffic light that controls this node

Definition at line 396 of file NBNode.cpp.

References isTrafficLight(), myTrafficLights, myType, RAIL_CROSSING, RAIL_SIGNAL, and TRAFFIC_LIGHT.

Referenced by NBTrafficLightDefinition::addNode(), NBLoadedTLDef::addToSignalGroup(), and NIImporter_OpenDrive::getTLSSecure().

Here is the caller graph for this function:

◆ addWalkingAreaShape()

void NBNode::addWalkingAreaShape ( EdgeVector  edges,
const PositionVector shape,
double  width 
)

add custom shape for walkingArea

Definition at line 3743 of file NBNode.cpp.

References NBNode::WalkingAreaCustomShape::edges, myWalkingAreaCustomShapes, NBNode::WalkingAreaCustomShape::shape, and NBNode::WalkingAreaCustomShape::width.

Referenced by NIImporter_SUMO::_loadNetwork(), and NIXMLConnectionsHandler::addWalkingArea().

Here is the caller graph for this function:

◆ alreadyConnectedPaths()

bool NBNode::alreadyConnectedPaths ( const NBEdge e1,
const NBEdge e2,
double  dist 
) const

return true if the given pedestrian paths are connected at another junction within dist

Definition at line 3698 of file NBNode.cpp.

References NBEdge::getFinalLength(), NBEdge::getFromNode(), NBEdge::getPermissions(), NBEdge::getToNode(), and SVC_PEDESTRIAN.

Referenced by buildWalkingAreas().

Here is the caller graph for this function:

◆ areAttributesValid()

bool Parameterised::areAttributesValid ( const std::string &  value,
bool  report = false,
const std::string  kvsep = "=",
const std::string  sep = "|" 
)
staticinherited

check if given string can be parsed to an attributes map "key1=value1|key2=value2|...|keyN=valueN" (used in generic datas)

Definition at line 219 of file Parameterised.cpp.

References StringTokenizer::getVector(), Parameterised::isParameterValid(), TL, and WRITE_WARNINGF.

Referenced by GNEFrameAttributeModules::GenericDataAttributes::areAttributesValid(), GNEEdgeData::isValid(), GNEEdgeRelData::isValid(), and GNETAZRelData::isValid().

Here is the caller graph for this function:

◆ areParametersValid()

bool Parameterised::areParametersValid ( const std::string &  value,
bool  report = false,
const std::string  kvsep = "=",
const std::string  sep = "|" 
)
staticinherited

◆ avoidOverlap()

void NBNode::avoidOverlap ( )

fix overlap

Definition at line 3974 of file NBNode.cpp.

References NBEdge::getTurnDestination(), myIncomingEdges, and NBEdge::shiftPositionAtNode().

◆ bezierControlPoints()

PositionVector NBNode::bezierControlPoints ( const PositionVector begShape,
const PositionVector endShape,
bool  isTurnaround,
double  extrapolateBeg,
double  extrapolateEnd,
bool &  ok,
NBNode recordError = 0,
double  straightThresh = DEG2RAD(5),
int  shapeFlag = 0 
)
static

◆ bidiConflict()

bool NBNode::bidiConflict ( const NBEdge from,
const NBEdge::Connection con,
const NBEdge prohibitorFrom,
const NBEdge::Connection prohibitorCon,
bool  foes 
) const

whether the foe connections is oncoming on the same lane

Definition at line 2105 of file NBNode.cpp.

References NBRequest::bidiConflict(), foes(), and myRequest.

Referenced by NBEdge::buildInnerEdges().

Here is the caller graph for this function:

◆ brakeForCrossingOnExit()

bool NBNode::brakeForCrossingOnExit ( const NBEdge to) const

whether a connection to the given edge must brake for a crossing when leaving the intersection

Definition at line 2020 of file NBNode.cpp.

References myCrossings.

Referenced by NWWriter_SUMO::writeInternalConnections().

Here is the caller graph for this function:

◆ buildCrossingOutlines()

void NBNode::buildCrossingOutlines ( )

build crossing outlines after walkingareas are finished

Definition at line 3550 of file NBNode.cpp.

References PositionVector::append(), PositionVector::closePolygon(), cutAtShapes(), PositionVector::extrapolate(), getCrossings(), PositionVector::move2side(), myCrossings, myWalkingAreas, and PositionVector::reverse().

Referenced by buildCrossingsAndWalkingAreas().

Here is the caller graph for this function:

◆ buildCrossings()

int NBNode::buildCrossings ( )

build pedestrian crossings

Returns
The next index for creating internal lanes

Definition at line 2976 of file NBNode.cpp.

References BACKWARD, DEBUGCOND, DEBUGCOUT, PositionVector::extrapolate(), FORWARD, gDebugFlag1, OptionsCont::getFloat(), Named::getID(), OptionsCont::getOptions(), PositionVector::isNAN(), isTLControlled(), PositionVector::move2side(), myCrossings, myDiscardAllCrossings, NBHelpers::relAngle(), NBEdge::Lane::shape, SUMO_const_laneWidth, TL, toString(), NBEdge::UNSPECIFIED_WIDTH, NBEdge::Lane::width, and WRITE_WARNINGF.

Referenced by buildCrossingsAndWalkingAreas(), and GNENetHelper::AttributeCarriers::updateJunctionID().

Here is the caller graph for this function:

◆ buildCrossingsAndWalkingAreas()

void NBNode::buildCrossingsAndWalkingAreas ( )

build crossings, and walkingareas. Also removes invalid loaded crossings if wished

Definition at line 2869 of file NBNode.cpp.

References buildCrossingOutlines(), buildCrossings(), buildWalkingAreas(), Named::getID(), OptionsCont::getOptions(), myCrossings, myWalkingAreas, NBNode::WalkingArea::nextCrossings, NBNode::WalkingArea::nextSidewalks, NBNode::WalkingArea::prevCrossings, NBNode::WalkingArea::prevSidewalks, TL, toString(), and WRITE_WARNINGF.

Referenced by getWalkingArea(), and GNEJunction::rebuildGNECrossings().

Here is the caller graph for this function:

◆ buildInnerEdges()

double NBNode::buildInnerEdges ( )

build internal lanes, pedestrian crossings and walking areas

Definition at line 2952 of file NBNode.cpp.

References MAX2(), myDisplacementError, and myIncomingEdges.

◆ buildWalkingAreas()

void NBNode::buildWalkingAreas ( int  cornerDetail,
double  joinMinDist 
)

build pedestrian walking areas and set connections from/to walkingAreas

Parameters
[in]cornerDetailThe detail level when generating the inner curve

Definition at line 3092 of file NBNode.cpp.

References alreadyConnectedPaths(), PositionVector::angleAt2D(), GeomHelper::angleDiff(), PositionVector::append(), AVOID_INTERSECTING_LEFT_TURNS, AVOID_WIDE_LEFT_TURN, computeSmoothShape(), crossesFringe(), crossingBetween(), DEBUGCOND, DEBUGCOUT, Position::distanceTo2D(), NBNode::Crossing::edges, FOUR_CONTROL_POINTS, gDebugFlag1, getCrossings(), getEdgesSortedByAngleAtNodeCenter(), OptionsCont::getFloat(), NBEdge::getFromNode(), NBEdge::getID(), Named::getID(), NBEdge::getLanes(), NBEdge::getLaneShape(), OptionsCont::getOptions(), NBEdge::getSidewalkID(), PositionVector::getSubpartByIndex(), NBEdge::hasConnectionTo(), NBNode::WalkingArea::hasCustomShape, NBNode::Crossing::id, NBNode::WalkingArea::id, includes(), NBNode::WalkingArea::length, PositionVector::length2D(), MAX2(), MIN2(), NBNode::WalkingArea::minNextCrossingEdges, NBNode::WalkingArea::minPrevCrossingEdges, PositionVector::move2side(), myAllEdges, myIncomingEdges, myOutgoingEdges, myPoly, myWalkingAreaCustomShapes, myWalkingAreas, NBNode::WalkingArea::nextCrossings, NBNode::WalkingArea::nextSidewalks, NBNode::Crossing::nextWalkingArea, NBEdge::Lane::permissions, NBNode::WalkingArea::prevCrossings, NBNode::WalkingArea::prevSidewalks, NBNode::Crossing::prevWalkingArea, PositionVector::push_back_noDoublePos(), PositionVector::push_front_noDoublePos(), NBNode::WalkingArea::refEdges, PositionVector::reverse(), NBEdge::Lane::shape, NBNode::Crossing::shape, NBNode::WalkingArea::shape, SUMO_const_laneWidth, SVC_PEDESTRIAN, SVC_RAIL_CLASSES, TL, toString(), NBEdge::UNSPECIFIED_WIDTH, NBNode::Crossing::valid, NBEdge::Lane::width, NBNode::Crossing::width, NBNode::WalkingArea::width, and WRITE_WARNINGF.

Referenced by buildCrossingsAndWalkingAreas().

Here is the caller graph for this function:

◆ checkCrossing()

◆ checkCrossingDuplicated()

bool NBNode::checkCrossingDuplicated ( EdgeVector  edges)

return true if there already exist a crossing with the same edges as the input

Definition at line 2841 of file NBNode.cpp.

References myCrossings.

Referenced by GNECrossing::isValid(), and NIImporter_OpenStreetMap::load().

Here is the caller graph for this function:

◆ checkIsRemovable()

bool NBNode::checkIsRemovable ( ) const

check if node is removable

Definition at line 2486 of file NBNode.cpp.

References checkIsRemovableReporting().

Referenced by getEdgesToJoin(), NBNodeCont::removeUnwishedNodes(), and GNENet::replaceJunctionByGeometry().

Here is the caller graph for this function:

◆ checkIsRemovableReporting()

bool NBNode::checkIsRemovableReporting ( std::string &  reason) const

check if node is removable and return reason if not

Definition at line 2492 of file NBNode.cpp.

References getEdges(), NBEdge::getTurnDestination(), myCrossings, myIncomingEdges, myOutgoingEdges, myTrafficLights, myType, and RAIL_SIGNAL.

Referenced by checkIsRemovable(), and GNEJunction::getPopUpMenu().

Here is the caller graph for this function:

◆ clearParameter()

void Parameterised::clearParameter ( )
inherited

Clears the parameter map.

Definition at line 139 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by NLHandler::beginEdgeParsing(), and GNESingleParametersDialog::onCmdAccept().

Here is the caller graph for this function:

◆ computeInternalLaneShape()

PositionVector NBNode::computeInternalLaneShape ( const NBEdge fromE,
const NBEdge::Connection con,
int  numPoints,
NBNode recordError = 0,
int  shapeFlag = 0 
) const

Compute the shape for an internal lane.

Parameters
[in]fromEThe starting edge
[in]conThe connection for this internal lane
[in]numPointsThe number of geometry points for the internal lane
[in]recordErrorThe node itself if the displacement error during shape computation shall be recorded
Returns
The shape of the internal lane

Definition at line 793 of file NBNode.cpp.

References PositionVector::append(), AVOID_WIDE_LEFT_TURN, computeSmoothShape(), NBEdge::Connection::customShape, DEBUGCOND, displaceShapeAtWidthChange(), NBEdge::Lane::endOffset, NBEdge::Connection::fromLane, NBEdge::Connection::getDescription(), getDirection(), NBEdge::getEndOffset(), NBEdge::getID(), Named::getID(), NBEdge::getLaneShape(), NBEdge::getLaneStruct(), NBEdge::getLaneWidth(), NBEdge::getNodeBorder(), NBEdge::getNumLanes(), PositionVector::getOrthogonal(), PositionVector::getSubpart(), NBEdge::getTurnDestination(), INDIRECT_LEFT, NBEdge::Connection::indirectLeft, NBEdge::isBidiRail(), LEFT, PositionVector::length(), PositionVector::length2D(), PositionVector::reverse(), NBEdge::Lane::shape, NBEdge::startShapeAt(), TL, TLF, NBEdge::Connection::toEdge, NBEdge::Connection::toLane, TURN, and WRITE_WARNINGF.

Referenced by NBEdge::buildInnerEdges(), and NBEdge::haveIntersection().

Here is the caller graph for this function:

◆ computeKeepClear()

void NBNode::computeKeepClear ( )

◆ computeLanes2Lanes()

◆ computeLogic()

◆ computeLogic2()

void NBNode::computeLogic2 ( bool  checkLaneFoes)

compute right-of-way logic for all lane-to-lane connections

Definition at line 1052 of file NBNode.cpp.

References NBRequest::computeLogic(), and myRequest.

◆ computeNodeShape()

void NBNode::computeNodeShape ( double  mismatchThreshold)

Compute the junction shape for this node.

Parameters
[in]mismatchThresholdThe threshold for warning about shapes which are away from myPosition

Definition at line 1152 of file NBNode.cpp.

References PositionVector::around(), NBNodeShapeComputer::compute(), PositionVector::distance2D(), OptionsCont::getOptions(), NBNodeShapeComputer::getRadius(), myHaveCustomPoly, Named::myID, myIncomingEdges, myOutgoingEdges, myPoly, myPosition, myRadius, PositionVector::push_back_noDoublePos(), TL, UNSPECIFIED_RADIUS, and WRITE_WARNINGF.

Referenced by guessCrossings(), sortEdges(), and updateSurroundingGeometry().

Here is the caller graph for this function:

◆ computeSmoothShape()

PositionVector NBNode::computeSmoothShape ( const PositionVector begShape,
const PositionVector endShape,
int  numPoints,
bool  isTurnaround,
double  extrapolateBeg,
double  extrapolateEnd,
NBNode recordError = 0,
int  shapeFlag = 0 
) const

Compute a smooth curve between the given geometries.

Parameters
[in]begShapeThe geometry at the start
[in]endShapeThe geometry at the end
[in]numPointsThe number of geometry points for the internal lane
[in]isTurnaroundWhether this shall be the shape for a turnaround
[in]extrapolateBegExtrapolation distance at the beginning
[in]extrapolateEndExtrapolation distance at the end
[in]recordErrorThe node itself if the displacement error during shape computation shall be recorded
Returns
The shape of the internal lane

Definition at line 545 of file NBNode.cpp.

References PositionVector::bezier(), bezierControlPoints(), DEBUGCOND, DEG2RAD, Named::getID(), INDIRECT_LEFT, indirectLeftShape(), and PositionVector::smoothedZFront().

Referenced by buildWalkingAreas(), NBEdge::computeEdge2Edges(), computeInternalLaneShape(), NBNodeShapeComputer::getSmoothCorner(), and GNELane2laneConnection::updateLane2laneConnection().

Here is the caller graph for this function:

◆ crossesFringe()

bool NBNode::crossesFringe ( const NBEdge e1,
const NBEdge e2 
) const

return true if the given sidewalks are separated by a fringe road

Definition at line 3719 of file NBNode.cpp.

References DEFAULT, NBEdge::isTurningDirectionAt(), myFringeType, myIncomingEdges, and myOutgoingEdges.

Referenced by buildWalkingAreas().

Here is the caller graph for this function:

◆ crossingBetween()

bool NBNode::crossingBetween ( const NBEdge e1,
const NBEdge e2 
) const

return true if the given edges are connected by a crossing

Definition at line 3677 of file NBNode.cpp.

References getCrossings(), and myAllEdges.

Referenced by buildWalkingAreas().

Here is the caller graph for this function:

◆ cutAtShapes()

PositionVector NBNode::cutAtShapes ( const PositionVector cut,
const PositionVector border1,
const PositionVector border2,
const PositionVector def 
)
private

geometry helper that cuts the first shape where bordered by the other two

Definition at line 3604 of file NBNode.cpp.

References PositionVector::distance2D(), PositionVector::getSubpart(), PositionVector::intersectsAtLengths2D(), PositionVector::length2D(), VectorHelper< T >::maxValue(), VectorHelper< T >::minValue(), and PositionVector::nearest_offset_to_point2D().

Referenced by buildCrossingOutlines().

Here is the caller graph for this function:

◆ discardAllCrossings()

void NBNode::discardAllCrossings ( bool  rejectAll)

discard all current (and optionally future) crossings

Definition at line 2936 of file NBNode.cpp.

References myCrossings, and myDiscardAllCrossings.

◆ discardWalkingareas()

void NBNode::discardWalkingareas ( )

discard previously built walkingareas (required for repeated computation by netedit)

Definition at line 2946 of file NBNode.cpp.

References myWalkingAreas.

◆ displaceShapeAtWidthChange()

void NBNode::displaceShapeAtWidthChange ( const NBEdge from,
const NBEdge::Connection con,
PositionVector fromShape,
PositionVector toShape 
) const
private

displace lane shapes to account for change in lane width at this node

Definition at line 886 of file NBNode.cpp.

References NBEdge::Connection::fromLane, getDirection(), NBEdge::getLaneWidth(), NBEdge::getNumLanes(), NBEdge::getPermissions(), isConstantWidthTransition(), LEFT, PositionVector::move2side(), myIncomingEdges, myOutgoingEdges, PARTLEFT, SVC_BICYCLE, NBEdge::Connection::toEdge, NBEdge::Connection::toLane, and TURN.

Referenced by computeInternalLaneShape().

Here is the caller graph for this function:

◆ edgesBetween()

EdgeVector NBNode::edgesBetween ( const NBEdge e1,
const NBEdge e2 
) const

return all edges that lie clockwise between the given edges

Definition at line 3727 of file NBNode.cpp.

References myAllEdges, and NBContHelper::nextCW().

◆ foes()

bool NBNode::foes ( const NBEdge *const  from1,
const NBEdge *const  to1,
const NBEdge *const  from2,
const NBEdge *const  to2 
) const

Returns the information whether the given flows cross.

Parameters
[in]from1The starting edge of the first stream
[in]to1The ending edge of the first stream
[in]from2The starting edge of the second stream
[in]to2The ending edge of the second stream
Returns
Whether both stream are foes (cross)

Definition at line 2189 of file NBNode.cpp.

References NBRequest::foes(), and myRequest.

Referenced by bidiConflict(), NBEdge::buildInnerEdges(), NBTrafficLightDefinition::foes(), NBTrafficLightDefinition::forbids(), mergeConflict(), needsCont(), and tlsContConflict().

Here is the caller graph for this function:

◆ forbids()

bool NBNode::forbids ( const NBEdge *const  possProhibitorFrom,
const NBEdge *const  possProhibitorTo,
const NBEdge *const  possProhibitedFrom,
const NBEdge *const  possProhibitedTo,
bool  regardNonSignalisedLowerPriority 
) const

Returns the information whether "prohibited" flow must let "prohibitor" flow pass.

Parameters
[in]possProhibitedFromThe maybe prohibited connection's begin
[in]possProhibitedToThe maybe prohibited connection's end
[in]possProhibitorFromThe maybe prohibiting connection's begin
[in]possProhibitorToThe maybe prohibiting connection's end
[in]regardNonSignalisedLowerPriorityWhether the right of way rules without traffic lights shall be regarded
Returns
Whether the second flow prohibits the first one

Definition at line 2179 of file NBNode.cpp.

References NBRequest::forbids(), and myRequest.

Referenced by NBEdge::buildInnerEdges(), and NBTrafficLightDefinition::forbids().

Here is the caller graph for this function:

◆ forbidsPedestriansAfter()

bool NBNode::forbidsPedestriansAfter ( std::vector< std::pair< NBEdge *, bool > >  normalizedLanes,
int  startIndex 
)
private

return whether there is a non-sidewalk lane after the given index;

Definition at line 2858 of file NBNode.cpp.

Referenced by guessCrossings().

Here is the caller graph for this function:

◆ geometryLike() [1/2]

bool NBNode::geometryLike ( ) const

◆ geometryLike() [2/2]

bool NBNode::geometryLike ( const EdgeVector incoming,
const EdgeVector outgoing 
) const

◆ getCenter()

Position NBNode::getCenter ( ) const

Returns a position that is guaranteed to lie within the node shape.

Definition at line 3936 of file NBNode.cpp.

References PositionVector::around(), PositionVector::closePolygon(), PositionVector::distance2D(), PositionVector::getPolygonCenter(), myPoly, and myPosition.

Referenced by GNEJunction::calculateJunctioncontour(), and GNENetHelper::AttributeCarriers::isNetworkElementAroundShape().

Here is the caller graph for this function:

◆ getConnectionIndex()

int NBNode::getConnectionIndex ( const NBEdge from,
const NBEdge::Connection con 
) const

return the index of the given connection

Definition at line 3921 of file NBNode.cpp.

References NBEdge::Connection::fromLane, myIncomingEdges, NBEdge::Connection::toEdge, and NBEdge::Connection::toLane.

Referenced by GNEProhibitionFrame::buildProhibition(), GNELane::drawLinkNo(), hasConflict(), and NBRequest::mustBrake().

Here is the caller graph for this function:

◆ getConnectionTo()

NBEdge * NBNode::getConnectionTo ( NBNode n) const

get connection to certain node

Definition at line 2623 of file NBNode.cpp.

References myOutgoingEdges.

Referenced by NBEdgeCont::guessRoundabouts(), NIImporter_VISUM::parse_EdgePolys(), and NIImporter_VISUM::parse_Turns().

Here is the caller graph for this function:

◆ getControllingTLS()

const std::set<NBTrafficLightDefinition*>& NBNode::getControllingTLS ( ) const
inline

◆ getCrossing() [1/2]

NBNode::Crossing * NBNode::getCrossing ( const EdgeVector edges,
bool  hardFail = true 
) const

return the crossing with the given Edges

Definition at line 3849 of file NBNode.cpp.

References myCrossings, and TL.

◆ getCrossing() [2/2]

NBNode::Crossing * NBNode::getCrossing ( const std::string &  id) const

return the crossing with the given id

Definition at line 3838 of file NBNode.cpp.

References myCrossings, and TLF.

Referenced by GNECrossing::getNBCrossing(), GNEChange_Crossing::redo(), GNEChange_Crossing::undo(), and NWWriter_SUMO::writeNetwork().

Here is the caller graph for this function:

◆ getCrossings()

◆ getCrossingsIncludingInvalid()

const std::vector<std::unique_ptr<Crossing> >& NBNode::getCrossingsIncludingInvalid ( ) const
inline

Definition at line 742 of file NBNode.h.

References myCrossings.

Referenced by GNEJunction::rebuildGNECrossings().

Here is the caller graph for this function:

◆ getDirection()

LinkDirection NBNode::getDirection ( const NBEdge *const  incoming,
const NBEdge *const  outgoing,
bool  leftHand = false 
) const

Returns the representation of the described stream's direction.

Parameters
[in]incomingThe edge the stream starts at
[in]outgoingThe edge the stream ends at
[in]leftHandWhether a lefthand network is being built. Should only be set at writing time
Returns
The direction of the stream

Definition at line 2349 of file NBNode.cpp.

References NBEdge::getAngleAtNode(), NBEdge::getGeometry(), NBEdge::getJunctionPriority(), getNextCompatibleOutgoing(), NBEdge::getNumLanesThatAllow(), NBEdge::getPermissions(), isExplicitRailNoBidi(), isStraighter(), NBEdge::isTurningDirectionAt(), LEFT, myAllEdges, NODIR, NBHelpers::normRelAngle(), PARTLEFT, PARTRIGHT, RIGHT, STRAIGHT, SVC_PEDESTRIAN, TURN, and TURN_LEFTHAND.

Referenced by addedLanesRight(), NBEdge::addStraightConnections(), NBEdge::appendTurnaround(), NBEdge::applyTurnSigns(), NBEdge::buildInnerEdges(), NBTrafficLightDefinition::collectAllLinks(), computeInternalLaneShape(), computeLanes2Lanes(), NBOwnTLDef::computeLogicAndConts(), NBOwnTLDef::computeUnblockedWeightedStreamNumber(), displaceShapeAtWidthChange(), GNELane::drawArrows(), NBTrafficLightDefinition::forbids(), NBNodeShapeComputer::getDefaultRadius(), getLinkState(), NWWriter_SUMO::getOppositeInternalID(), NBOwnTLDef::hasStraightConnection(), NBRequest::indirectLeftTurnConflict(), NBEdge::MainDirections::MainDirections(), NBRequest::mergeConflict(), NBRequest::mustBrake(), NBRequest::mustBrakeForCrossing(), needsCont(), NBRequest::oppositeLeftTurnConflict(), NBOwnTLDef::patchNEMAStateForCrossings(), NBOwnTLDef::patchStateForCrossings(), recheckVClassConnections(), rightTurnConflict(), GNEConnection::setAttribute(), NBRequest::setBlocking(), NBEdgePriorityComputer::setPriorityJunctionPriorities(), GNENet::splitJunction(), NWWriter_SUMO::writeConnection(), NWWriter_SUMO::writeInternalConnections(), NWWriter_OpenDrive::writeInternalEdge(), and NWWriter_OpenDrive::writeSignals().

Here is the caller graph for this function:

◆ getDisplacementError()

double NBNode::getDisplacementError ( ) const
inline

compute the displacement error during s-curve computation

Definition at line 644 of file NBNode.h.

References myDisplacementError.

Referenced by NBNodeShapeComputer::computeNodeShapeDefault().

Here is the caller graph for this function:

◆ getDouble()

double Parameterised::getDouble ( const std::string &  key,
const double  defaultValue 
) const
inherited

◆ getDoubles()

std::vector< double > Parameterised::getDoubles ( const std::string &  key,
std::vector< double >  defaultValue = std::vector<double>() 
) const
inherited

Returns the value for a given key converted to a list of doubles.

Parameters
[in]keyThe key to ask for
[in]defaultValueThe default value to return if no value is stored under the key
Returns
The value stored under the key

Definition at line 118 of file Parameterised.cpp.

References StringTokenizer::getVector(), Parameterised::myMap, TL, StringUtils::toDouble(), WRITE_WARNING, and WRITE_WARNINGF.

Referenced by EnergyParams::EnergyParams().

Here is the caller graph for this function:

◆ getEdges()

◆ getEdgesSortedByAngleAtNodeCenter()

EdgeVector NBNode::getEdgesSortedByAngleAtNodeCenter ( ) const
private

returns the list of all edges sorted clockwise by getAngleAtNodeToCenter

Definition at line 3953 of file NBNode.cpp.

References DEBUGCOUT, gDebugFlag1, myAllEdges, and toString().

Referenced by buildWalkingAreas(), and guessCrossings().

Here is the caller graph for this function:

◆ getEdgesThatApproach()

void NBNode::getEdgesThatApproach ( NBEdge currentOutgoing,
EdgeVector approaching 
)
private

returns a list of edges which are connected to the given outgoing edge

Definition at line 1683 of file NBNode.cpp.

References myAllEdges, and NBContHelper::nextCW().

Referenced by computeLanes2Lanes().

Here is the caller graph for this function:

◆ getEdgesToJoin()

std::vector< std::pair< NBEdge *, NBEdge * > > NBNode::getEdgesToJoin ( ) const

get edges to join

Definition at line 2569 of file NBNode.cpp.

References checkIsRemovable(), NBEdge::getTurnDestination(), myIncomingEdges, and myOutgoingEdges.

Referenced by NBNodeCont::removeUnwishedNodes(), and GNENet::replaceJunctionByGeometry().

Here is the caller graph for this function:

◆ getEmptyDir()

Position NBNode::getEmptyDir ( ) const

Returns something like the most unused direction Should only be used to add source or sink nodes.

Definition at line 1956 of file NBNode.cpp.

References Position::add(), Position::mul(), myIncomingEdges, myOutgoingEdges, myPosition, Position::norm2D(), Position::sub(), Position::x(), and Position::y().

◆ getEndPoints()

std::vector< std::pair< Position, std::string > > NBNode::getEndPoints ( ) const

return list of unique endpoint coordinates of all edges at this node

Definition at line 4092 of file NBNode.cpp.

References Position::almostSame(), and myAllEdges.

Referenced by GNEJunction::getPopUpMenu(), and GNENet::splitJunction().

Here is the caller graph for this function:

◆ getFoes()

const std::string NBNode::getFoes ( int  linkIndex) const

get the 'foes' string (conflict bit set) of the right-of-way logic

Definition at line 1098 of file NBNode.cpp.

References NBRequest::getFoes(), and myRequest.

Referenced by GNEProhibitionFrame::buildProhibition().

Here is the caller graph for this function:

◆ getFringeType()

FringeType NBNode::getFringeType ( ) const
inline

Returns fringe type.

Definition at line 305 of file NBNode.h.

References myFringeType.

Referenced by NIImporter_SUMO::addJunction(), NBEdge::appendTurnaround(), GNEJunction::getAttribute(), NIXMLNodesHandler::processNodeType(), NWWriter_SUMO::writeJunction(), and NWWriter_XML::writeNodes().

Here is the caller graph for this function:

◆ getID()

const std::string& Named::getID ( ) const
inlineinherited

Returns the id.

Returns
The stored id

Definition at line 74 of file Named.h.

References Named::myID.

Referenced by MSLCM_LC2013::_patchSpeed(), MSLCM_SL2015::_patchSpeed(), MSCFModel_EIDM::_v(), MSCFModel_ACC::_v(), MSCFModel_IDM::_v(), MSCFModel_CACC::_v(), MSCFModel_Wiedemann::_v(), MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSTransportableControl::abortAnyWaitingForVehicle(), MSLaneChangerSublane::abortLCManeuver(), MSTransportable::abortStage(), MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToJunctionLeader(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaderDistance(), MSVehicle::adaptToLeaders(), MSVehicle::adaptToOncomingLeader(), MSVehicleTransfer::add(), MSPModel_JuPedSim::add(), MSPModel_Striping::add(), PCPolyContainer::add(), ShapeContainer::add(), MSDetectorControl::add(), NLTriggerBuilder::addAccess(), RORouteDef::addAlternative(), MSLane::addApproachingLane(), MSTractionSubstation::addChargeValueForOutput(), MSChargingStation::addChargeValueForOutput(), MSOverheadWire::addChargeValueForOutput(), NBNodeCont::addCluster2Join(), NLHandler::addConflict(), NLHandler::addConnection(), NBLoadedSUMOTLDef::addConnection(), MSPModel_Striping::addCrossingVehs(), RODFDetectorCon::addDetector(), NIXMLEdgesHandler::addEdge(), RONet::addEdge(), ROJTREdge::addFollowerProbability(), MSLane::addLeaders(), MSTLLogicControl::TLSLogicVariants::addLogic(), RONet::addNode(), MSLaneChangerSublane::addOutsideLeaders(), MSTractionSubstation::addOverheadWireClampToCircuit(), MSTractionSubstation::addOverheadWireInnerSegmentToCircuit(), MSTractionSubstation::addOverheadWireSegmentToCircuit(), MSTriggeredRerouter::addParkValues(), NIImporter_SUMO::addPhase(), GUIEdge::addRerouter(), MSDevice_Taxi::addReservation(), MSDispatch::addReservation(), MSRouteHandler::addRideOrTransport(), RONet::addRouteDef(), NIXMLEdgesHandler::addSplit(), NBTrafficLightLogic::addStep(), MSRouteHandler::addStop(), RORouteHandler::addStop(), ROVehicle::addStop(), MSBaseVehicle::addStop(), MSNet::addStoppingPlace(), MSRouteHandler::addTranship(), MSVehicle::addTransportable(), AGActivityTripWriter::addTrip(), NIXMLConnectionsHandler::addWalkingArea(), MSBaseVehicle::allowsBoarding(), MSTransportable::appendStage(), LIBSUMO_NAMESPACE::Person::appendWalkingStage(), MSCFModel::applyHeadwayAndSpeedDifferencePerceptionErrors(), MSCFModel::applyHeadwayPerceptionError(), libsumo::Helper::applySubscriptionFilterLanes(), libsumo::Helper::applySubscriptionFilterLateralDistance(), libsumo::Helper::applySubscriptionFilterLateralDistanceSinglePass(), libsumo::Helper::applySubscriptionFilters(), libsumo::Helper::applySubscriptionFilterTurn(), MSLaneChanger::avoidDeadlock(), MSDevice_ToC::awarenessRecoveryStep(), GUITrafficLightLogicWrapper::begin2TrackPhases(), MSPModel_Striping::blockedAtDist(), MSLink::blockedAtTime(), MSLink::blockedByFoe(), MSVehicle::boardTransportables(), MSVehicle::brakeForOverlap(), NIVisumTL::build(), LIBSUMO_NAMESPACE::TrafficLight::buildConstraint(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildCountSensorForLane(), MSSOTLE2Sensors::buildCountSensorForOutLane(), buildCrossings(), buildCrossingsAndWalkingAreas(), MSTransportableDevice_Routing::buildDevices(), MSTransportableDevice_BTreceiver::buildDevices(), MSTransportableDevice_BTsender::buildDevices(), MSTransportableDevice_FCD::buildDevices(), MSTransportableDevice_FCDReplay::buildDevices(), NIImporter_VISUM::buildDistrictNode(), MSRailSignal::LinkInfo::buildDriveWay(), NLDetectorBuilder::buildE2Detector(), RODFNet::buildEdgeFlowMap(), NLDetectorBuilder::buildInductLoop(), NBEdge::buildInnerEdges(), NLTriggerBuilder::buildInnerOverheadWireSegments(), GNETLSEditorFrame::buildInternalLanes(), NIVissimEdge::buildNBEdge(), NGEdge::buildNBEdge(), NBOwnTLDef::buildNemaPhases(), NBRampsComputer::buildOffRamp(), NBRampsComputer::buildOnRamp(), MSPModel_JuPedSim::buildPedestrianNetwork(), MSRailSignal::DriveWay::buildRoute(), MELoop::buildSegmentsFor(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), libsumo::Helper::buildStopParameters(), MSDevice_Bluelight::buildVehicleDevices(), MSVehicleDevice_BTreceiver::buildVehicleDevices(), MSVehicleDevice_BTsender::buildVehicleDevices(), MSDevice_DriverState::buildVehicleDevices(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice_FCD::buildVehicleDevices(), MSDevice_FCDReplay::buildVehicleDevices(), MSDevice_Friction::buildVehicleDevices(), MSDevice_GLOSA::buildVehicleDevices(), MSDevice_Routing::buildVehicleDevices(), MSDevice_SSM::buildVehicleDevices(), MSDevice_Taxi::buildVehicleDevices(), MSDevice_ToC::buildVehicleDevices(), MSDevice_Tripinfo::buildVehicleDevices(), MSDevice_Transportable::buildVehicleDevices(), MSDevice_Vehroutes::buildVehicleDevices(), MSDevice_Battery::buildVehicleDevices(), buildWalkingAreas(), MSBaseVehicle::calculateArrivalParams(), MSSwarmTrafficLightLogic::calculateEtaDiff(), MSSwarmTrafficLightLogic::calculateEtaRatio(), NEMALogic::calculateInitialPhases170(), MSE2Collector::calculateTimeLossAndTimeOnDetector(), MSStageDriving::canLeaveVehicle(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), MSLCHelper::canSaveBlockerLength(), MSLaneChanger::change(), MSLaneChangerSublane::change(), MSLCM_SL2015::changed(), MSLaneChanger::changeOpposite(), MELoop::changeSegment(), MSActuatedTrafficLightLogic::changeStepAndDuration(), MSSimpleTrafficLightLogic::changeStepAndDuration(), LIBSUMO_NAMESPACE::Vehicle::changeTarget(), MSCFModel_CC::changeWholePlatoonLane(), MSTLLogicControl::check2Switch(), MSEdge::checkAndRegisterBiDirEdge(), MSLaneChanger::checkChange(), MSLaneChanger::checkChangeOpposite(), MSLaneChangerSublane::checkChangeOpposite(), MSLaneChangerSublane::checkChangeSublane(), NBEdgeCont::checkConsistency(), MSRailSignal::DriveWay::checkCrossingFlanks(), MSDevice_ToC::checkDynamicToC(), MSLane::checkFailure(), MSRailSignal::DriveWay::checkFlanks(), MSLane::checkForPedestrians(), MSVehicleTransfer::checkInsertions(), MSVehicle::checkLinkLeader(), MSE2Collector::checkPositioning(), MSRoute::checkRemoval(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), MEVehicle::checkStop(), MSLCM_SL2015::checkStrategicChange(), MSAbstractLaneChangeModel::checkTraCICommands(), MSLaneChanger::checkTraCICommands(), MSLink::checkWalkingAreaFoe(), MSSwarmTrafficLightLogic::choosePolicy(), MSDevice_SSM::classifyEncounter(), ShapeContainer::clearHighlights(), NBTrafficLightLogic::closeBuilding(), ODDistrictHandler::closeDistrict(), NLHandler::closeEdge(), MSDevice_SSM::closeEncounter(), RORouteHandler::closeRouteDistribution(), MSRouteHandler::closeVehicle(), RORouteHandler::closeVehicle(), NBTrafficLightDefinition::collectAllLinks(), NBTrafficLightDefinition::collectEdges(), NBLoadedSUMOTLDef::collectEdgeVectors(), NBLoadedTLDef::collectLinks(), MSLCM_SL2015::commitManoeuvre(), IntermodalRouter< E, L, N, V >::compute(), NBTrafficLightDefinition::compute(), ROJTRRouter::compute(), MSVehicle::computeAngle(), MSDispatch::computeDetourTime(), NBNodeShapeComputer::computeEdgeBoundaries(), MSVehicle::computeFurtherLanes(), MSDevice_SSM::computeGlobalMeasures(), computeInternalLaneShape(), computeLanes2Lanes(), computeLogic(), NBOwnTLDef::computeLogicAndConts(), NBNodeShapeComputer::computeNodeShapeDefault(), NBNodeShapeComputer::computeNodeShapeSmall(), NBNodeTypeComputer::computeNodeTypes(), NBRampsComputer::computeRamps(), RODFNet::computeRoutesFor(), MSLaneChanger::computeSafeOppositeLength(), NBTrafficLightLogicCont::computeSingleLogic(), computeSmoothShape(), MSLCM_LC2013::computeSpeedLat(), MSLCM_SL2015::computeSpeedLat(), MSDevice_SSM::computeSSMs(), MSLaneChanger::computeSurplusGap(), NBTurningDirectionsComputer::computeTurnDirectionsForNode(), MSVehicle::Manoeuvre::configureEntryManoeuvre(), MSVehicle::Manoeuvre::configureExitManoeuvre(), MSRailSignal::DriveWay::conflictLaneOccupied(), NGNet::connect(), MSRailSignal::constraintsAllow(), NEMALogic::constructTimingAndPhaseDefs(), MSLaneChanger::continueChange(), MSLaneChangerSublane::continueChangeSublane(), libsumo::Helper::convertCartesianToRoadMap(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), NBLoadedSUMOTLDef::copyIndices(), NBOwnTLDef::correctConflicting(), NBOwnTLDef::corridorLike(), MSSOTLWaveTrafficLightLogic::countVehicles(), MSSOTLE2Sensors::countVehicles(), MSDevice_SSM::createEncounters(), GNETLSEditorFrame::TLSDefinition::createTLS(), GUINet::createTLWrapper(), MSDevice_Taxi::customerArrived(), NBNodeCont::customTLID(), MSDevice_ToC::deactivateDeliberateLCs(), MSRailSignal::DriveWay::deadlockLaneOccupied(), libsumo::Helper::debugPrint(), MSLCM_SL2015::decideDirection(), MSActuatedTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decideNextPhase(), MSSOTLPolicyBasedTrafficLightLogic::decideNextPhase(), MSSwarmTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decidePolicy(), MSSwarmTrafficLightLogic::decidePolicy(), MSVehicleControl::deleteVehicle(), MSDevice_ElecHybrid::deleteVehicleFromCircuit(), MSLane::detectCollisionBetween(), MSLane::detectCollisions(), MSE3Collector::detectorUpdate(), MSLane::detectPedestrianJunctionCollision(), NIVissimDistrictConnection::dict_BuildDistrictNodes(), NIVissimDistrictConnection::dict_BuildDistricts(), MSEdge::dictionaryHint(), NBNodeCont::discardTrafficLights(), MSDispatch_Greedy::dispatch(), MSDispatch_GreedyShared::dispatch(), MSDispatch_RouteExtension::dispatch(), MSDevice_Taxi::dispatchShared(), GUILane::drawGL(), MSDevice_SSM::Encounter::Encounter(), MSAbstractLaneChangeModel::endLaneChangeManeuver(), MSE3Collector::enter(), NEMAPhase::enter(), MSParkingArea::enter(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::enterLaneAtMove(), MSVehicle::Manoeuvre::entryManoeuvreIsComplete(), MSTransportableControl::erase(), NEMALogic::error_handle_not_set(), METriggeredCalibrator::execute(), Command_SaveTLSProgram::execute(), Command_SaveTLSState::execute(), Command_SaveTLSSwitches::execute(), Command_SaveTLSSwitchStates::execute(), Command_RouteReplacement::execute(), MSDevice_BTreceiver::BTreceiverUpdate::execute(), MSVTypeProbe::execute(), MSPModel_Striping::MovePedestrians::execute(), MSCalibrator::execute(), MSPModel_JuPedSim::execute(), MSVehicle::executeFractionalMove(), MSVehicle::executeMove(), MSLane::executeMovements(), NBNodeCont::extract(), NBTrafficLightLogicCont::extract(), MSDevice_SSM::filterByConflictType(), LIBSUMO_NAMESPACE::Person::filterReservation(), NBLoadedSUMOTLDef::finalChecks(), MSCFModel::finalizeSpeed(), MSCFModel_Daniel1::finalizeSpeed(), MSCFModel_EIDM::finalizeSpeed(), MSLaneChanger::findCandidate(), MSDevice_StationFinder::findChargingStation(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), MSRailSignal::DriveWay::findFlankProtection(), MSDevice_SSM::findFoeConflictLane(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::flushConflicts(), MSDevice_SSM::flushGlobalMeasures(), MSCFModel_CACC::followSpeed(), MSCFModel_EIDM::followSpeed(), MSCFModel_W99::followSpeed(), NBTrafficLightDefinition::forbids(), MSLaneChanger::foundHilltop(), MSCFModel_EIDM::freeSpeed(), NBNodeCont::generateNodeClusters(), MSDevice_StationFinder::generateOutput(), MSDevice_Tripinfo::generateOutput(), MSStopOut::generateOutputForUnfinished(), GUITrafficLightLogicWrapper::getActiveTLLogic(), RODFDetectorCon::getAggFlowFor(), RODFDetectorCon::getAnyDetectorForEdge(), MSPModel_Striping::getArbitraryPath(), MSVehicle::getBackPosition(), MSVehicle::getBackPositionOnLane(), LIBSUMO_NAMESPACE::Vehicle::getBestLanes(), MSLaneChanger::getBestLanesOpposite(), NBOwnTLDef::getBestPair(), MSDevice::getBoolParam(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), MSVehicle::getCenterOnEdge(), MSDevice_Battery::getChargingStationID(), MSRailSignal::getClickableTLLinkID(), LIBSUMO_NAMESPACE::Simulation::getCollisions(), GUIVehicle::getColorValue(), MSLaneChanger::getColumnleader(), MSActuatedTrafficLightLogic::getConditions(), LIBSUMO_NAMESPACE::TrafficLight::getConstraintsByFoe(), LIBSUMO_NAMESPACE::TrafficLight::getControlledLinks(), MSLane::getCriticalLeader(), MSCalibrator::getCurrentStateInterval(), NBNodeShapeComputer::getDefaultRadius(), MSLink::getDescription(), MSStop::getDescription(), NBTrafficLightDefinition::getDescription(), MSStageTrip::getDestinationDescription(), GUIPerson::getDestinationEdgeID(), GUIPerson::getDestinationStopID(), MSDevice_SSM::getDetectionRange(), RODFNet::getDetectorEdge(), MSActuatedTrafficLightLogic::getDetectorPriority(), MSRailSignal::LinkInfo::getDriveWay(), MSSimpleTrafficLightLogic::getEarliest(), GUIPerson::getEdgeID(), GUIMEVehicle::getEdgeID(), MSMeanData::getEdgeID(), LIBSUMO_NAMESPACE::RouteProbe::getEdgeID(), MSDevice_SSM::getExtraTime(), MSLane::getFirstVehicleInformation(), MSDevice::getFloatParam(), MSBaseVehicle::getFlowID(), MSLane::getFollower(), MSLane::getFollowersOnConsecutive(), GUIPerson::getFromEdgeID(), NBEdge::getID(), LIBSUMO_NAMESPACE::Vehicle::getJunctionFoes(), MSRailSignal::getJunctionLinkID(), LIBSUMO_NAMESPACE::Calibrator::getLaneID(), NEMALogic::getLaneInfoFromNEMAState(), MSParkingArea::getLastFreePos(), MSParkingArea::getLastFreePosWithReservation(), MSLane::getLastVehicleInformation(), MSSimpleTrafficLightLogic::getLatest(), MSVehicle::getLatOffset(), MSLane::getLeader(), MSLink::getLeaderInfo(), MSLane::getLeaderOnConsecutive(), MSLaneChangerSublane::getLeaders(), MSLane::getLeadersOnConsecutive(), MSLink::getLengthBeforeCrossing(), MSDevice_BTsender::getLocation(), MSDevice_SSM::getMDRAC_PRT(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForInputLanes(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForOutputLanes(), MSDevice_SSM::getMeasuresAndThresholds(), NIImporter_VISUM::getNamedEdgeContinuating(), MSPModel_Striping::getNeighboringObstacles(), MSCalibrator::getNewVehicleID(), MSPerson::getNextEdge(), MSPModel_Striping::getNextLane(), MSPModel_Striping::getNextLaneObstacles(), LIBSUMO_NAMESPACE::Vehicle::getNextLinks(), MSLaneChanger::getOncomingOppositeVehicle(), MSLane::getOppositeFollower(), MSLane::getOppositeLeader(), MSStageTrip::getOriginDescription(), MSDevice_SSM::getOutputFilename(), MSDevice_ElecHybrid::getOverheadWireSegmentID(), MSOverheadWire::getOverheadWireSegmentName(), MSDevice_StationFinder::getParameter(), MSDevice_ToC::getParameter(), MSActuatedTrafficLightLogic::getParameter(), NEMALogic::getParameter(), LIBSUMO_NAMESPACE::Simulation::getParameter(), GUITrafficLightLogicWrapper::getParameterWindow(), GUIContainer::getParameterWindow(), GUILane::getParameterWindow(), GUILane::getParentName(), MSLane::getPartialBehind(), MSSimpleDriverState::getPerceivedHeadway(), MSSimpleDriverState::getPerceivedSpeedDifference(), MSSOTLTrafficLightLogic::getPhaseIndexWithMaxCTS(), MSSwarmTrafficLightLogic::getPheromoneForInputLanes(), MSSwarmTrafficLightLogic::getPheromoneForOutputLanes(), PolygonDynamics::getPolygonID(), GUITrafficLightLogicWrapper::getPopUpMenu(), NLTriggerBuilder::getPosition(), NLDetectorBuilder::getPositionChecking(), MSBaseVehicle::getPrefixedParameter(), MSCFModel_CC::getRadarMeasurements(), MSLaneChanger::getRealFollower(), MSLaneChanger::getRealLeader(), LIBSUMO_NAMESPACE::Vehicle::getRoadID(), MSLCHelper::getRoundaboutDistBonus(), LIBSUMO_NAMESPACE::Vehicle::getRouteID(), LIBSUMO_NAMESPACE::Calibrator::getRouteProbeID(), MSBaseVehicle::getRouteValidity(), GUIBaseVehicle::getScaleValue(), MSAbstractLaneChangeModel::getShadowLane(), MSBaseVehicle::getSingularType(), MSTransportable::getSingularType(), LIBSUMO_NAMESPACE::Person::getStage(), MSStageDriving::getStageSummary(), MSStageTranship::getStageSummary(), MSStageWaiting::getStageSummary(), MSStageWalking::getStageSummary(), MSDevice_Taxi::getStopLane(), MSNet::getStoppingPlaceID(), MSDevice::getStringParam(), MSLane::getSurroundingVehicles(), MSActuatedTrafficLightLogic::getTarget(), LIBSUMO_NAMESPACE::Vehicle::getTeleportingIDList(), MSDevice::getTimeParam(), MSRailSignal::getTLLinkID(), NIImporter_OpenDrive::getTLSSecure(), MSDevice_ElecHybrid::getTractionSubstationID(), PedestrianEdge< E, L, N, V >::getTravelTime(), MSVehicle::getUpcomingLanesUntil(), MSLane::getUpcomingLinks(), MSDevice_SSM::getUpstreamVehicles(), LIBSUMO_NAMESPACE::Person::getVehicle(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), GUIPerson::getVehicleID(), MSPModel_Striping::getVehicleObstacles(), MSDevice_SSM::getVehiclesOnJunction(), MSRailSignalConstraint::getVehID(), MSStageDriving::getWaitingDescription(), MSEdge::getWaitingVehicle(), MSLink::getZipperSpeed(), GNEEdge::GNEEdge(), guessCrossings(), RODFDetectorCon::guessEmptyFlows(), NBNodeCont::guessTLs(), GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow(), MSLane::handleCollisionBetween(), MSLane::handleIntermodalCollisionBetween(), MSRailSignal::hasInsertionConstraint(), MSRailSignal::hasOncomingRailTraffic(), MSBaseVehicle::hasValidRouteStart(), MSVehicle::hasValidRouteStart(), MSBaseVehicle::haveValidStopEdges(), LIBSUMO_NAMESPACE::POI::highlight(), LIBSUMO_NAMESPACE::Vehicle::highlight(), MSIdling_Stop::idle(), MSIdling_RandomCircling::idle(), MSIdling_TaxiStand::idle(), MSLink::ignoreFoe(), MSVehicle::ignoreFoe(), MSVehicle::ignoreRed(), MSVehicle::Influencer::implicitDeltaPosRemote(), indirectLeftShape(), MSLCM_LC2013::inform(), MSLCM_SL2015::inform(), MSLCM_SL2015::informFollower(), MSLCM_LC2013::informFollower(), MSLCM_SL2015::informLeader(), MSLCM_LC2013::informLeader(), MSCalibrator::init(), NBEdge::init(), MSDelayBasedTrafficLightLogic::init(), MSDeterministicHiLevelTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), MSTrafficLightLogic::init(), MSActuatedTrafficLightLogic::init(), MSRailSignal::init(), NEMALogic::init(), MSActuatedTrafficLightLogic::initAttributeOverride(), MSE2Collector::initAuxiliaries(), MESegment::initialise(), MSPModel_JuPedSim::initialize(), MSTrafficLightLogic::initMesoTLSPenalties(), NBOwnTLDef::initNeedsContRelation(), PolygonDynamics::initTrackedPosition(), NIImporter_SUMO::initTrafficLightLogic(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), NBDistrictCont::insert(), NBNodeCont::insert(), NBTrafficLightLogicCont::insert(), NIImporter_OpenStreetMap::insertEdge(), MSCFModel_IDM::insertionFollowSpeed(), MSBaseVehicle::insertStop(), MSLane::insertVehicle(), MSEdge::insertVehicle(), MSPModel_Striping::insertWalkArePaths(), MSLane::integrateNewVehicles(), IntermodalNetwork< E, L, N, V >::IntermodalNetwork(), GNEJunction::invalidateTLS(), invalidateTLS(), MSTLLogicControl::isActive(), MSPedestrianPushButton::isActiveForEdge(), MSPedestrianPushButton::isActiveOnAnySideOfTheRoad(), RODFNet::isAllowed(), RODFNet::isDestination(), RODFNet::isFalseSource(), MSLane::isInsertionSuccess(), MSBaseVehicle::isJumping(), MSVehicle::isLeader(), MESegment::isOpen(), MSCFModel_CC::isPlatoonLaneChangeSafe(), RODFNet::isSource(), NIImporter_VISUM::isSplitEdge(), MSSOTLTrafficLightLogic::isThresholdPassed(), RORoute::isValid(), MSStageDriving::isWaitingFor(), MESegment::jamThresholdForSpeed(), NBNodeCont::joinNodeCluster(), NBNodeCont::joinSameJunctions(), MSVehicle::joinTrainPartFront(), MSAbstractLaneChangeModel::laneChangeOutput(), MSVehicle::lateralDistanceToLane(), MSE3Collector::leave(), MSE3Collector::leaveFront(), MSVehicle::leaveLane(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), MSPedestrianPushButton::loadCrossingEdgeMap(), NIImporter_OpenDrive::loadNetwork(), MSPedestrianPushButton::loadPushButtons(), MSVehicle::loadState(), MSVehicleTransfer::loadState(), MSActuatedTrafficLightLogic::loadState(), ODDistrictCont::makeDistricts(), MSE2Collector::makeMoveNotification(), MSE2Collector::makeVehicleInfo(), NWWriter_OpenDrive::mapmatchRoadObjects(), MEVehicle::mayProceed(), MSSOTLE2Sensors::meanVehiclesSpeed(), METriggeredCalibrator::METriggeredCalibrator(), MSDevice_FCDReplay::move(), MSTransportableDevice_FCDReplay::move(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), MSPModel_Striping::PState::moveTo(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), MSDevice_ToC::MRMExecutionStep(), MSChargingStation::MSChargingStation(), MSDevice_Battery::MSDevice_Battery(), MSDevice_ElecHybrid::MSDevice_ElecHybrid(), MSDevice_StationFinder::MSDevice_StationFinder(), MSDevice_Taxi::MSDevice_Taxi(), MSDevice_ToC::MSDevice_ToC(), MSE2Collector::MSE2Collector(), MSLCM_LC2013::MSLCM_LC2013(), MSParkingArea::MSParkingArea(), MSSimpleDriverState::MSSimpleDriverState(), MSLCM_SL2015::mustOvertakeStopped(), NBLoadedTLDef::myCompute(), NIImporter_SUMO::myEndElement(), MSStateHandler::myStartElement(), MSCalibrator::myStartElement(), MSLaneSpeedTrigger::myStartElement(), MSTriggeredRerouter::myStartElement(), MSPModel_Striping::nextBlocking(), MSLane::AnyVehicleIterator::nextIsMyVehicles(), MSDevice_ElecHybrid::notifyEnter(), MSE2Collector::notifyEnter(), MSDevice_Bluelight::notifyEnter(), MSDevice_BTreceiver::notifyEnter(), MSDevice_BTsender::notifyEnter(), MSDevice_Example::notifyEnter(), MSDevice_GLOSA::notifyEnter(), MSDevice_SSM::notifyEnter(), MSDevice_Tripinfo::notifyEnter(), MSMeanData::MeanDataValues::notifyEnter(), MSMeanData::MeanDataValueTracker::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), MSCalibrator::VehicleRemover::notifyEnter(), MSE3Collector::MSE3EntryReminder::notifyEnter(), MSE3Collector::MSE3LeaveReminder::notifyEnter(), MSDevice_ElecHybrid::notifyLeave(), MSDevice_Bluelight::notifyLeave(), MSDevice_BTreceiver::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_Example::notifyLeave(), MSDevice_SSM::notifyLeave(), MSDevice_Transportable::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSE2Collector::notifyLeave(), MSE3Collector::MSE3EntryReminder::notifyLeave(), MSE3Collector::MSE3LeaveReminder::notifyLeave(), MSDevice_ElecHybrid::notifyMove(), MSDevice_Battery::notifyMove(), MSDevice_Bluelight::notifyMove(), MSDevice_BTreceiver::notifyMove(), MSDevice_BTsender::notifyMove(), MSDevice_Example::notifyMove(), MSDevice_GLOSA::notifyMove(), MSDevice_SSM::notifyMove(), MSDevice_StationFinder::notifyMove(), MSE2Collector::notifyMove(), MSInductLoop::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSDevice_ToC::notifyMove(), MSE3Collector::MSE3LeaveReminder::notifyMove(), MSE3Collector::MSE3EntryReminder::notifyMove(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), GNETLSEditorFrame::TLSDefinition::onCmdResetCurrentProgram(), MSVehicle::onRemovalFromNet(), MSLink::opened(), RORouteHandler::openRoute(), MSLane::incoming_lane_priority_sorter::operator()(), MSLane::outgoing_lane_priority_sorter::operator()(), MSEdge::transportable_by_position_sorter::operator()(), NBNetBuilder::by_id_sorter::operator()(), NBNode::nodes_by_id_sorter::operator()(), RODFNet::idComp::operator()(), MSLaneChangerSublane::outputLCStarted(), NIImporter_VISUM::parse_Connectors_legacy(), NIImporter_VISUM::parse_EdgePolys(), NIImporter_VISUM::parse_Lanes(), NIImporter_VISUM::parse_stopPoints(), NIImporter_VISUM::parse_Turns(), NLTriggerBuilder::parseAndBuildCalibrator(), NLTriggerBuilder::parseAndBuildOverheadWireSection(), MSRouteHandler::parseWalkPositions(), NBLoadedSUMOTLDef::patchIfCrossingsAdded(), MSLCM_LC2013::patchSpeed(), MSLCM_SL2015::patchSpeed(), MSRoutingEngine::patchSpeedForTurns(), NBLoadedTLDef::SignalGroup::patchTYellow(), MSCFModel_CC::performAutoLaneChange(), MSVehicle::planMove(), MSVehicle::planMoveInternal(), MSLane::planMovements(), PolygonDynamics::PolygonDynamics(), MSInternalJunction::postloadInit(), MSRightOfWayJunction::postloadInit(), MSVehicle::Influencer::postProcessRemoteControl(), MSLCM_SL2015::prepareStep(), MSDevice_Taxi::prepareStop(), MSLCM_SL2015::preventSliding(), MSAbstractLaneChangeModel::primaryLaneChanged(), AGStreet::print(), MSStageDriving::proceed(), MSDevice_SSM::processEncounters(), MSVehicle::processLaneAdvances(), MSVehicle::processLinkApproaches(), MSVehicle::processNextStop(), NIXMLNodesHandler::processNodeType(), TraCIServerAPI_Vehicle::processSet(), MSVehicle::processTraCISpeedControl(), NIXMLNodesHandler::processTrafficLightDefinitions(), MSDelayBasedTrafficLightLogic::proposeProlongation(), NBNodeCont::pruneClusterFringe(), NBNodeCont::pruneSlipLaneNodes(), MSPModel_Striping::PState::PState(), NBTrafficLightDefinition::railSignalUncontrolled(), MSDevice_Battery::readParameterValue(), MSOffTrafficLightLogic::rebuildPhase(), NBEdge::recheckLanes(), NBEdgeCont::recheckPostProcessConnections(), NIImporter_OpenStreetMap::reconstructLayerElevation(), NBLoadedSUMOTLDef::reconstructLogic(), NBEdge::reduceGeometry(), MSNet::registerCollision(), MSRailSignalControl::registerProtectedDriveway(), MSLink::removeApproaching(), LIBSUMO_NAMESPACE::TrafficLight::removeConstraints(), MSVehicle::removePassedDriveItems(), MSCalibrator::removePending(), MSDispatch::removeReservation(), GNEJunction::removeTLSConnections(), NBNodeCont::rename(), NBTrafficLightLogicCont::rename(), RORouteDef::repairCurrentRoute(), GNEJunction::replaceIncomingConnections(), MSBaseVehicle::replaceParkingArea(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::replaceRouteEdges(), MSBaseVehicle::replaceStop(), MSTransportable::replaceVehicleType(), NIImporter_DlrNavteq::TrafficlightsHandler::report(), NLEdgeControlBuilder::reportCurrentEdgeOrLane(), MSDevice_SSM::requestsTrajectories(), MSDevice_ToC::requestToC(), MSPerson::reroute(), MSBaseVehicle::reroute(), MSRailSignal::LinkInfo::reroute(), GUIVehicle::rerouteDRTStop(), MSTriggeredRerouter::rerouteParkingArea(), MSVehicle::rerouteParkingArea(), MSTransportable::rerouteParkingArea(), MSDevice_StationFinder::rerouteToChargingStation(), MSDevice_ToC::resetDeliberateLCs(), MSLane::resetManeuverReservation(), MSLane::resetPartialOccupation(), MSDevice_Bluelight::resetVehicle(), MSLaneChanger::resolveDeadlock(), LIBSUMO_NAMESPACE::Vehicle::resume(), MEVehicle::resumeFromStopping(), MSVehicle::resumeFromStopping(), MSRailSignal::retrieveDriveWay(), NIImporter_OpenDrive::retrieveSignalEdges(), RODFNet::revalidateFlows(), NBRailwayTopologyAnalyzer::reverseEdges(), MSStageDriving::routeOutput(), MSStageTranship::routeOutput(), MSStageTrip::routeOutput(), MSStageWaiting::routeOutput(), MSStageWalking::routeOutput(), MSLane::safeInsertionSpeed(), RONet::saveAndRemoveRoutesUntil(), ROPerson::Ride::saveAsXML(), ROVehicle::saveAsXML(), MSLCM_LC2013::saveBlockerLength(), MSLane::saveState(), MSTransportable::saveState(), MESegment::saveState(), MSDevice::saveState(), MSDevice_Battery::saveState(), MSDevice_Routing::saveState(), MSDevice_Transportable::saveState(), MSDevice_Tripinfo::saveState(), MSDevice_Vehroutes::saveState(), MSTransportableDevice_Routing::saveState(), MSSimpleTrafficLightLogic::saveState(), MSStageDriving::saveState(), MSCalibrator::scheduleRemoval(), GUIVehicle::selectBlockingFoes(), MSE2Collector::selectLanes(), MSVehicle::setAngle(), MSLink::setApproaching(), MSVehicle::setApproachingForAllLinks(), MSStageTrip::setArrived(), NBNodeCont::setAsTLControlled(), MSSimpleDriverState::setAwareness(), MSLane::setBidiLane(), MSEdge::setBidiLanes(), NLEdgeControlBuilder::setDefaultStopOffset(), MSBaseVehicle::setDepartAndArrivalEdge(), MSCalibrator::setFlow(), NBEdge::setGeometry(), MSBaseVehicle::setJunctionModelParameter(), MSTransportable::setJunctionModelParameter(), MSAbstractLaneChangeModel::setManeuverDist(), MSLane::setManeuverReservation(), MSDevice_Battery::setMaximumBatteryCapacity(), NBEdge::setNodeBorder(), MSLane::setOpposite(), MSLCM_SL2015::setOwnState(), MSDevice_ToC::setParameter(), MSActuatedTrafficLightLogic::setParameter(), MSSimpleTrafficLightLogic::setParameter(), NEMALogic::setParameter(), MSCFModel_CACC::setParameter(), MSCFModel_CC::setParameter(), MSLane::setPartialOccupation(), NBEdgePriorityComputer::setPriorityJunctionPriorities(), libsumo::Helper::setRemoteControlled(), MSLink::setRequestInformation(), LIBSUMO_NAMESPACE::Vehicle::setRoute(), LIBSUMO_NAMESPACE::Vehicle::setRouteID(), MSDevice_Battery::setStoppingThreshold(), NBLoadedSUMOTLDef::setTLControllingInformation(), NBLoadedTLDef::setTLControllingInformation(), NBOwnTLDef::setTLControllingInformation(), NBTrafficLightLogicCont::setTLControllingInformation(), MSStageDriving::setVehicle(), MSOverheadWire::setVoltage(), NBEdge::shiftPositionAtNode(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSVehicle::slowDownForSchedule(), MSLane::sortManeuverReservations(), IntermodalNetwork< E, L, N, V >::splitEdge(), MSDispatch_TraCI::splitReservation(), MSLaneChangerSublane::startChangeSublane(), MSStopOut::stopEnded(), MSCFModel_EIDM::stopSpeed(), MSStopOut::stopStarted(), MSLane::succLinkSec(), LIBSUMO_NAMESPACE::TrafficLight::swapConstraints(), MSDevice_ToC::switchHolderType(), GNETLSEditorFrame::TLSDefinition::switchProgram(), GUITrafficLightLogicWrapper::switchTLSLogic(), MSDevice_StationFinder::teleportToChargingStation(), MELoop::teleportVehicle(), MSDevice_ToC::ToCPreparationStep(), libsumo::Helper::TransportableStateListener::transportableStateChanged(), TraCIServer::transportableStateChanged(), MSDevice_ToC::triggerDownwardToC(), MSDevice_ToC::triggerMRM(), MSTriggeredRerouter::triggerRouting(), MSDevice_ToC::triggerUpwardToC(), MSTransportable::tripInfoOutput(), MSPerson::MSPersonStage_Access::tripInfoOutput(), METriggeredCalibrator::tryEmit(), MSPModel_JuPedSim::tryPedestrianInsertion(), MSSOTLTrafficLightLogic::trySwitch(), MSActuatedTrafficLightLogic::trySwitch(), NEMALogic::trySwitch(), MSDevice_SSM::update(), MSSimpleDriverState::update(), PolygonDynamics::update(), MSDevice_SSM::updateAndWriteOutput(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), MSLCM_SL2015::updateCFRelated(), LIBSUMO_NAMESPACE::TrafficLight::updateConstraints(), MSSOTLTrafficLightLogic::updateCTS(), NLEdgeControlBuilder::updateCurrentLaneStopOffset(), MSVehicle::updateDriveItems(), MSRailSignal::updateDriveway(), MSDevice_SSM::updateEncounter(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), MSVehicle::updateFurtherLanes(), MSLCM_SL2015::updateGaps(), GNENetHelper::AttributeCarriers::updateJunctionID(), MSDevice_Taxi::updateMove(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSVehicle::Influencer::updateRemoteControlRoute(), MSDispatch::updateReservationFromPos(), MSSwarmTrafficLightLogic::updateSensitivities(), MSAbstractLaneChangeModel::updateShadowLane(), MSVehicle::updateState(), MSAbstractLaneChangeModel::updateTargetLane(), MSDevice_BTreceiver::BTreceiverUpdate::updateVisibility(), MSDevice_SSM::useGeoCoords(), NEMALogic::validate_timing(), NBNodeTypeComputer::validateRailCrossings(), libsumo::Helper::VehicleStateListener::vehicleStateChanged(), TraCIServer::vehicleStateChanged(), MSDynamicShapeUpdater::vehicleStateChanged(), MSLCM_LC2013::wantsChange(), MSLCM_SL2015::wantsChange(), MSLCM_SL2015::wantsChangeSublane(), MSInstantInductLoop::write(), NBParking::write(), MSElecHybridExport::write(), MSFCDExport::write(), MSBatteryExport::write(), MSEmissionExport::write(), MSRailSignalConstraint_Predecessor::write(), MSElecHybridExport::writeAggregated(), MSLink::writeApproaching(), MSRailSignal::writeBlocks(), NWWriter_DlrNavteq::writeConnectedLanes(), NWWriter_SUMO::writeDistrict(), MSMeanData::writeEdge(), NWWriter_SUMO::writeEdge(), MSFullExport::writeEdge(), MSXMLRawOut::writeEdge(), MSRoute::writeEdgeIDs(), NWWriter_XML::writeEdgesAndConnections(), RODFDetector::writeEmitterDefinition(), RODFDetectorCon::writeEmitterPOIs(), RODFDetectorCon::writeEmitters(), RODFDetectorCon::writeEndRerouterDetectors(), NWWriter_OpenDrive::writeInternalEdge(), ROMAAssignments::writeInterval(), NWWriter_SUMO::writeJunction(), MSFullExport::writeLane(), MSQueueExport::writeLane(), MSXMLRawOut::writeLane(), MSDevice_SSM::writeLanesPositions(), NWWriter_DlrNavteq::writeLinksUnsplitted(), NWWriter_OpenDrive::writeNetwork(), NWWriter_XML::writeNodes(), NWWriter_DlrNavteq::writeNodesUnsplitted(), MSTractionSubstation::writeOut(), MSDevice_ToC::writeOutput(), MSNet::writeOutput(), MSDevice_Vehroutes::writeOutput(), MSOverheadWire::writeOverheadWireSegmentOutput(), MSDevice_SSM::writePositions(), NWWriter_OpenDrive::writeRoadObjectPOI(), NWWriter_OpenDrive::writeRoadObjectPoly(), NWWriter_SUMO::writeRoundabout(), NWWriter_OpenDrive::writeSignals(), RODFDetectorCon::writeSpeedTrigger(), NWWriter_SUMO::writeTrafficLight(), NWWriter_DlrNavteq::writeTrafficSignals(), MSFCDExport::writeTransportable(), MSXMLRawOut::writeTransportable(), RODFDetectorCon::writeValidationDetectors(), MSXMLRawOut::writeVehicle(), MSAmitranTrajectories::writeVehicle(), MSFullExport::writeVehicles(), SUMOPolygon::writeXML(), PointOfInterest::writeXML(), MSE2Collector::writeXMLOutput(), MSInductLoop::writeXMLOutput(), MSCalibrator::writeXMLOutput(), MSRouteProbe::writeXMLOutput(), MSLaneChanger::yieldToDeadlockOncoming(), MSLaneChanger::yieldToOppositeWaiting(), MSCalibrator::~MSCalibrator(), MSDevice_Transportable::~MSDevice_Transportable(), MSLaneSpeedTrigger::~MSLaneSpeedTrigger(), MSTriggeredRerouter::~MSTriggeredRerouter(), and RONet::~RONet().

◆ getIDSecure()

template<class T >
static std::string Named::getIDSecure ( const T *  obj,
const std::string &  fallBack = "NULL" 
)
inlinestaticinherited

get an identifier for Named-like object which may be Null

Definition at line 67 of file Named.h.

Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLaneChanger::avoidDeadlock(), MSLaneChanger::changeOpposite(), MSLaneChanger::checkChangeOpposite(), MSRailSignal::DriveWay::checkFlanks(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), AStarRouter< E, V >::compute(), DijkstraRouter< E, V >::compute(), NBOwnTLDef::computeLogicAndConts(), MSRailSignal::DriveWay::conflictLaneOccupied(), NBPTLineCont::constructRoute(), MSLaneChanger::continueChange(), MSLane::detectCollisions(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::executeMove(), NBRailwayTopologyAnalyzer::extendDirectionPriority(), MSRailSignal::DriveWay::findProtection(), NBPTLineCont::findWay(), MSCFModel_CACC::followSpeed(), MSCFModel_W99::followSpeed(), MSStopOut::generateOutputForUnfinished(), MSVehicle::getBackPositionOnLane(), NBOwnTLDef::getBestCombination(), NBOwnTLDef::getBestPair(), MSVehicle::getCenterOnEdge(), MSLaneChanger::getColumnleader(), NBEdge::Connection::getDescription(), MSLane::getFollowersOnConsecutive(), GUIVehicle::getLaneID(), LIBSUMO_NAMESPACE::Person::getLaneID(), MSVehicle::getLatOffset(), MSLane::getLeaderOnConsecutive(), MSLaneChanger::getOncomingOppositeVehicle(), MSLaneChanger::getRealLeader(), GUIVehicle::getShadowLaneID(), GUIVehicle::getTargetLaneID(), MSDevice_SSM::getVehiclesOnJunction(), NBEdgeCont::guessRoundabouts(), MSCFModel_IDM::insertionFollowSpeed(), MSLane::isInsertionSuccess(), MESegment::isOpen(), joinNamedToString(), joinNamedToStringSorting(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), libsumo::Helper::moveToXYMap_matchingRoutePosition(), MSDevice_Bluelight::notifyEnter(), MSDevice_Bluelight::notifyLeave(), MSVehicle::Influencer::postProcessRemoteControl(), MSVehicle::processNextStop(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::reroute(), MSTriggeredRerouter::rerouteParkingArea(), MSRailSignal::DriveWay::reserve(), MSLaneChanger::resolveDeadlock(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLaneChangerSublane::startChangeSublane(), MSLeaderInfo::toString(), MSLeaderDistanceInfo::toString(), MSCriticalFollowerDistanceInfo::toString(), toString(), MSTriggeredRerouter::triggerRouting(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), MSAbstractLaneChangeModel::updateShadowLane(), MSPModel_Striping::PState::walk(), and MSLaneChanger::yieldToDeadlockOncoming().

◆ getIncomingEdges()

const EdgeVector& NBNode::getIncomingEdges ( ) const
inline

Returns this node's incoming edges (The edges which yield in this node)

Definition at line 268 of file NBNode.h.

References myIncomingEdges.

Referenced by NBRailwayTopologyAnalyzer::addBidiEdge(), addedLanesRight(), NBEdge::addLane(), NBEdge::addRestrictedLane(), NBEdge::appendTurnaround(), NIImporter_OpenStreetMap::RelationHandler::applyRestriction(), NBEdge::buildInnerEdges(), NBRampsComputer::buildOffRamp(), NBRampsComputer::buildOnRamp(), NBNodeShapeComputer::compute(), NBRampsComputer::computeRamps(), NBTurningDirectionsComputer::computeTurnDirectionsForNode(), NBEdge::debugPrintConnections(), NBEdge::deleteLane(), NBNodeCont::generateNodeClusters(), NBNodeCont::geometryLikeForClass(), NBNodeShapeComputer::getDefaultRadius(), NBTurningDirectionsComputer::getFarAngleAtNode(), NBEdge::getIncomingEdges(), NIImporter_VISUM::getNamedEdgeContinuating(), NBRampsComputer::getOffRampEdges(), NBRampsComputer::getOnRampEdges(), GNEJunction::getPopUpMenu(), NBRailwayTopologyAnalyzer::getRailEdges(), NBEdge::getStraightPredecessor(), NBRailwaySignalGuesser::guessByStops(), NBNodeCont::guessTLs(), NBEdge::init(), isLongEnough(), NBNodeTypeComputer::isRailwayNode(), NBNodeCont::joinNodeCluster(), NBEdgeCont::joinTramEdges(), NIImporter_OpenStreetMap::load(), GNEJunction::markAsModified(), NBEdgePriorityComputer::markBestParallel(), NBEdgeCont::markRoundabouts(), NBRampsComputer::mayNeedOffRamp(), NBRampsComputer::mayNeedOnRamp(), GNENet::mergeJunctions(), NBContHelper::node_with_incoming_finder::operator()(), NIImporter_VISUM::parse_Connectors(), NIImporter_VISUM::parse_Connectors_legacy(), NIImporter_VISUM::parse_Lanes(), NBNodeCont::pruneClusterFringe(), NBNodeCont::pruneLongEdges(), NBNodeCont::pruneSlipLaneNodes(), NBEdge::recheckLanes(), NBNodeCont::removeComponents(), GNEJunction::removeConnectionsTo(), NBNodeCont::removeIsolatedRoads(), NBNodeCont::removeRailComponents(), NBEdge::restoreRestrictedLane(), NBEdgeCont::retrievePossiblySplit(), GNEJunction::setLogicValid(), GNEEdge::smoothShape(), NGNet::toNB(), NBNodeTypeComputer::validateRailCrossings(), NWWriter_DlrNavteq::writeConnectedLanes(), NWWriter_SUMO::writeInternalConnections(), NWWriter_SUMO::writeInternalEdges(), NWWriter_SUMO::writeInternalNodes(), NWWriter_SUMO::writeJunction(), NWWriter_DlrNavteq::writeProhibitedManoeuvres(), NWWriter_DlrNavteq::writeTrafficSignals(), and zipperConflict().

◆ getKeepClear()

bool NBNode::getKeepClear ( ) const
inline

Returns the keepClear flag.

Definition at line 295 of file NBNode.h.

References myKeepClear.

Referenced by NWWriter_XML::writeNodes().

Here is the caller graph for this function:

◆ getLinkState()

LinkState NBNode::getLinkState ( const NBEdge incoming,
const NBEdge outgoing,
int  fromLane,
int  toLane,
bool  mayDefinitelyPass,
const std::string &  tlID 
) const

◆ getName()

const std::string& NBNode::getName ( ) const
inline

Returns intersection name.

Definition at line 310 of file NBNode.h.

References myName.

Referenced by GNEJunction::drawJunctionName(), GNEJunction::getAttribute(), NWWriter_SUMO::writeJunction(), and NWWriter_XML::writeNodes().

Here is the caller graph for this function:

◆ getNextCompatibleOutgoing()

NBEdge * NBNode::getNextCompatibleOutgoing ( const NBEdge incoming,
SVCPermissions  vehPerm,
EdgeVector::const_iterator  start,
bool  clockwise 
) const
private

Definition at line 2277 of file NBNode.cpp.

References NBEdge::isTurningDirectionAt(), myAllEdges, NBContHelper::nextCCW(), and NBContHelper::nextCW().

Referenced by getDirection().

Here is the caller graph for this function:

◆ getOppositeIncoming()

NBEdge * NBNode::getOppositeIncoming ( NBEdge e) const

returns the opposite incoming edge of certain edge

Definition at line 1859 of file NBNode.cpp.

References NBEdge::getToNode(), and myIncomingEdges.

Referenced by NBNodeTypeComputer::computeNodeTypes().

Here is the caller graph for this function:

◆ getOutgoingEdges()

const EdgeVector& NBNode::getOutgoingEdges ( ) const
inline

Returns this node's outgoing edges (The edges which start at this node)

Definition at line 273 of file NBNode.h.

References myOutgoingEdges.

Referenced by addedLanesRight(), NBEdge::appendTurnaround(), NIImporter_OpenStreetMap::RelationHandler::applyRestriction(), NBRampsComputer::buildOffRamp(), NBRampsComputer::buildOnRamp(), NBNodeShapeComputer::compute(), NBEdge::computeEdge2Edges(), NBEdge::computeLaneShapes(), NBRampsComputer::computeRamps(), NBTurningDirectionsComputer::computeTurnDirectionsForNode(), GNENet::createEdge(), NBNodeCont::discardTrafficLights(), NBEdgeCont::extractRoundabouts(), NBNodeCont::geometryLikeForClass(), NBEdge::getConnectedSorted(), NBNodeShapeComputer::getDefaultRadius(), NIImporter_VISUM::getEdge(), NBTurningDirectionsComputer::getFarAngleAtNode(), NIImporter_VISUM::getNamedEdgeContinuating(), NBRampsComputer::getOffRampEdges(), NBRampsComputer::getOnRampEdges(), GNEJunction::getPopUpMenu(), NBRailwayTopologyAnalyzer::getRailEdges(), NBPTStopCont::getReverseEdge(), NBEdge::getStraightContinuation(), NBNodeCont::guessTLs(), GNEConnectorFrame::initTargets(), isLongEnough(), NBEdge::isRailDeadEnd(), NBNodeCont::joinNodeCluster(), NBEdgeCont::joinTramEdges(), NIImporter_OpenStreetMap::load(), NBEdge::markAsInLane2LaneState(), NBRampsComputer::mayNeedOffRamp(), NBRampsComputer::mayNeedOnRamp(), GNENet::mergeJunctions(), NBContHelper::node_with_outgoing_finder::operator()(), NIImporter_VISUM::parse_Connectors(), NIImporter_VISUM::parse_Connectors_legacy(), NIImporter_VISUM::parse_Lanes(), NBEdgeCont::processSplits(), NBNodeCont::pruneClusterFringe(), NBNodeCont::pruneLongEdges(), NBNodeCont::pruneSlipLaneNodes(), NBEdge::recheckLanes(), NBNodeCont::removeComponents(), NBNodeCont::removeIsolatedRoads(), NBNodeCont::removeRailComponents(), NBEdgeCont::retrievePossiblySplit(), GNEEdge::smoothShape(), NBNodeTypeComputer::validateRailCrossings(), NWWriter_XML::writeEdgesAndConnections(), and NWWriter_DlrNavteq::writeProhibitedManoeuvres().

◆ getParameter()

const std::string Parameterised::getParameter ( const std::string &  key,
const std::string  defaultValue = "" 
) const
virtualinherited

Returns the value for a given key.

Parameters
[in]keyThe key to ask for
[in]defaultValueThe default value to return if no value is stored under the key
Returns
The value stored under the key

Reimplemented in NEMALogic, MSSimpleTrafficLightLogic, and MSActuatedTrafficLightLogic.

Definition at line 90 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by MSPModel_JuPedSim::add(), NBRailwayTopologyAnalyzer::addBidiEdge(), NBEdge::addRestrictedLane(), FareModul::addStop(), GUIInductLoop::buildDetectorGUIRepresentation(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), ROEdge::cacheParamRestrictions(), SUMOVTypeParameter::cacheParamRestrictions(), MSVehicleType::check(), MSRailSignal::constraintsAllow(), GUINet::createTLWrapper(), GNEEdge::drawEdgeName(), GNEConnection::drawEdgeValues(), GNEGenericData::drawFilteredAttribute(), GUIEdge::drawGL(), EnergyParams::EnergyParams(), MSDevice_SSM::filterByConflictType(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), GUIVehicle::getColorValue(), GNEEdgeData::getColorValue(), GNEEdgeRelData::getColorValue(), GNETAZRelData::getColorValue(), GNELane::getColorValue(), GUIEdge::getColorValue(), GUILane::getColorValue(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), LIBSUMO_NAMESPACE::TrafficLight::getFutureTripIds(), MSTLLogicControl::WAUTSwitchProcedure::getGSPTime(), RORoutable::getMaxSpeed(), MSDevice_SSM::getMDRAC_PRT(), MSDevice_SSM::getMeasuresAndThresholds(), MSSOTLRequestPolicy::getMinDecisionalPhaseDuration(), GUIBaseVehicle::getOptionalName(), GUITrafficLightLogicWrapper::getOptionalName(), MSDevice_ToC::getOutputFilename(), MSDevice_SSM::getOutputFilename(), MSSimpleTrafficLightLogic::getParameter(), NEMALogic::getParameter(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSBaseVehicle::getPrefixedParameter(), GUIBaseVehicle::getScaleValue(), LIBSUMO_NAMESPACE::Vehicle::getStopParameter(), MSDevice::getStringParam(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), MSRailSignalConstraint::getVehID(), MSTriggeredRerouter::getWeight(), MSRailSignal::hasInsertionConstraint(), MSLink::ignoreFoe(), MSSOTLPhasePolicy::init(), MSStageDriving::init(), PushButtonLogic::init(), SigmoidLogic::init(), SUMOVTypeParameter::initRailVisualizationParameters(), NIImporter_OpenStreetMap::insertNodeChecking(), MSAbstractLaneChangeModel::laneChangeOutput(), NWWriter_OpenDrive::mapmatchRoadObjects(), Parameterised::mergeParameters(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), MSSOTLPolicy::MSSOTLPolicy(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), MSDevice_GLOSA::notifyEnter(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), GNEVType::overwriteVType(), NWWriter_OpenDrive::parseTrafficSign(), NBTrafficLightDefinition::railSignalUncontrolled(), MSDevice_Battery::readParameterValue(), MSDevice_SSM::requestsTrajectories(), MSDevice_Bluelight::resetVehicle(), GNEEdgeData::setColor(), GNEEdgeRelData::setColor(), NBTrafficLightLogicCont::setOpenDriveSignalParameters(), NBEdge::setOrigID(), MSVehicle::slowDownForSchedule(), NBEdgeCont::splitAt(), LIBSUMO_NAMESPACE::TrafficLight::swapParameters(), LIBSUMO_NAMESPACE::TrafficLight::updateConstraints(), MSDevice_SSM::useGeoCoords(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::WAUTSwitchProcedure_Stretch(), MSDevice_SSM::writeLanesPositions(), NWWriter_DlrNavteq::writeLinksUnsplitted(), MSDevice_SSM::writePositions(), NWWriter_OpenDrive::writeRoadObjectPOI(), NWWriter_OpenDrive::writeRoadObjectPoly(), NWWriter_OpenDrive::writeRoadObjects(), and NWWriter_OpenDrive::writeSignals().

◆ getParametersMap()

const Parameterised::Map & Parameterised::getParametersMap ( ) const
inherited

Returns the inner key/value map.

Definition at line 145 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by NIImporter_SUMO::_loadNetwork(), addCrossing(), NBEdge::addLane(), NBEdge::append(), LIBSUMO_NAMESPACE::TrafficLight::buildConstraint(), GUIParameterTableWindow::closeBuilding(), NLHandler::closeEdge(), NBTrafficLightDefinition::compute(), GNEGenericData::drawAttribute(), GNEGenericData::drawFilteredAttribute(), NLDetectorBuilder::endE3Detector(), GNEAccess::getACParametersMap(), GNECalibrator::getACParametersMap(), GNEDetector::getACParametersMap(), GNEMultiEntryExitDetector::getACParametersMap(), GNEOverheadWire::getACParametersMap(), GNEParkingSpace::getACParametersMap(), GNERerouter::getACParametersMap(), GNERouteProbe::getACParametersMap(), GNEStoppingPlace::getACParametersMap(), GNETAZ::getACParametersMap(), GNEVaporizer::getACParametersMap(), GNEVariableSpeedSign::getACParametersMap(), GNEDataInterval::getACParametersMap(), GNEDataSet::getACParametersMap(), GNEGenericData::getACParametersMap(), GNEContainer::getACParametersMap(), GNEPerson::getACParametersMap(), GNEPersonTrip::getACParametersMap(), GNERide::getACParametersMap(), GNERoute::getACParametersMap(), GNEStop::getACParametersMap(), GNEStopPlan::getACParametersMap(), GNETranship::getACParametersMap(), GNETransport::getACParametersMap(), GNEVehicle::getACParametersMap(), GNEVType::getACParametersMap(), GNEWalk::getACParametersMap(), GNEConnection::getACParametersMap(), GNECrossing::getACParametersMap(), GNEEdge::getACParametersMap(), GNEEdgeType::getACParametersMap(), GNEJunction::getACParametersMap(), GNELane::getACParametersMap(), GNELaneType::getACParametersMap(), GNEPOI::getACParametersMap(), GNEPoly::getACParametersMap(), MSRailSignalConstraint_Predecessor::getDescription(), NWWriter_OpenDrive::getDividerType(), GUILane::getParameterWindow(), GNESingleParametersDialog::GNESingleParametersDialog(), MSRailCrossing::init(), MSActuatedTrafficLightLogic::init(), MSDevice_Taxi::initDispatch(), MSPModel_JuPedSim::initialize(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), GNEEdgeData::isGenericDataVisible(), GNEEdgeRelData::isGenericDataVisible(), GNETAZRelData::isGenericDataVisible(), GNEGenericData::isVisibleInspectDeleteSelect(), NBEdge::NBEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), NBTrafficLightLogic::NBTrafficLightLogic(), GUIParameterTableWindow::numParams(), GNESingleParametersDialog::onCmdReset(), GNEVType::overwriteVType(), TraCIServerAPI_TrafficLight::processGet(), Parameterised::setParameters(), LIBSUMO_NAMESPACE::TrafficLight::swapConstraints(), GNEEdgeData::writeGenericData(), GNEEdgeRelData::writeGenericData(), and GNETAZRelData::writeGenericData().

◆ getParametersStr()

std::string Parameterised::getParametersStr ( const std::string  kvsep = "=",
const std::string  sep = "|" 
) const
inherited

Returns the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN".

Definition at line 151 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by GNEAccess::getAttribute(), GNEBusStop::getAttribute(), GNECalibrator::getAttribute(), GNECalibratorFlow::getAttribute(), GNEChargingStation::getAttribute(), GNEContainerStop::getAttribute(), GNEEntryExitDetector::getAttribute(), GNEInductionLoopDetector::getAttribute(), GNEInstantInductionLoopDetector::getAttribute(), GNELaneAreaDetector::getAttribute(), GNEMultiEntryExitDetector::getAttribute(), GNEOverheadWire::getAttribute(), GNEParkingArea::getAttribute(), GNEParkingSpace::getAttribute(), GNERerouter::getAttribute(), GNERouteProbe::getAttribute(), GNETAZ::getAttribute(), GNETAZSourceSink::getAttribute(), GNETractionSubstation::getAttribute(), GNEVaporizer::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEEdgeData::getAttribute(), GNEEdgeRelData::getAttribute(), GNETAZRelData::getAttribute(), GNEContainer::getAttribute(), GNEPerson::getAttribute(), GNERoute::getAttribute(), GNEStop::getAttribute(), GNEVehicle::getAttribute(), GNEVType::getAttribute(), GNEConnection::getAttribute(), GNEEdge::getAttribute(), GNEEdgeType::getAttribute(), GNEJunction::getAttribute(), GNELane::getAttribute(), GNELaneType::getAttribute(), GNEPOI::getAttribute(), and GNEPoly::getAttribute().

Here is the caller graph for this function:

◆ getPassengerEdges()

EdgeVector NBNode::getPassengerEdges ( bool  incoming) const
private

return edges that permit passengers (either incoming or outgoing)

Definition at line 2338 of file NBNode.cpp.

References myIncomingEdges, myOutgoingEdges, and SVC_PASSENGER.

Referenced by NBNodeCont::isSlipLaneContinuation(), NBNodeCont::maybeSlipLaneEnd(), and NBNodeCont::maybeSlipLaneStart().

Here is the caller graph for this function:

◆ getPosition()

const Position& NBNode::getPosition ( ) const
inline

Definition at line 260 of file NBNode.h.

References myPosition.

Referenced by NIImporter_SUMO::_loadNetwork(), NIXMLEdgesHandler::addLane(), NIXMLNodesHandler::addNode(), NIXMLEdgesHandler::addSplit(), NIVissimEdge::buildNBEdge(), NGEdge::buildNBEdge(), NBEdge::computeAngle(), NBEdge::computeEdgeShape(), NBNodeShapeComputer::computeNodeShapeDefault(), NBNodeShapeComputer::computeNodeShapeSmall(), NBNodeCont::discardRailSignals(), NBNodeCont::discardTrafficLights(), NBHelpers::distance(), GNEJunction::drawElevation(), GNEEdge::drawEndGeometryPoint(), GNEJunction::drawJunctionAsBubble(), GNEJunction::drawJunctionName(), GNEEdge::drawStartGeometryPoint(), GNEViewNet::drawTemporalE1TLSLines(), GNEViewNet::drawTemporalJunctionTLSLines(), GNEJunction::drawTLSIcon(), GNEEdge::editEndpoint(), NBEdge::extendGeometryAtNode(), NBNodeCont::extract(), NBNodeCont::generateNodeClusters(), GNEJunction::getAttribute(), GNEJunction::getColorValue(), NWWriter_DlrNavteq::getGraphLength(), GNEJunction::getMoveOperation(), GNEJunction::getPositionInView(), NBNodeShapeComputer::getSmoothCorner(), NBRailwaySignalGuesser::guessByStops(), NBNodeCont::guessTLs(), NBEdge::hasDefaultGeometryEndpointAtNode(), NBEdge::hasDefaultGeometryEndpoints(), NBEdge::init(), NBNodeCont::insert(), NBNodeCont::joinNodeCluster(), NIImporter_MATSim::EdgesHandler::myStartElement(), NBContHelper::relative_outgoing_edge_sorter::operator()(), NBContHelper::relative_incoming_edge_sorter::operator()(), NBNodeCont::paretoCheck(), NBNodeCont::pruneClusterFringe(), NIImporter_OpenStreetMap::reconstructLayerElevation(), GNENetHelper::AttributeCarriers::registerJunction(), NIVissimEdge::remapOneOfNodes(), GNEEdge::removeGeometryPoint(), GNENet::replaceJunctionByGeometry(), NIImporter_DlrNavteq::EdgesHandler::report(), NIImporter_DlrNavteq::TrafficlightsHandler::report(), GNEEdge::resetEndpoint(), NBNodeCont::retrieve(), GNEEdge::setAttribute(), GNEJunction::setAttribute(), GNEJunction::setMoveShape(), NBEdge::shiftPositionAtNode(), NBNodeCont::shortestEdge(), NBEdgeCont::splitAt(), NBEdge::startShapeAt(), GNEEdge::straightenElevation(), NIXMLEdgesHandler::tryGetShape(), GNEJunction::updateCenteringBoundary(), GNEEdge::updateJunctionPosition(), NWWriter_SUMO::writeJunction(), NWWriter_XML::writeNodes(), NWWriter_DlrNavteq::writeNodesUnsplitted(), and NWWriter_DlrNavteq::writeTrafficSignals().

◆ getPossiblySplittedIncoming()

NBEdge * NBNode::getPossiblySplittedIncoming ( const std::string &  edgeid)

get possibly splitted incoming edge

Definition at line 1894 of file NBNode.cpp.

References NBEdge::getID(), and myIncomingEdges.

Referenced by NIVissimDisturbance::getConnection().

Here is the caller graph for this function:

◆ getPossiblySplittedOutgoing()

NBEdge * NBNode::getPossiblySplittedOutgoing ( const std::string &  edgeid)

get possibly splitted outgoing edge

Definition at line 1907 of file NBNode.cpp.

References NBEdge::getID(), and myOutgoingEdges.

Referenced by NIVissimDisturbance::getConnection().

Here is the caller graph for this function:

◆ getProhibitions()

const NBConnectionProhibits& NBNode::getProhibitions ( )
inline

get prohibitions (BLocked connections)

Definition at line 705 of file NBNode.h.

References myBlockedConnections.

◆ getRadius()

double NBNode::getRadius ( ) const
inline

Returns the turning radius of this node.

Definition at line 290 of file NBNode.h.

References myRadius.

Referenced by NBNodeShapeComputer::computeNodeShapeDefault(), GNENet::createRoundabout(), GNEJunction::getAttribute(), GNEJunction::getPopUpMenu(), NWWriter_SUMO::writeJunction(), and NWWriter_XML::writeNodes().

Here is the caller graph for this function:

◆ getReduction()

void NBNode::getReduction ( const NBEdge in,
const NBEdge out,
int &  inOffset,
int &  outOffset,
int &  reduction 
) const
private

get the reduction in driving lanes at this junction

Definition at line 1611 of file NBNode.cpp.

References FORWARD, NBEdge::getFirstNonPedestrianNonBicycleLaneIndex(), NBEdge::getNumLanes(), and MAX2().

Referenced by addedLanesRight(), and computeLanes2Lanes().

Here is the caller graph for this function:

◆ getResponse()

const std::string NBNode::getResponse ( int  linkIndex) const

get the 'response' string (right-of-way bit set) of the right-of-way logic

Definition at line 1108 of file NBNode.cpp.

References NBRequest::getResponse(), and myRequest.

Referenced by GNEProhibitionFrame::buildProhibition().

Here is the caller graph for this function:

◆ getRightOfWay()

RightOfWay NBNode::getRightOfWay ( ) const
inline

Returns hint on how to compute right of way.

Definition at line 300 of file NBNode.h.

References myRightOfWay.

Referenced by NIImporter_SUMO::addJunction(), NBNodeCont::applyConditionalDefaults(), GNEJunction::getAttribute(), getLinkState(), NIXMLNodesHandler::processNodeType(), NWWriter_SUMO::writeJunction(), and NWWriter_XML::writeNodes().

Here is the caller graph for this function:

◆ getShape()

◆ getType()

◆ getWalkingArea()

NBNode::WalkingArea & NBNode::getWalkingArea ( const std::string &  id)

return the walkingArea with the given ID

Definition at line 3865 of file NBNode.cpp.

References buildCrossingsAndWalkingAreas(), myWalkingAreas, sortEdges(), TLF, updateSurroundingGeometry(), and WRITE_WARNINGF.

Referenced by GNEWalkingArea::drawGL(), and GNEWalkingArea::getNBWalkingArea().

Here is the caller graph for this function:

◆ getWalkingAreaCustomShapes()

const std::vector<WalkingAreaCustomShape>& NBNode::getWalkingAreaCustomShapes ( ) const
inline

Definition at line 751 of file NBNode.h.

References myWalkingAreaCustomShapes.

◆ getWalkingAreas()

const std::vector<WalkingArea>& NBNode::getWalkingAreas ( ) const
inline

return this junctions pedestrian walking areas

Definition at line 747 of file NBNode.h.

References myWalkingAreas.

Referenced by GNEJunction::rebuildGNEWalkingAreas(), NWWriter_SUMO::writeInternalEdges(), and NWWriter_SUMO::writeNetwork().

Here is the caller graph for this function:

◆ guessCrossings()

◆ hasConflict() [1/2]

bool NBNode::hasConflict ( ) const

whether there are conflicting streams of traffic at this node

Definition at line 1117 of file NBNode.cpp.

References NBRequest::hasConflict(), and myRequest.

Referenced by computeKeepClear().

Here is the caller graph for this function:

◆ hasConflict() [2/2]

bool NBNode::hasConflict ( const NBEdge e) const

whether the given edge has a conflicting stream of traffic at this node

Definition at line 1127 of file NBNode.cpp.

References getConnectionIndex(), NBEdge::getConnections(), NBRequest::hasConflictAtLink(), and myRequest.

◆ hasCustomShape()

bool NBNode::hasCustomShape ( ) const
inline

return whether the shape was set by the user

Definition at line 584 of file NBNode.h.

References myHaveCustomPoly.

Referenced by GNEJunction::invalidateShape(), GNEJunction::isAttributeComputed(), NWWriter_SUMO::writeJunction(), and NWWriter_XML::writeNodes().

Here is the caller graph for this function:

◆ hasIncoming()

bool NBNode::hasIncoming ( const NBEdge *const  e) const

Returns whether the given edge ends at this node.

Parameters
[in]eThe edge
Returns
Whether the given edge is one of this node's incoming edges

Definition at line 1847 of file NBNode.cpp.

References myIncomingEdges.

Referenced by NBNodeShapeComputer::computeNodeShapeDefault(), NBNodeCont::generateNodeClusters(), NIImporter_OpenStreetMap::getNeighboringNodes(), NIImporter_VISUM::parse_Lanes(), NIImporter_VISUM::parse_LanesConnections(), and NIImporter_VISUM::parse_TurnsToSignalGroups().

Here is the caller graph for this function:

◆ hasOutgoing()

bool NBNode::hasOutgoing ( const NBEdge *const  e) const

Returns whether the given edge starts at this node.

Parameters
[in]eThe edge
Returns
Whether the given edge is one of this node's outgoing edges

Definition at line 1853 of file NBNode.cpp.

References myOutgoingEdges.

Referenced by isLeftMover(), NBTrafficLightDefinition::mustBrake(), NIImporter_VISUM::parse_Lanes(), NIImporter_VISUM::parse_LanesConnections(), and NIImporter_VISUM::parse_TurnsToSignalGroups().

Here is the caller graph for this function:

◆ hasParameter()

bool Parameterised::hasParameter ( const std::string &  key) const
inherited

Returns whether the parameter is set.

Parameters
[in]keyThe key to ask for
Returns
Whether the key is known

Definition at line 84 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by MSStageWalking::activateEntryReminders(), NBEdge::append(), MSVehicleType::build(), GUIInductLoop::buildDetectorGUIRepresentation(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), GUINet::createTLWrapper(), EnergyParams::EnergyParams(), MSDevice_SSM::filterByConflictType(), NWWriter_DlrNavteq::getBrunnelType(), GNEEdgeData::getColorValue(), GNEEdgeRelData::getColorValue(), GNETAZRelData::getColorValue(), GNELane::getColorValue(), GUILane::getColorValue(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSDevice_SSM::getMDRAC_PRT(), MSDevice_SSM::getMeasuresAndThresholds(), MSDevice_ToC::getOutputFilename(), MSDevice_SSM::getOutputFilename(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSDevice::getStringParam(), MSTriggeredRerouter::getWeight(), MSStageDriving::init(), SUMOVTypeParameter::initRailVisualizationParameters(), MSEdge::insertVehicle(), NIImporter_OpenStreetMap::load(), NWWriter_OpenDrive::mapmatchRoadObjects(), Parameterised::mergeParameters(), MSActuatedTrafficLightLogic::MSActuatedTrafficLightLogic(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), GNEVType::overwriteVType(), NWWriter_OpenDrive::parseTrafficSign(), NBTrafficLightDefinition::railSignalUncontrolled(), MSDevice_Battery::readParameterValue(), MSDevice_SSM::requestsTrajectories(), NBTrafficLightLogicCont::setOpenDriveSignalParameters(), MSVehicle::slowDownForSchedule(), MSDevice_SSM::useGeoCoords(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::WAUTSwitchProcedure_Stretch(), MSDevice_SSM::writeLanesPositions(), MSDevice_SSM::writePositions(), NWWriter_OpenDrive::writeRoadObjectPoly(), NWWriter_OpenDrive::writeRoadObjects(), and NWWriter_OpenDrive::writeSignals().

Here is the caller graph for this function:

◆ includes()

bool NBNode::includes ( const std::set< const NBEdge *, ComparatorIdLess > &  super,
const std::set< const NBEdge *, ComparatorIdLess > &  sub 
)
staticprivate

returns whether sub is a subset of super

Definition at line 3664 of file NBNode.cpp.

Referenced by buildWalkingAreas().

Here is the caller graph for this function:

◆ indirectLeftShape()

PositionVector NBNode::indirectLeftShape ( const PositionVector begShape,
const PositionVector endShape,
int  numPoints 
) const

compute shape of indirect left turn

Definition at line 768 of file NBNode.cpp.

References PositionVector::extrapolate2D(), OptionsCont::getFloat(), Named::getID(), OptionsCont::getOptions(), PositionVector::intersectionPosition2D(), Position::INVALID, Position::mul(), myRadius, Position::norm2D(), Position::sub(), TL, UNSPECIFIED_RADIUS, UNUSED_PARAMETER, and WRITE_WARNINGF.

Referenced by computeSmoothShape().

Here is the caller graph for this function:

◆ invalidateIncomingConnections()

void NBNode::invalidateIncomingConnections ( bool  reallowSetting = false)

invalidate incoming connections

Definition at line 1981 of file NBNode.cpp.

References myIncomingEdges.

Referenced by NIVissimDistrictConnection::dict_BuildDistricts(), and GNEJunction::setAttribute().

Here is the caller graph for this function:

◆ invalidateOutgoingConnections()

void NBNode::invalidateOutgoingConnections ( bool  reallowSetting = false)

invalidate outgoing connections

Definition at line 1989 of file NBNode.cpp.

References myOutgoingEdges.

Referenced by NIVissimDistrictConnection::dict_BuildDistricts(), and NBEdgeCont::guessSpecialLanes().

Here is the caller graph for this function:

◆ invalidateTLS()

void NBNode::invalidateTLS ( NBTrafficLightLogicCont tlCont,
bool  removedConnections,
bool  addedConnections 
)

causes the traffic light to be computed anew

Definition at line 426 of file NBNode.cpp.

References NBTrafficLightDefinition::addNode(), Named::getID(), NBTrafficLightDefinition::getNodes(), NBTrafficLightDefinition::getOffset(), NBTrafficLightDefinition::getType(), NBTrafficLightLogicCont::insert(), isTLControlled(), myTrafficLights, and NBTrafficLightLogicCont::removeFully().

Referenced by NBEdgeCont::guessSpecialLanes(), NIXMLConnectionsHandler::myStartElement(), NIXMLConnectionsHandler::parseLaneBound(), and NBEdgeCont::processSplits().

Here is the caller graph for this function:

◆ isBentPriority()

bool NBNode::isBentPriority ( ) const
inline

return whether a priority road turns at this node

Definition at line 835 of file NBNode.h.

References myIsBentPriority.

Referenced by NBRequest::setBlocking().

Here is the caller graph for this function:

◆ isConstantWidthTransition()

bool NBNode::isConstantWidthTransition ( ) const

detects whether a given junction splits or merges lanes while keeping constant road width

Definition at line 878 of file NBNode.cpp.

References myIncomingEdges, and myOutgoingEdges.

Referenced by displaceShapeAtWidthChange(), NBNodeShapeComputer::getDefaultRadius(), NBEdge::getInternalLaneWidth(), and NBRequest::mergeConflict().

Here is the caller graph for this function:

◆ isDistrict()

bool NBNode::isDistrict ( ) const

check if node is a district

Definition at line 2651 of file NBNode.cpp.

References DISTRICT, and myType.

Referenced by NBNodeTypeComputer::computeNodeTypes(), and isNearDistrict().

Here is the caller graph for this function:

◆ isExplicitRailNoBidi()

bool NBNode::isExplicitRailNoBidi ( const NBEdge incoming,
const NBEdge outgoing 
)
staticprivate

detect explict rail turns with potential geometry problem

Definition at line 2420 of file NBNode.cpp.

References NBEdge::getBidiEdge(), NBEdge::getPermissions(), NBEdge::getStep(), isRailway(), and NBEdge::LANES2LANES_RECHECK.

Referenced by getDirection().

Here is the caller graph for this function:

◆ isLeftMover()

bool NBNode::isLeftMover ( const NBEdge *const  from,
const NBEdge *const  to 
) const

Computes whether the given connection is a left mover across the junction.

It is assumed, that it is a left-mover if the clockwise angle is lower than the counter-clockwise angle.

Parameters
[in]fromThe incoming edge (the begin of the connection)
[in]fromThe outgoing edge (the end of the connection)
Returns
Whether the described connection is a left-mover

Definition at line 2160 of file NBNode.cpp.

References NBEdge::getAngleAtNode(), GeomHelper::getCCWAngleDiff(), GeomHelper::getCWAngleDiff(), hasOutgoing(), NBEdge::isTurningDirectionAt(), myAllEdges, myIncomingEdges, myOutgoingEdges, and NBContHelper::nextCW().

Referenced by NBEdge::computeEdge2Edges().

Here is the caller graph for this function:

◆ isLongEnough()

bool NBNode::isLongEnough ( NBEdge out,
double  minLength 
)
staticprivate

check if is long enough

Definition at line 1666 of file NBNode.cpp.

References getIncomingEdges(), NBEdge::getLoadedLength(), getOutgoingEdges(), and NBEdge::getToNode().

Referenced by computeLanes2Lanes().

Here is the caller graph for this function:

◆ isNearDistrict()

bool NBNode::isNearDistrict ( ) const

@chech if node is near district

Definition at line 2634 of file NBNode.cpp.

References getEdges(), and isDistrict().

Referenced by NBNodeTypeComputer::computeNodeTypes(), and NBNodeCont::guessTLs().

Here is the caller graph for this function:

◆ isParameterValid()

bool Parameterised::isParameterValid ( const std::string &  value,
const std::string &  kvsep,
const std::string &  sep 
)
staticprivateinherited

check if given string can be parsed to a parameter of type "key=value"

Definition at line 254 of file Parameterised.cpp.

References StringTokenizer::getVector(), and SUMOXMLDefinitions::isValidParameterKey().

Referenced by Parameterised::areAttributesValid(), and Parameterised::areParametersValid().

Here is the caller graph for this function:

◆ isRoundabout()

bool NBNode::isRoundabout ( ) const

return whether this node is part of a roundabout

Definition at line 3799 of file NBNode.cpp.

References myOutgoingEdges.

Referenced by GNEEdge::getAttribute(), GNEJunction::getAttribute(), and GNEJunction::getPopUpMenu().

Here is the caller graph for this function:

◆ isSimpleContinuation()

bool NBNode::isSimpleContinuation ( bool  checkLaneNumbers = true,
bool  checkWidth = false 
) const

check if node is a simple continuation

Definition at line 510 of file NBNode.cpp.

References NBEdge::getNumLanes(), NBEdge::getTotalWidth(), myIncomingEdges, myOutgoingEdges, and NBContHelper::nextCW().

Referenced by NBNodeShapeComputer::compute(), NBNodeTypeComputer::computeNodeTypes(), NBEdgeCont::generateStreetSigns(), and guessCrossings().

Here is the caller graph for this function:

◆ isStraighter()

bool NBNode::isStraighter ( const NBEdge *const  incoming,
const double  angle,
const SVCPermissions  vehPerm,
const int  modeLanes,
const NBEdge *const  candidate 
) const
private

check whether the candidate edge is more likely to be the straight continuation

Definition at line 2302 of file NBNode.cpp.

References NBEdge::getAngleAtNode(), NBEdge::getNumLanesThatAllow(), and NBHelpers::normRelAngle().

Referenced by getDirection().

Here is the caller graph for this function:

◆ isTLControlled()

◆ isTrafficLight() [1/2]

bool NBNode::isTrafficLight ( ) const
inline

Definition at line 822 of file NBNode.h.

References myType.

Referenced by NIImporter_SUMO::_loadNetwork(), addTrafficLight(), NGNode::buildNBNode(), NBRampsComputer::fulfillsRampConstraints(), NBEdge::MainDirections::MainDirections(), NBEdge::prepareEdgePriorities(), NIXMLNodesHandler::processNodeType(), reinit(), and GNEJunction::setJunctionType().

Here is the caller graph for this function:

◆ isTrafficLight() [2/2]

bool NBNode::isTrafficLight ( SumoXMLNodeType  type)
static

return whether the given type is a traffic light

Definition at line 3989 of file NBNode.cpp.

References TRAFFIC_LIGHT, TRAFFIC_LIGHT_NOJUNCTION, and TRAFFIC_LIGHT_RIGHT_ON_RED.

Referenced by NBNodeCont::generateNodeClusters().

Here is the caller graph for this function:

◆ markBentPriority()

void NBNode::markBentPriority ( bool  isBent)
inline

mark whether a priority road turns at this node

Definition at line 830 of file NBNode.h.

References myIsBentPriority.

Referenced by NBEdgePriorityComputer::setPriorityJunctionPriorities().

Here is the caller graph for this function:

◆ mergeConflict()

bool NBNode::mergeConflict ( const NBEdge from,
const NBEdge::Connection con,
const NBEdge prohibitorFrom,
const NBEdge::Connection prohibitorCon,
bool  foes 
) const

whether multiple connections from the same edge target the same lane

Definition at line 2096 of file NBNode.cpp.

References foes(), NBRequest::mergeConflict(), and myRequest.

Referenced by NBEdge::buildInnerEdges().

Here is the caller graph for this function:

◆ mergeConflictYields()

bool NBNode::mergeConflictYields ( const NBEdge from,
int  fromLane,
int  fromLaneFoe,
NBEdge to,
int  toLane 
) const

whether one of multple connections from the same edge targeting the same lane must yield

Definition at line 2085 of file NBNode.cpp.

References NBEdge::getConnection(), NBRequest::mergeConflict(), and myRequest.

◆ mergeParameters()

void Parameterised::mergeParameters ( const Parameterised::Map mapArg,
const std::string  separator = " ",
bool  uniqueValues = true 
)
inherited

Adds or appends all given parameters from the map.

Parameters
[in]mapArgThe keys/values to insert

Definition at line 65 of file Parameterised.cpp.

References Parameterised::getParameter(), Parameterised::hasParameter(), and Parameterised::setParameter().

Referenced by NBEdge::append().

Here is the caller graph for this function:

◆ mirrorX()

void NBNode::mirrorX ( )

mirror coordinates along the x-axis

Definition at line 377 of file NBNode.cpp.

References PositionVector::mirrorX(), Position::mul(), myCrossings, myPoly, myPosition, myWalkingAreaCustomShapes, and myWalkingAreas.

Referenced by GNEJunction::mirrorXLeftHand().

Here is the caller graph for this function:

◆ mustBrake()

bool NBNode::mustBrake ( const NBEdge *const  from,
const NBEdge *const  to,
int  fromLane,
int  toLane,
bool  includePedCrossings 
) const

Returns the information whether the described flow must let any other flow pass.

Parameters
[in]fromThe connection's start edge
[in]toThe connection's end edge
[in]fromLaneThe lane the connection start at
[in]toLaneThe lane the connection ends at
[in]includePedCrossingsWhether braking due to a pedestrian crossing counts
Returns
Whether the described connection must brake (has higher priorised foes)

Definition at line 1997 of file NBNode.cpp.

References NBEdge::isBidiEdge(), NBRequest::mustBrake(), and myRequest.

Referenced by getLinkState(), NBTrafficLightDefinition::mustBrake(), needsCont(), and zipperConflict().

Here is the caller graph for this function:

◆ mustBrakeForCrossing()

bool NBNode::mustBrakeForCrossing ( const NBEdge *const  from,
const NBEdge *const  to,
const Crossing crossing 
) const

Returns the information whether the described flow must brake for the given crossing.

Parameters
[in]fromThe connection's start edge
[in]toThe connection's end edge
[in]crossingThe pedestrian crossing to check
Returns
Whether the described connection must brake (has higher priorised foes)

Definition at line 2015 of file NBNode.cpp.

References NBRequest::mustBrakeForCrossing().

Referenced by NBOwnTLDef::patchNEMAStateForCrossings(), and NBOwnTLDef::patchStateForCrossings().

Here is the caller graph for this function:

◆ needsCont()

bool NBNode::needsCont ( const NBEdge fromE,
const NBEdge otherFromE,
const NBEdge::Connection c,
const NBEdge::Connection otherC,
bool  checkOnlyTLS = false 
) const

whether an internal junction should be built at from and respect other

Definition at line 935 of file NBNode.cpp.

References ALLWAY_STOP, foes(), NBEdge::Connection::fromLane, getDirection(), NBEdge::getJunctionPriority(), NBRequest::indirectLeftTurnConflict(), LEFT_BEFORE_RIGHT, mustBrake(), myRequest, myTrafficLights, myType, PARTRIGHT, RAIL_CROSSING, RAIL_SIGNAL, RIGHT, RIGHT_BEFORE_LEFT, rightTurnConflict(), STRAIGHT, NBEdge::Connection::tlID, NBEdge::Connection::toEdge, NBEdge::Connection::toLane, and TURN.

Referenced by NBEdge::buildInnerEdges(), and tlsContConflict().

Here is the caller graph for this function:

◆ numCrossingsFromSumoNet()

int NBNode::numCrossingsFromSumoNet ( ) const
inline

get num of crossings from sumo net

Definition at line 736 of file NBNode.h.

References myCrossingsLoadedFromSumoNet.

◆ numNormalConnections()

int NBNode::numNormalConnections ( ) const

return the number of lane-to-lane connections at this junction (excluding crossings)

Definition at line 3906 of file NBNode.cpp.

References NBRequest::getSizes(), myIncomingEdges, and myRequest.

Referenced by computeLogic(), and NWWriter_OpenDrive::writeNetwork().

Here is the caller graph for this function:

◆ operator=()

NBNode& NBNode::operator= ( const NBNode s)
private

invalidated assignment operator

◆ recheckVClassConnections()

void NBNode::recheckVClassConnections ( NBEdge currentOutgoing)
private

ensure connectivity for all vClasses

Definition at line 1487 of file NBNode.cpp.

References NBEdge::COMPUTED, DEBUGCOND, NBEdge::Connection::fromLane, getDirection(), NBEdge::Connection::getID(), NBEdge::getID(), NBEdge::getNumLanes(), NBEdge::getPermissions(), NBEdge::getSpecialLane(), getVehicleClassNames(), NBEdge::LANES2LANES_DONE, LEFT, myIncomingEdges, PARTLEFT, PARTRIGHT, RIGHT, STRAIGHT, SVC_BICYCLE, SVC_PASSENGER, SVC_PEDESTRIAN, SVC_TRAM, std::swap(), NBEdge::Connection::toEdge, NBEdge::Connection::toLane, and TURN.

Referenced by computeLanes2Lanes().

Here is the caller graph for this function:

◆ reinit()

void NBNode::reinit ( const Position position,
SumoXMLNodeType  type,
bool  updateEdgeGeometries = false 
)

Resets initial values.

Parameters
[in]positionThe position of the node
[in]typeThe type of the node
[in]updateEdgeGeometriesWhether the geometires of all connected edges shall be updated

Definition at line 338 of file NBNode.cpp.

References isTrafficLight(), myIncomingEdges, myOutgoingEdges, myPosition, myType, and removeTrafficLights().

Referenced by NBNodeCont::discardRailSignals(), NBNodeCont::discardTrafficLights(), NBRailwaySignalGuesser::guessByStops(), NIImporter_OpenStreetMap::insertNodeChecking(), NBNodeCont::joinNodeCluster(), GNEJunction::moveJunctionGeometry(), NIXMLNodesHandler::processNodeType(), NIImporter_OpenStreetMap::reconstructLayerElevation(), NIImporter_DlrNavteq::TrafficlightsHandler::report(), and GNEJunction::setAttribute().

Here is the caller graph for this function:

◆ remapRemoved()

void NBNode::remapRemoved ( NBTrafficLightLogicCont tc,
NBEdge removed,
const EdgeVector incoming,
const EdgeVector outgoing 
)
private

remap removed

Definition at line 2196 of file NBNode.cpp.

References NBConnection::getFrom(), NBConnection::getTo(), myBlockedConnections, and NBTrafficLightLogicCont::remapRemoved().

Referenced by removeSelfLoops().

Here is the caller graph for this function:

◆ removeCrossing()

void NBNode::removeCrossing ( const EdgeVector edges)

remove a pedestrian crossing from this node (identified by its edges)

Definition at line 3824 of file NBNode.cpp.

References myCrossings.

Referenced by GNEChange_Crossing::redo(), and GNEChange_Crossing::undo().

Here is the caller graph for this function:

◆ removeDoubleEdges()

void NBNode::removeDoubleEdges ( )

remove duble edges

Definition at line 1809 of file NBNode.cpp.

References myAllEdges, myIncomingEdges, and myOutgoingEdges.

Referenced by replaceIncoming(), replaceOutgoing(), and NBEdgeCont::splitAt().

Here is the caller graph for this function:

◆ removeEdge()

void NBNode::removeEdge ( NBEdge edge,
bool  removeFromConnections = true 
)

Removes edge from this node and optionally removes connections as well.

Definition at line 1920 of file NBNode.cpp.

References NBEdge::getToNode(), myAllEdges, myIncomingEdges, myOutgoingEdges, and myTrafficLights.

Referenced by NBEdgeCont::extract(), NBEdgeCont::insert(), NBEdge::reinit(), NBEdge::reinitNodes(), and NBEdgeCont::removeUnwishedEdges().

Here is the caller graph for this function:

◆ removeJoinedTrafficLights()

void NBNode::removeJoinedTrafficLights ( )
private

remove all traffic light definitions that are part of a joined tls

Definition at line 998 of file NBNode.cpp.

References myTrafficLights.

Referenced by computeLogic().

Here is the caller graph for this function:

◆ removeSelfLoops()

int NBNode::removeSelfLoops ( NBDistrictCont dc,
NBEdgeCont ec,
NBTrafficLightLogicCont tc 
)

Removes edges which are both incoming and outgoing into this node.

If given, the connections to other edges participating in this node are updated

Parameters
[in,opt.changed] dc The districts container to update
[in,opt.changed] ec The edge container to remove the edges from
[in,opt.changed] tc The traffic lights container to update
Returns
The number of removed edges

Definition at line 457 of file NBNode.cpp.

References NBEdgeCont::erase(), NBEdge::getConnectedEdges(), NBEdge::getID(), NBEdge::getIncomingEdges(), myIncomingEdges, myOutgoingEdges, NBEdge::remapConnections(), remapRemoved(), TL, and WRITE_WARNINGF.

◆ removeTrafficLight()

void NBNode::removeTrafficLight ( NBTrafficLightDefinition tlDef)

Removes the given traffic light from this node.

Definition at line 406 of file NBNode.cpp.

References myTrafficLights, and NBTrafficLightDefinition::removeNode().

Referenced by NBNodeCont::discardTrafficLights(), GNEJunction::removeTrafficLight(), removeTrafficLights(), NBTrafficLightLogicCont::setTLControllingInformation(), and NBNodeTypeComputer::validateRailCrossings().

Here is the caller graph for this function:

◆ removeTrafficLights()

void NBNode::removeTrafficLights ( bool  setAsPriority = false)

Removes all references to traffic lights that control this tls.

Definition at line 413 of file NBNode.cpp.

References DEAD_END, myRequest, myTrafficLights, myType, NOJUNCTION, PRIORITY, removeTrafficLight(), and TRAFFIC_LIGHT_NOJUNCTION.

Referenced by NBNodeCont::extract(), NBNodeCont::guessTLs(), NIXMLNodesHandler::processTrafficLightDefinitions(), and reinit().

Here is the caller graph for this function:

◆ replaceIncoming() [1/2]

void NBNode::replaceIncoming ( const EdgeVector which,
NBEdge by 
)

Replaces occurrences of every edge from the given list within the list of incoming by the second Connections are remapped, too.

Definition at line 1755 of file NBNode.cpp.

References myDistrict, removeDoubleEdges(), NBDistrict::replaceIncoming(), and replaceIncoming().

◆ replaceIncoming() [2/2]

void NBNode::replaceIncoming ( NBEdge which,
NBEdge by,
int  laneOff 
)

Replaces occurrences of the first edge within the list of incoming by the second Connections are remapped, too.

Definition at line 1741 of file NBNode.cpp.

References myAllEdges, myIncomingEdges, and replaceInConnectionProhibitions().

Referenced by NBEdgeCont::joinSameNodeConnectingEdges(), NBNodeCont::removeUnwishedNodes(), replaceIncoming(), and NBEdgeCont::splitAt().

Here is the caller graph for this function:

◆ replaceInConnectionProhibitions()

void NBNode::replaceInConnectionProhibitions ( NBEdge which,
NBEdge by,
int  whichLaneOff,
int  byLaneOff 
)
private

replace incoming connections prohibitions

Definition at line 1774 of file NBNode.cpp.

References myBlockedConnections, NBConnection::replaceFrom(), and NBConnection::replaceTo().

Referenced by replaceIncoming(), and replaceOutgoing().

Here is the caller graph for this function:

◆ replaceOutgoing() [1/2]

void NBNode::replaceOutgoing ( const EdgeVector which,
NBEdge by 
)

Replaces occurrences of every edge from the given list within the list of outgoing by the second Connections are remapped, too.

Definition at line 1723 of file NBNode.cpp.

References myDistrict, removeDoubleEdges(), NBDistrict::replaceOutgoing(), and replaceOutgoing().

◆ replaceOutgoing() [2/2]

void NBNode::replaceOutgoing ( NBEdge which,
NBEdge by,
int  laneOff 
)

Replaces occurrences of the first edge within the list of outgoing by the second Connections are remapped, too.

Definition at line 1705 of file NBNode.cpp.

References myAllEdges, myIncomingEdges, myOutgoingEdges, replaceInConnectionProhibitions(), and NBEdge::replaceInConnections().

Referenced by NBEdgeCont::joinSameNodeConnectingEdges(), replaceOutgoing(), and NBEdgeCont::splitAt().

Here is the caller graph for this function:

◆ resetShape()

void NBNode::resetShape ( )
inline

reset node shape

Definition at line 554 of file NBNode.h.

References myPoly.

◆ reshiftPosition()

void NBNode::reshiftPosition ( double  xoff,
double  yoff 
)

Applies an offset to the node.

Parameters
[in]xoffThe x-offset to apply
[in]yoffThe y-offset to apply

Definition at line 364 of file NBNode.cpp.

References Position::add(), PositionVector::add(), myCrossings, myPoly, myPosition, and myWalkingAreaCustomShapes.

◆ rightOnRedConflict()

bool NBNode::rightOnRedConflict ( int  index,
int  foeIndex 
) const

whether the given index must yield to the foeIndex while turing right on a red light

Definition at line 3997 of file NBNode.cpp.

References myTrafficLights.

Referenced by NBRequest::getResponseString().

Here is the caller graph for this function:

◆ rightTurnConflict()

bool NBNode::rightTurnConflict ( const NBEdge from,
const NBEdge to,
int  fromLane,
const NBEdge prohibitorFrom,
const NBEdge prohibitorTo,
int  prohibitorFromLane 
)
static

return whether the given laneToLane connection is a right turn which must yield to a bicycle crossings

Definition at line 2034 of file NBNode.cpp.

References GeomHelper::getCWAngleDiff(), getDirection(), NBEdge::getEndAngle(), NBEdge::getStartAngle(), NBEdge::getToNode(), NBEdge::isTurningDirectionAt(), LEFT, PARTLEFT, PARTRIGHT, RIGHT, and STRAIGHT.

Referenced by NBEdge::buildInnerEdges(), NBOwnTLDef::correctConflicting(), NBRequest::getResponseString(), NBLoadedSUMOTLDef::initNeedsContRelation(), NBLoadedTLDef::myCompute(), needsCont(), and NBRequest::rightTurnConflict().

Here is the caller graph for this function:

◆ setCrossingTLIndices()

bool NBNode::setCrossingTLIndices ( const std::string &  tlID,
int  startIndex 
)

Definition at line 3890 of file NBNode.cpp.

References getCrossings().

Referenced by NBTrafficLightLogicCont::setTLControllingInformation().

Here is the caller graph for this function:

◆ setCustomShape()

void NBNode::setCustomShape ( const PositionVector shape)

set the junction shape

Definition at line 2611 of file NBNode.cpp.

References myAllEdges, myHaveCustomPoly, and myPoly.

Referenced by NIImporter_SUMO::addJunction(), NIXMLNodesHandler::processNodeType(), GNEJunction::setAttribute(), and GNEJunction::setMoveShape().

Here is the caller graph for this function:

◆ setFringeType()

void NBNode::setFringeType ( FringeType  fringeType)
inline

set method for computing right-of-way

Definition at line 574 of file NBNode.h.

References myFringeType.

Referenced by NIImporter_SUMO::addJunction(), NGNode::buildNBNode(), NBNodeCont::guessFringe(), NIImporter_OpenStreetMap::insertNodeChecking(), NIXMLNodesHandler::processNodeType(), and GNEJunction::setAttribute().

Here is the caller graph for this function:

◆ setID()

virtual void Named::setID ( const std::string &  newID)
inlinevirtualinherited

resets the id

Parameters
[in]newIDThe new id of this object

Reimplemented in NBLoadedSUMOTLDef, MSTransportable, and MSBaseVehicle.

Definition at line 82 of file Named.h.

References Named::myID.

Referenced by Distribution_Parameterized::parse(), NBLoadedSUMOTLDef::reconstructLogic(), NBEdgeCont::rename(), NBNodeCont::rename(), GNEJunction::setAttribute(), NBLoadedSUMOTLDef::setID(), and IntermodalNetwork< E, L, N, V >::splitEdge().

Here is the caller graph for this function:

◆ setKeepClear()

void NBNode::setKeepClear ( bool  keepClear)
inline

set the keepClear flag

Definition at line 564 of file NBNode.h.

References myKeepClear.

Referenced by NIXMLNodesHandler::processNodeType().

Here is the caller graph for this function:

◆ setName()

void NBNode::setName ( const std::string &  name)
inline

set intersection name

Definition at line 579 of file NBNode.h.

References myName.

Referenced by NIImporter_SUMO::addJunction(), NIXMLNodesHandler::processNodeType(), and GNEJunction::setAttribute().

Here is the caller graph for this function:

◆ setParameter()

void Parameterised::setParameter ( const std::string &  key,
const std::string &  value 
)
virtualinherited

Sets a parameter.

Parameters
[in]keyThe parameter's name
[in]valueThe parameter's value

Reimplemented in NEMALogic, MSSimpleTrafficLightLogic, MSRailSignal, MSActuatedTrafficLightLogic, and MSRailCrossing.

Definition at line 45 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by NBRailwayTopologyAnalyzer::addBidiEdge(), NLHandler::addDistrict(), RONetHandler::addParam(), ShapeHandler::addPOI(), NBOwnTLDef::buildNemaPhases(), MSParkingArea::enter(), NIImporter_MATSim::EdgesHandler::insertEdge(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), MSLane::isInsertionSuccess(), NBNodeCont::joinNodeCluster(), NBEdge::Lane::Lane(), NWWriter_OpenDrive::mapmatchRoadObjects(), Parameterised::mergeParameters(), MSStateHandler::myStartElement(), NIXMLNodesHandler::myStartElement(), NIXMLTrafficLightsHandler::myStartElement(), ShapeHandler::myStartElement(), GNESingleParametersDialog::onCmdAccept(), NBRailwayTopologyAnalyzer::reverseEdges(), GNEVType::setAttribute(), NBEdge::setJunctionPriority(), NIImporter_OpenDrive::setLaneAttributes(), MSRailCrossing::setParameter(), MSActuatedTrafficLightLogic::setParameter(), MSRailSignal::setParameter(), MSSimpleTrafficLightLogic::setParameter(), NEMALogic::setParameter(), LIBSUMO_NAMESPACE::Simulation::setParameter(), Parameterised::setParametersStr(), LIBSUMO_NAMESPACE::Vehicle::setStopParameter(), LIBSUMO_NAMESPACE::TrafficLight::swapParameters(), Parameterised::updateParameters(), NWWriter_OpenDrive::writeNetwork(), and NIImporter_OpenDrive::writeRoadObjects().

Here is the caller graph for this function:

◆ setParameters()

void Parameterised::setParameters ( const Parameterised params)
inherited

set the inner key/value map in map<string, string> format

Definition at line 167 of file Parameterised.cpp.

References Parameterised::getParametersMap(), and Parameterised::myMap.

Referenced by MSStageDriving::clone(), MSStageTranship::clone(), MSStageTrip::clone(), MSStageWaiting::clone(), MSStageWalking::clone(), and MSStageTrip::setArrived().

Here is the caller graph for this function:

◆ setParametersStr()

void Parameterised::setParametersStr ( const std::string &  paramsString,
const std::string  kvsep = "=",
const std::string  sep = "|" 
)
inherited

set the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN"

Parameters
[in]paramsStringA serialized key-value map
[in]kvsepThe separater between key and value
[in]sepThe separater between map entries

Definition at line 173 of file Parameterised.cpp.

References StringTokenizer::getVector(), Parameterised::myMap, and Parameterised::setParameter().

Referenced by MSDevice_Taxi::initDispatch(), GNEAccess::setAttribute(), GNEBusStop::setAttribute(), GNECalibrator::setAttribute(), GNECalibratorFlow::setAttribute(), GNEChargingStation::setAttribute(), GNEContainerStop::setAttribute(), GNEEntryExitDetector::setAttribute(), GNEInductionLoopDetector::setAttribute(), GNEInstantInductionLoopDetector::setAttribute(), GNELaneAreaDetector::setAttribute(), GNEMultiEntryExitDetector::setAttribute(), GNEOverheadWire::setAttribute(), GNEParkingArea::setAttribute(), GNEParkingSpace::setAttribute(), GNERerouter::setAttribute(), GNERouteProbe::setAttribute(), GNETAZ::setAttribute(), GNETAZSourceSink::setAttribute(), GNETractionSubstation::setAttribute(), GNEVaporizer::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNEEdgeData::setAttribute(), GNEEdgeRelData::setAttribute(), GNETAZRelData::setAttribute(), GNEContainer::setAttribute(), GNEPerson::setAttribute(), GNERoute::setAttribute(), GNEStop::setAttribute(), GNEVehicle::setAttribute(), GNEVType::setAttribute(), GNEConnection::setAttribute(), GNEEdge::setAttribute(), GNEEdgeType::setAttribute(), GNEJunction::setAttribute(), GNELane::setAttribute(), GNELaneType::setAttribute(), GNEPOI::setAttribute(), and GNEPoly::setAttribute().

Here is the caller graph for this function:

◆ setPriorityJunctionPriorities()

void NBNode::setPriorityJunctionPriorities ( )
private

sets the priorites in case of a priority junction

◆ setRadius()

void NBNode::setRadius ( double  radius)
inline

set the turning radius

Definition at line 559 of file NBNode.h.

References myRadius.

Referenced by NIImporter_SUMO::addJunction(), NIXMLNodesHandler::processNodeType(), and GNEJunction::setAttribute().

Here is the caller graph for this function:

◆ setRightOfWay()

void NBNode::setRightOfWay ( RightOfWay  rightOfWay)
inline

set method for computing right-of-way

Definition at line 569 of file NBNode.h.

References myRightOfWay.

Referenced by NIImporter_SUMO::addJunction(), NBNodeCont::applyConditionalDefaults(), NIXMLNodesHandler::processNodeType(), and GNEJunction::setAttribute().

Here is the caller graph for this function:

◆ setRoundabout()

void NBNode::setRoundabout ( )

update the type of this node as a roundabout

Definition at line 3792 of file NBNode.cpp.

References LEFT_BEFORE_RIGHT, myType, PRIORITY, and RIGHT_BEFORE_LEFT.

Referenced by NBEdgeCont::markRoundabouts().

Here is the caller graph for this function:

◆ shiftTLConnectionLaneIndex()

void NBNode::shiftTLConnectionLaneIndex ( NBEdge edge,
int  offset,
int  threshold = -1 
)

patches loaded signal plans by modifying lane indices above threshold by the given offset

Definition at line 449 of file NBNode.cpp.

References myTrafficLights.

Referenced by NBEdge::addLane(), NBEdge::addRestrictedLane(), and NBEdge::restoreRestrictedLane().

Here is the caller graph for this function:

◆ sortEdges()

void NBNode::sortEdges ( bool  useNodeShape)

sort all edge containers for this node

Definition at line 4008 of file NBNode.cpp.

References computeNodeShape(), DEBUGCOND, myAllEdges, myCrossings, myIncomingEdges, myOutgoingEdges, and NBNodesEdgesSorter::swapWhenReversed().

Referenced by getWalkingArea(), and updateSurroundingGeometry().

Here is the caller graph for this function:

◆ tlsContConflict()

bool NBNode::tlsContConflict ( const NBEdge from,
const NBEdge::Connection c,
const NBEdge foeFrom,
const NBEdge::Connection foe 
) const

whether the connection must yield if the foe remains on the intersection after its phase ends

Definition at line 988 of file NBNode.cpp.

References foes(), NBEdge::Connection::haveVia, isTLControlled(), NBEdge::isTurningDirectionAt(), needsCont(), NBEdge::Connection::tlLinkIndex, and NBEdge::Connection::toEdge.

Referenced by NBRequest::getResponseString().

Here is the caller graph for this function:

◆ turnFoes()

bool NBNode::turnFoes ( const NBEdge from,
const NBEdge to,
int  fromLane,
const NBEdge from2,
const NBEdge to2,
int  fromLane2,
bool  lefthand = false 
) const

return whether the given laneToLane connection originate from the same edge and are in conflict due to turning across each other

Definition at line 2114 of file NBNode.cpp.

References NBEdge::isTurningDirectionAt(), myAllEdges, NBContHelper::nextCCW(), NBContHelper::nextCW(), and UNUSED_PARAMETER.

Referenced by NBRequest::getFoesString().

Here is the caller graph for this function:

◆ typeWasGuessed()

bool NBNode::typeWasGuessed ( ) const
inline

return whether a priority road turns at this node

Definition at line 840 of file NBNode.h.

References myTypeWasGuessed.

Referenced by NBEdgeCont::guessRoundabouts().

Here is the caller graph for this function:

◆ unsetParameter()

void Parameterised::unsetParameter ( const std::string &  key)
inherited

Removes a parameter.

Parameters
[in]keyThe parameter's name

Definition at line 51 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by NIImporter_OpenStreetMap::insertEdge(), MSLane::isInsertionSuccess(), NIImporter_OpenStreetMap::load(), GNEVType::setAttribute(), and LIBSUMO_NAMESPACE::TrafficLight::swapParameters().

Here is the caller graph for this function:

◆ updateParameters()

void Parameterised::updateParameters ( const Parameterised::Map mapArg)
inherited

◆ updateSurroundingGeometry()

void NBNode::updateSurroundingGeometry ( )

update geometry of node and surrounding edges

Definition at line 1142 of file NBNode.cpp.

References computeNodeShape(), NBTurningDirectionsComputer::computeTurnDirectionsForNode(), myAllEdges, and sortEdges().

Referenced by GNENet::createRoundabout(), getWalkingArea(), and NBNodeCont::guessTLs().

Here is the caller graph for this function:

◆ writeLogic()

bool NBNode::writeLogic ( OutputDevice into) const

writes the XML-representation of the logic as a bitset-logic XML representation

Definition at line 1088 of file NBNode.cpp.

References myRequest, and NBRequest::writeLogic().

Referenced by NWWriter_SUMO::writeJunction().

Here is the caller graph for this function:

◆ writeParams()

void Parameterised::writeParams ( OutputDevice device) const
inherited

write Params in the given outputdevice

Definition at line 188 of file Parameterised.cpp.

References OutputDevice::closeTag(), StringUtils::escapeXML(), Parameterised::myMap, OutputDevice::openTag(), SUMO_ATTR_KEY, SUMO_ATTR_VALUE, SUMO_TAG_PARAM, and OutputDevice::writeAttr().

Referenced by MSStageWaiting::routeOutput(), MSTransportable::routeOutput(), ROPerson::saveAsXML(), ROVehicle::saveAsXML(), MEVehicle::saveState(), MSVehicle::saveState(), MSStop::write(), SUMOVTypeParameter::write(), SUMOVehicleParameter::Stop::write(), NBPTStop::write(), MSRailSignalConstraint_Predecessor::write(), GNEBusStop::writeAdditional(), GNECalibrator::writeAdditional(), GNECalibratorFlow::writeAdditional(), GNEChargingStation::writeAdditional(), GNEContainerStop::writeAdditional(), GNEInductionLoopDetector::writeAdditional(), GNEInstantInductionLoopDetector::writeAdditional(), GNELaneAreaDetector::writeAdditional(), GNEMultiEntryExitDetector::writeAdditional(), GNEOverheadWire::writeAdditional(), GNEParkingArea::writeAdditional(), GNEParkingSpace::writeAdditional(), GNERerouter::writeAdditional(), GNERouteProbe::writeAdditional(), GNETAZ::writeAdditional(), GNETractionSubstation::writeAdditional(), GNEVaporizer::writeAdditional(), GNEVariableSpeedSign::writeAdditional(), NWWriter_SUMO::writeConnection(), GNEContainer::writeDemandElement(), GNEPerson::writeDemandElement(), GNERoute::writeDemandElement(), GNEVehicle::writeDemandElement(), NWWriter_SUMO::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), NWWriter_SUMO::writeJunction(), NWWriter_SUMO::writeLane(), NWWriter_XML::writeNodes(), MSDevice_Vehroutes::writeOutput(), NWWriter_SUMO::writeTrafficLight(), SUMOPolygon::writeXML(), and PointOfInterest::writeXML().

Here is the caller graph for this function:

◆ zipperConflict()

bool NBNode::zipperConflict ( const NBEdge incoming,
const NBEdge outgoing,
int  fromLane,
int  toLane 
) const

Definition at line 2470 of file NBNode.cpp.

References getIncomingEdges(), and mustBrake().

Referenced by getLinkState().

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ GNEJunction

friend class GNEJunction
friend

Definition at line 68 of file NBNode.h.

◆ NBEdgePriorityComputer

Definition at line 71 of file NBNode.h.

◆ NBNodeCont

friend class NBNodeCont
friend

Definition at line 67 of file NBNode.h.

◆ NBNodesEdgesSorter

friend class NBNodesEdgesSorter
friend

Definition at line 69 of file NBNode.h.

◆ NBNodeTypeComputer

friend class NBNodeTypeComputer
friend

Definition at line 70 of file NBNode.h.

Field Documentation

◆ AVOID_INTERSECTING_LEFT_TURNS

const int NBNode::AVOID_INTERSECTING_LEFT_TURNS
static

Definition at line 226 of file NBNode.h.

Referenced by bezierControlPoints(), NBEdge::buildInnerEdges(), and buildWalkingAreas().

◆ AVOID_WIDE_LEFT_TURN

const int NBNode::AVOID_WIDE_LEFT_TURN
static

◆ AVOID_WIDE_RIGHT_TURN

const int NBNode::AVOID_WIDE_RIGHT_TURN
static

flags for controlling shape generation

Definition at line 223 of file NBNode.h.

Referenced by bezierControlPoints().

◆ BACKWARD

◆ FORWARD

◆ FOUR_CONTROL_POINTS

const int NBNode::FOUR_CONTROL_POINTS
static

Definition at line 225 of file NBNode.h.

Referenced by bezierControlPoints(), and buildWalkingAreas().

◆ INDIRECT_LEFT

const int NBNode::INDIRECT_LEFT
static

Definition at line 228 of file NBNode.h.

Referenced by computeInternalLaneShape(), and computeSmoothShape().

◆ myAllEdges

◆ myBlockedConnections

NBConnectionProhibits NBNode::myBlockedConnections
private

The container for connection block dependencies.

Definition at line 931 of file NBNode.h.

Referenced by addSortedLinkFoes(), computeLogic(), getProhibitions(), remapRemoved(), and replaceInConnectionProhibitions().

◆ myCrossings

◆ myCrossingsLoadedFromSumoNet

int NBNode::myCrossingsLoadedFromSumoNet
private

number of crossings loaded from a sumo net

Definition at line 967 of file NBNode.h.

Referenced by addCrossing(), and numCrossingsFromSumoNet().

◆ myDiscardAllCrossings

bool NBNode::myDiscardAllCrossings
private

whether to discard all pedestrian crossings

Definition at line 964 of file NBNode.h.

Referenced by buildCrossings(), discardAllCrossings(), and guessCrossings().

◆ myDisplacementError

double NBNode::myDisplacementError
private

geometry error after computation of internal lane shapes

Definition at line 970 of file NBNode.h.

Referenced by bezierControlPoints(), buildInnerEdges(), and getDisplacementError().

◆ myDistrict

NBDistrict* NBNode::myDistrict
private

The district the node is the centre of.

Definition at line 934 of file NBNode.h.

Referenced by replaceIncoming(), and replaceOutgoing().

◆ myFringeType

FringeType NBNode::myFringeType
private

fringe type of this node

Definition at line 958 of file NBNode.h.

Referenced by crossesFringe(), getFringeType(), and setFringeType().

◆ myHaveCustomPoly

bool NBNode::myHaveCustomPoly
private

whether this nodes shape was set by the user

Definition at line 940 of file NBNode.h.

Referenced by computeNodeShape(), hasCustomShape(), and setCustomShape().

◆ myID

◆ myIncomingEdges

◆ myIsBentPriority

bool NBNode::myIsBentPriority
private

Definition at line 975 of file NBNode.h.

Referenced by isBentPriority(), and markBentPriority().

◆ myKeepClear

bool NBNode::myKeepClear
private

whether the junction area must be kept clear

Definition at line 952 of file NBNode.h.

Referenced by computeKeepClear(), getKeepClear(), and setKeepClear().

◆ myMap

◆ myName

std::string NBNode::myName
private

The intersection name (or whatever arbitrary string you wish to attach)

Definition at line 961 of file NBNode.h.

Referenced by getName(), and setName().

◆ myOutgoingEdges

◆ myPoly

PositionVector NBNode::myPoly
private

◆ myPosition

Position NBNode::myPosition
private

The position the node lies at.

Definition at line 907 of file NBNode.h.

Referenced by computeNodeShape(), getCenter(), getEmptyDir(), getPosition(), mirrorX(), reinit(), and reshiftPosition().

◆ myRadius

double NBNode::myRadius
private

the turning radius (for all corners) at this node in m.

Definition at line 949 of file NBNode.h.

Referenced by computeNodeShape(), getRadius(), indirectLeftShape(), and setRadius().

◆ myRequest

◆ myRightOfWay

RightOfWay NBNode::myRightOfWay
private

how to compute right of way for this node

Definition at line 955 of file NBNode.h.

Referenced by getRightOfWay(), and setRightOfWay().

◆ myTrafficLights

◆ myType

◆ myTypeWasGuessed

bool NBNode::myTypeWasGuessed
private

whether the node type was guessed rather than loaded

Definition at line 978 of file NBNode.h.

Referenced by NBNodeTypeComputer::computeNodeTypes(), and typeWasGuessed().

◆ myWalkingAreaCustomShapes

std::vector<WalkingAreaCustomShape> NBNode::myWalkingAreaCustomShapes
private

Vector of custom walking areas shapes.

Definition at line 925 of file NBNode.h.

Referenced by addWalkingAreaShape(), buildWalkingAreas(), getWalkingAreaCustomShapes(), mirrorX(), and reshiftPosition().

◆ myWalkingAreas

std::vector<WalkingArea> NBNode::myWalkingAreas
private

◆ SCURVE_IGNORE

const int NBNode::SCURVE_IGNORE
static

Definition at line 227 of file NBNode.h.

Referenced by bezierControlPoints(), and NBEdge::buildInnerEdges().

◆ UNSPECIFIED_RADIUS

const double NBNode::UNSPECIFIED_RADIUS = -1
static

The documentation for this class was generated from the following files: