Eclipse SUMO - Simulation of Urban MObility
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) const =0
 
virtual bool isInternal () const
 
bool prohibits (const NBVehicle *const) const
 
bool restricts (const NBVehicle *const) const
 

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.

Member Function Documentation

◆ getBidiEdge()

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

Implemented in NBEdge, and NBEdge::Connection.

◆ getID()

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

Implemented in NBEdge, and NBEdge::Connection.

◆ getLength()

virtual double NBRouterEdge::getLength ( ) const
pure virtual

Implemented in NBEdge, and NBEdge::Connection.

Referenced by getTravelTimeStatic().

Here is the caller graph for this function:

◆ getNumericalID()

virtual int NBRouterEdge::getNumericalID ( ) const
pure virtual

Implemented in NBEdge, and NBEdge::Connection.

◆ getSpeed()

virtual double NBRouterEdge::getSpeed ( ) const
pure virtual

Implemented in NBEdge, and NBEdge::Connection.

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 81 of file NBEdge.h.

References getLength(), and getSpeed().

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

Here is the caller graph for this function:

◆ getViaSuccessors()

virtual const ConstRouterEdgePairVector& NBRouterEdge::getViaSuccessors ( SUMOVehicleClass  vClass = SVC_IGNORING) const
pure virtual

Implemented in NBEdge, and NBEdge::Connection.

◆ isInternal()

virtual bool NBRouterEdge::isInternal ( ) const
inlinevirtual

Reimplemented in NBEdge::Connection.

Definition at line 70 of file NBEdge.h.

◆ prohibits()

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

Definition at line 73 of file NBEdge.h.

◆ restricts()

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

Definition at line 76 of file NBEdge.h.


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