Eclipse SUMO - Simulation of Urban MObility
NBNodeTypeComputer Class Reference

#include <NBAlgorithms.h>

Collaboration diagram for NBNodeTypeComputer:

Static Public Member Functions

static void computeNodeTypes (NBNodeCont &nc, NBTrafficLightLogicCont &tlc)
 Computes node types. More...
 
static bool isRailwayNode (const NBNode *n)
 whether the given node only has rail edges More...
 
static void validateRailCrossings (NBNodeCont &nc, NBTrafficLightLogicCont &tlc)
 Checks rail_crossing for validity. More...
 

Detailed Description

Definition at line 203 of file NBAlgorithms.h.

Member Function Documentation

◆ computeNodeTypes()

◆ isRailwayNode()

bool NBNodeTypeComputer::isRailwayNode ( const NBNode n)
static

whether the given node only has rail edges

Definition at line 271 of file NBAlgorithms.cpp.

References NBNode::getIncomingEdges(), and SVC_RAIL_CLASSES.

Referenced by NBNodeCont::discardTrafficLights(), NBNode::getLinkState(), and NBNodeCont::guessTLs().

◆ validateRailCrossings()


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