![]() |
Eclipse SUMO - Simulation of Urban MObility
|
routing edge More...
#include <NBAlgorithms_Railway.h>
Public Member Functions | |
void | addSuccessor (Track *track) |
const std::string & | getID () const |
double | getLength () const |
int | getNumericalID () const |
const std::vector< Track * > & | getSuccessors (SUMOVehicleClass svc=SVC_IGNORING) const |
const std::vector< std::pair< const Track *, const Track * > > & | getViaSuccessors (SUMOVehicleClass svc=SVC_IGNORING) const |
bool | isInternal () const |
Track (NBEdge *e, int i=-1, const std::string &_id="") | |
Data Fields | |
NBEdge * | edge |
Private Member Functions | |
Track & | operator= (const Track &)=delete |
Private Attributes | |
const std::string | id |
const int | index |
SVCPermissions | minPermissions |
std::vector< Track * > | successors |
std::map< SUMOVehicleClass, std::vector< Track * > > | svcSuccessors |
std::map< SUMOVehicleClass, std::vector< std::pair< const Track *, const Track * > > > | svcViaSuccessors |
std::vector< std::pair< const Track *, const Track * > > | viaSuccessors |
routing edge
Definition at line 59 of file NBAlgorithms_Railway.h.
|
inline |
Definition at line 61 of file NBAlgorithms_Railway.h.
References addSuccessor(), getSuccessors(), getViaSuccessors(), and SVC_IGNORING.
Referenced by NBRailwayTopologyAnalyzer::addBidiEdgesForStops().
void NBRailwayTopologyAnalyzer::Track::addSuccessor | ( | Track * | track | ) |
Definition at line 60 of file NBAlgorithms_Railway.cpp.
References edge, NBEdge::getPermissions(), minPermissions, successors, and viaSuccessors.
Referenced by Track().
|
inline |
Definition at line 72 of file NBAlgorithms_Railway.h.
References id.
|
inline |
Definition at line 78 of file NBAlgorithms_Railway.h.
|
inline |
Definition at line 75 of file NBAlgorithms_Railway.h.
References index.
Referenced by NBRailwayTopologyAnalyzer::addBidiEdgesForStops().
const std::vector< NBRailwayTopologyAnalyzer::Track * > & NBRailwayTopologyAnalyzer::Track::getSuccessors | ( | SUMOVehicleClass | svc = SVC_IGNORING | ) | const |
Definition at line 67 of file NBAlgorithms_Railway.cpp.
References minPermissions, successors, and svcSuccessors.
Referenced by Track().
const std::vector< std::pair< const NBRailwayTopologyAnalyzer::Track *, const NBRailwayTopologyAnalyzer::Track * > > & NBRailwayTopologyAnalyzer::Track::getViaSuccessors | ( | SUMOVehicleClass | svc = SVC_IGNORING | ) | const |
Definition at line 85 of file NBAlgorithms_Railway.cpp.
References minPermissions, successors, svcViaSuccessors, and viaSuccessors.
Referenced by Track().
|
inline |
Definition at line 81 of file NBAlgorithms_Railway.h.
NBEdge* NBRailwayTopologyAnalyzer::Track::edge |
Definition at line 85 of file NBAlgorithms_Railway.h.
Referenced by NBRailwayTopologyAnalyzer::addBidiEdge(), NBRailwayTopologyAnalyzer::addBidiEdgesBetweenSwitches(), NBRailwayTopologyAnalyzer::addBidiEdgesForStops(), addSuccessor(), NBRailwayTopologyAnalyzer::getTravelTimeStatic(), and NBRailwayTopologyAnalyzer::makeAllBidi().
|
private |
Definition at line 89 of file NBAlgorithms_Railway.h.
Referenced by getID().
|
private |
Definition at line 88 of file NBAlgorithms_Railway.h.
Referenced by NBRailwayTopologyAnalyzer::addBidiEdgesForStops(), and getNumericalID().
|
private |
Definition at line 92 of file NBAlgorithms_Railway.h.
Referenced by addSuccessor(), getSuccessors(), and getViaSuccessors().
|
private |
Definition at line 90 of file NBAlgorithms_Railway.h.
Referenced by addSuccessor(), getSuccessors(), and getViaSuccessors().
|
mutableprivate |
Definition at line 93 of file NBAlgorithms_Railway.h.
Referenced by getSuccessors().
|
mutableprivate |
Definition at line 94 of file NBAlgorithms_Railway.h.
Referenced by getViaSuccessors().
|
private |
Definition at line 91 of file NBAlgorithms_Railway.h.
Referenced by addSuccessor(), and getViaSuccessors().