Eclipse SUMO - Simulation of Urban MObility
|
#include <NBAlgorithms.h>
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... | |
Definition at line 194 of file NBAlgorithms.h.
|
static |
Computes node types.
[in] | nc | The container of nodes to loop along |
Definition at line 256 of file NBAlgorithms.cpp.
References DEAD_END, OptionsCont::getBool(), NBNode::getEdges(), OptionsCont::getFloat(), Named::getID(), NBNode::getOppositeIncoming(), OptionsCont::getOptions(), NBNode::isDistrict(), OptionsCont::isInStringVector(), NBNode::isNearDistrict(), isRailwayNode(), NBNode::isSimpleContinuation(), isWaterway(), LEFT_BEFORE_RIGHT, MAX2(), NBNode::myIncomingEdges, NBNode::myType, NBNode::myTypeWasGuessed, NOJUNCTION, PRIORITY, RIGHT_BEFORE_LEFT, UNKNOWN, and validateRailCrossings().
Referenced by NBNetBuilder::compute().
|
static |
whether the given node only has rail edges
Definition at line 380 of file NBAlgorithms.cpp.
References NBNode::getIncomingEdges(), SVC_RAIL_CLASSES, and SVC_TAXI.
Referenced by computeNodeTypes(), NBNodeCont::discardTrafficLights(), NBNode::getLinkState(), NBNodeCont::guessTLs(), and NBNodeShapeComputer::NBNodeShapeComputer().
|
static |
Checks rail_crossing for validity.
[in] | nc | The container of nodes to loop along |
Definition at line 329 of file NBAlgorithms.cpp.
References NBNodeCont::begin(), NBNodeCont::end(), StringBijection< T >::get(), Named::getID(), NBNode::getIncomingEdges(), OptionsCont::getOptions(), NBNode::getOutgoingEdges(), NBTrafficLightLogicCont::insert(), NBNode::myType, PRIORITY, RAIL_CROSSING, NBNode::removeTrafficLight(), SVC_PEDESTRIAN, SVC_RAIL_CLASSES, TL, TRAFFIC_LIGHT, SUMOXMLDefinitions::TrafficLightTypes, and WRITE_WARNINGF.
Referenced by NBNetBuilder::compute(), and computeNodeTypes().