![]() |
SUMO - Simulation of Urban MObility
|
#include <NBAlgorithms.h>
Static Public Member Functions | |
static void | computeNodeTypes (NBNodeCont &nc) |
Computes node types. More... | |
static void | computeSingleNodeType (NBNode *node) |
Computes a single node type. 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 156 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 |
Computes a single node type.
[in] | node | the single node to compute node type |
Definition at line 213 of file NBAlgorithms.cpp.
References 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.