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.
void NBRailwayTopologyAnalyzer::Track::addSuccessor | ( | Track * | track | ) |
Definition at line 60 of file NBAlgorithms_Railway.cpp.
References edge, NBEdge::getPermissions(), minPermissions, successors, and viaSuccessors.
|
inline |
Definition at line 80 of file NBAlgorithms_Railway.h.
|
inline |
Definition at line 71 of file NBAlgorithms_Railway.h.
References id.
|
inline |
Definition at line 77 of file NBAlgorithms_Railway.h.
|
inline |
Definition at line 74 of file NBAlgorithms_Railway.h.
References index.
const std::vector< NBRailwayTopologyAnalyzer::Track * > & NBRailwayTopologyAnalyzer::Track::getSuccessors | ( | SUMOVehicleClass | svc = SVC_IGNORING | ) | const |
Definition at line 68 of file NBAlgorithms_Railway.cpp.
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.
|
inline |
Definition at line 83 of file NBAlgorithms_Railway.h.
|
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(), and NBRailwayTopologyAnalyzer::getTravelTimeStatic().
|
private |
Definition at line 98 of file NBAlgorithms_Railway.h.
Referenced by getID().
|
private |
Definition at line 97 of file NBAlgorithms_Railway.h.
Referenced by getNumericalID().
|
private |
Definition at line 101 of file NBAlgorithms_Railway.h.
Referenced by addSuccessor().
double NBRailwayTopologyAnalyzer::Track::penalty |
Definition at line 94 of file NBAlgorithms_Railway.h.
Referenced by NBRailwayTopologyAnalyzer::getTravelTimeStatic().
|
private |
Definition at line 99 of file NBAlgorithms_Railway.h.
Referenced by addSuccessor().
|
mutableprivate |
Definition at line 102 of file NBAlgorithms_Railway.h.
|
mutableprivate |
Definition at line 103 of file NBAlgorithms_Railway.h.
|
private |
Definition at line 100 of file NBAlgorithms_Railway.h.
Referenced by addSuccessor().