Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
NBRailwaySignalGuesser Class Reference

#include <NBAlgorithms_Railway.h>

Static Public Member Functions

static int guessRailSignals (NBNodeCont &nc, NBEdgeCont &ec, NBPTStopCont &sc, NBDistrictCont &dc)

Static Private Member Functions

static bool canBeSignal (const NBNode *node)
static int guessByStops (NBNodeCont &nc, NBEdgeCont &ec, NBPTStopCont &sc, NBDistrictCont &dc, double minLength, bool split)

Detailed Description

Definition at line 163 of file NBAlgorithms_Railway.h.

Member Function Documentation

◆ canBeSignal()

bool NBRailwaySignalGuesser::canBeSignal ( const NBNode * node)
staticprivate

Definition at line 1398 of file NBAlgorithms_Railway.cpp.

References NBNode::getEdges(), NBNode::getIncomingEdges(), NBNode::getOutgoingEdges(), NBNode::getType(), and RAIL_SIGNAL.

Referenced by guessByStops().

Here is the caller graph for this function:

◆ guessByStops()

◆ guessRailSignals()

int NBRailwaySignalGuesser::guessRailSignals ( NBNodeCont & nc,
NBEdgeCont & ec,
NBPTStopCont & sc,
NBDistrictCont & dc )
static

Definition at line 1378 of file NBAlgorithms_Railway.cpp.

References NBTurningDirectionsComputer::computeTurnDirections(), OptionsCont::exists(), OptionsCont::getBool(), OptionsCont::getFloat(), OptionsCont::getOptions(), guessByStops(), and split().

Referenced by NBNetBuilder::compute().

Here is the caller graph for this function:

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