SUMO - Simulation of Urban MObility
NBNodeTypeComputer Class Reference

#include <NBAlgorithms.h>

Collaboration diagram for NBNodeTypeComputer:
Collaboration graph

Static Public Member Functions

static void computeNodeTypes (NBNodeCont &nc, NBTrafficLightLogicCont &tlc)
 Computes node types. More...
 
static bool isRailwayNode (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()

void NBNodeTypeComputer::computeNodeTypes ( NBNodeCont nc,
NBTrafficLightLogicCont tlc 
)
static

◆ isRailwayNode()

bool NBNodeTypeComputer::isRailwayNode ( NBNode n)
static

whether the given node only has rail edges

Definition at line 257 of file NBAlgorithms.cpp.

References NBNode::getIncomingEdges(), and SVC_RAIL_CLASSES.

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

◆ validateRailCrossings()


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