![]() |
Eclipse SUMO - Simulation of Urban MObility
|
routing edge More...
#include <NBAlgorithms_Railway.h>
Public Member Functions | |
| void | addSuccessor (Track *track) |
| const Track * | getBidiEdge () const |
| 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, bool ignoreTransientPermissions=false) const |
| bool | isInternal () const |
| bool | prohibits (const NBVehicle *const) const |
| bool | restricts (const NBVehicle *const) const |
| Track (NBEdge *e, int i=-1, const std::string &_id="", double _penalty=1) | |
Data Fields | |
| NBEdge * | edge |
| double | penalty |
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 57 of file NBAlgorithms_Railway.h.
|
inline |
Definition at line 59 of file NBAlgorithms_Railway.h.
References edge, getID(), getNumericalID(), id, index, minPermissions, and penalty.
Referenced by addSuccessor(), getBidiEdge(), getSuccessors(), getViaSuccessors(), and operator=().
| void NBRailwayTopologyAnalyzer::Track::addSuccessor | ( | Track * | track | ) |
Definition at line 60 of file NBAlgorithms_Railway.cpp.
References edge, NBEdge::getPermissions(), minPermissions, successors, Track(), and viaSuccessors.
|
inline |
Definition at line 80 of file NBAlgorithms_Railway.h.
References Track().
|
inline |
Definition at line 71 of file NBAlgorithms_Railway.h.
References id.
Referenced by Track().
|
inline |
Definition at line 77 of file NBAlgorithms_Railway.h.
|
inline |
Definition at line 74 of file NBAlgorithms_Railway.h.
References index.
Referenced by Track().
| const std::vector< NBRailwayTopologyAnalyzer::Track * > & NBRailwayTopologyAnalyzer::Track::getSuccessors | ( | SUMOVehicleClass | svc = SVC_IGNORING | ) | const |
Definition at line 68 of file NBAlgorithms_Railway.cpp.
References minPermissions, successors, svcSuccessors, and Track().
| const std::vector< std::pair< const NBRailwayTopologyAnalyzer::Track *, const NBRailwayTopologyAnalyzer::Track * > > & NBRailwayTopologyAnalyzer::Track::getViaSuccessors | ( | SUMOVehicleClass | svc = SVC_IGNORING, |
| bool | ignoreTransientPermissions = false ) const |
Definition at line 87 of file NBAlgorithms_Railway.cpp.
References minPermissions, successors, svcViaSuccessors, Track(), and viaSuccessors.
|
inline |
Definition at line 83 of file NBAlgorithms_Railway.h.
References Track().
|
inline |
Definition at line 86 of file NBAlgorithms_Railway.h.
|
inline |
Definition at line 89 of file NBAlgorithms_Railway.h.
| NBEdge* NBRailwayTopologyAnalyzer::Track::edge |
Definition at line 93 of file NBAlgorithms_Railway.h.
Referenced by addSuccessor(), NBRailwayTopologyAnalyzer::getTravelTimeStatic(), and Track().
|
private |
Definition at line 98 of file NBAlgorithms_Railway.h.
|
private |
Definition at line 97 of file NBAlgorithms_Railway.h.
Referenced by getNumericalID(), and Track().
|
private |
Definition at line 101 of file NBAlgorithms_Railway.h.
Referenced by addSuccessor(), getSuccessors(), getViaSuccessors(), and Track().
| double NBRailwayTopologyAnalyzer::Track::penalty |
Definition at line 94 of file NBAlgorithms_Railway.h.
Referenced by NBRailwayTopologyAnalyzer::getTravelTimeStatic(), and Track().
|
private |
Definition at line 99 of file NBAlgorithms_Railway.h.
Referenced by addSuccessor(), getSuccessors(), and getViaSuccessors().
|
mutableprivate |
Definition at line 102 of file NBAlgorithms_Railway.h.
Referenced by getSuccessors().
|
mutableprivate |
Definition at line 103 of file NBAlgorithms_Railway.h.
Referenced by getViaSuccessors().
|
private |
Definition at line 100 of file NBAlgorithms_Railway.h.
Referenced by addSuccessor(), and getViaSuccessors().