![]() |
SUMO - Simulation of Urban MObility
|
#include <NBAlgorithms.h>

Static Public Member Functions | |
| static void | computeNodeTypes (NBNodeCont &nc) |
| Computes node types. More... | |
| static bool | isRailwayNode (NBNode *n) |
| whether the given node only has rail edges More... | |
| static void | validateRailCrossings (NBNodeCont &nc) |
| Checks rail_crossing for validity. More... | |
Definition at line 203 of file NBAlgorithms.h.
|
static |
Computes node types.
| [in] | nc | The container of nodes to loop along |
Definition at line 150 of file NBAlgorithms.cpp.
References NBNodeCont::begin(), NBNodeCont::end(), NBNode::getEdges(), NBNode::getOppositeIncoming(), NBNode::isSimpleContinuation(), isWaterway(), MAX2(), NBNode::myIncomingEdges, NBNode::myType, NODETYPE_DEAD_END, NODETYPE_NOJUNCTION, NODETYPE_PRIORITY, NODETYPE_RIGHT_BEFORE_LEFT, and NODETYPE_UNKNOWN.
Referenced by NBNetBuilder::compute().
|
static |
whether the given node only has rail edges
Definition at line 244 of file NBAlgorithms.cpp.
References NBNode::getIncomingEdges(), and SVC_RAIL_CLASSES.
Referenced by NBNodeCont::discardTrafficLights(), and NBNodeCont::guessTLs().
|
static |
Checks rail_crossing for validity.
| [in] | nc | The container of nodes to loop along |
Definition at line 208 of file NBAlgorithms.cpp.
References NBNodeCont::begin(), NBNodeCont::end(), NBNode::getIncomingEdges(), NBNode::getOutgoingEdges(), NBNode::myType, NODETYPE_PRIORITY, NODETYPE_RAIL_CROSSING, SVC_PEDESTRIAN, and SVC_RAIL_CLASSES.
Referenced by NBNetBuilder::compute().