Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
NBRouterEdge Class Referenceabstract

Superclass for NBEdge and NBEdge::Connection to initialize Router. More...

#include <NBEdge.h>

Inheritance diagram for NBRouterEdge:
[legend]

Public Member Functions

virtual const NBRouterEdgegetBidiEdge () const =0
 
virtual const std::string & getID () const =0
 
virtual double getLength () const =0
 
virtual int getNumericalID () const =0
 
virtual double getSpeed () const =0
 
virtual const ConstRouterEdgePairVectorgetViaSuccessors (SUMOVehicleClass vClass=SVC_IGNORING, bool ignoreTransientPermissions=false) const =0
 
virtual bool isInternal () const
 
bool prohibits (const NBVehicle *const) const
 
bool restricts (const NBVehicle *const) const
 
virtual ~NBRouterEdge ()
 

Static Public Member Functions

static double getTravelTimeStatic (const NBRouterEdge *const edge, const NBVehicle *const, double)
 

Detailed Description

Superclass for NBEdge and NBEdge::Connection to initialize Router.

Definition at line 62 of file NBEdge.h.

Constructor & Destructor Documentation

◆ ~NBRouterEdge()

virtual NBRouterEdge::~NBRouterEdge ( )
inlinevirtual

Definition at line 64 of file NBEdge.h.

Member Function Documentation

◆ getBidiEdge()

virtual const NBRouterEdge * NBRouterEdge::getBidiEdge ( ) const
pure virtual

Implemented in NBEdge::Connection, and NBEdge.

◆ getID()

virtual const std::string & NBRouterEdge::getID ( ) const
pure virtual

Implemented in NBEdge::Connection, and NBEdge.

◆ getLength()

virtual double NBRouterEdge::getLength ( ) const
pure virtual

Implemented in NBEdge::Connection, and NBEdge.

Referenced by getTravelTimeStatic().

Here is the caller graph for this function:

◆ getNumericalID()

virtual int NBRouterEdge::getNumericalID ( ) const
pure virtual

Implemented in NBEdge::Connection, and NBEdge.

◆ getSpeed()

virtual double NBRouterEdge::getSpeed ( ) const
pure virtual

Implemented in NBEdge::Connection, and NBEdge.

Referenced by getTravelTimeStatic().

Here is the caller graph for this function:

◆ getTravelTimeStatic()

static double NBRouterEdge::getTravelTimeStatic ( const NBRouterEdge *const  edge,
const NBVehicle * const  ,
double   
)
inlinestatic

Definition at line 82 of file NBEdge.h.

References getLength(), and getSpeed().

Referenced by NBPTLineCont::fixBidiStops(), GNEPathManager::PathCalculator::PathCalculator(), and GNEPathManager::PathCalculator::updatePathCalculator().

Here is the caller graph for this function:

◆ getViaSuccessors()

virtual const ConstRouterEdgePairVector & NBRouterEdge::getViaSuccessors ( SUMOVehicleClass  vClass = SVC_IGNORING,
bool  ignoreTransientPermissions = false 
) const
pure virtual

Implemented in NBEdge::Connection, and NBEdge.

◆ isInternal()

virtual bool NBRouterEdge::isInternal ( ) const
inlinevirtual

Reimplemented in NBEdge::Connection.

Definition at line 71 of file NBEdge.h.

◆ prohibits()

bool NBRouterEdge::prohibits ( const NBVehicle * const  ) const
inline

Definition at line 74 of file NBEdge.h.

◆ restricts()

bool NBRouterEdge::restricts ( const NBVehicle * const  ) const
inline

Definition at line 77 of file NBEdge.h.


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