Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
IntermodalTrip< E, N, V > Class Template Reference

the "vehicle" type that is given to the internal router (SUMOAbstractRouter) More...

#include <IntermodalTrip.h>

Collaboration diagram for IntermodalTrip< E, N, V >:
[legend]

Public Member Functions

double getChosenSpeedFactor () const
 
std::string getID () const
 
double getLength () const
 
double getMaxSpeed () const
 
SUMOVehicleClass getVClass () const
 
 IntermodalTrip (const E *_from, const E *_to, double _departPos, double _arrivalPos, double _speed, SUMOTime _departTime, const N *_node, const V *_vehicle=0, const SVCPermissions _modeSet=SVC_PEDESTRIAN, const EffortCalculator *const _calc=nullptr, const double _externalFactor=0.)
 

Data Fields

const double arrivalPos
 
const EffortCalculator *const calc
 
const double departPos
 
const SUMOTime departTime
 
const double externalFactor
 
const E *const from
 
const SVCPermissions modeSet
 
const N *const node
 
const double speed
 
const E *const to
 
const V *const vehicle
 

Private Member Functions

IntermodalTripoperator= (const IntermodalTrip &)
 Invalidated assignment operator.
 

Detailed Description

template<class E, class N, class V>
class IntermodalTrip< E, N, V >

the "vehicle" type that is given to the internal router (SUMOAbstractRouter)

Definition at line 36 of file IntermodalTrip.h.

Constructor & Destructor Documentation

◆ IntermodalTrip()

template<class E , class N , class V >
IntermodalTrip< E, N, V >::IntermodalTrip ( const E *  _from,
const E *  _to,
double  _departPos,
double  _arrivalPos,
double  _speed,
SUMOTime  _departTime,
const N *  _node,
const V *  _vehicle = 0,
const SVCPermissions  _modeSet = SVC_PEDESTRIAN,
const EffortCalculator *const  _calc = nullptr,
const double  _externalFactor = 0. 
)
inline

Definition at line 38 of file IntermodalTrip.h.

Member Function Documentation

◆ getChosenSpeedFactor()

template<class E , class N , class V >
double IntermodalTrip< E, N, V >::getChosenSpeedFactor ( ) const
inline

Definition at line 76 of file IntermodalTrip.h.

References IntermodalTrip< E, N, V >::vehicle.

◆ getID()

template<class E , class N , class V >
std::string IntermodalTrip< E, N, V >::getID ( ) const
inline

Definition at line 56 of file IntermodalTrip.h.

References IntermodalTrip< E, N, V >::departTime, IntermodalTrip< E, N, V >::from, time2string(), and IntermodalTrip< E, N, V >::to.

Referenced by PedestrianEdge< E, L, N, V >::getTravelTime().

Here is the caller graph for this function:

◆ getLength()

template<class E , class N , class V >
double IntermodalTrip< E, N, V >::getLength ( ) const
inline

Definition at line 65 of file IntermodalTrip.h.

References IntermodalTrip< E, N, V >::vehicle.

◆ getMaxSpeed()

template<class E , class N , class V >
double IntermodalTrip< E, N, V >::getMaxSpeed ( ) const
inline

Definition at line 71 of file IntermodalTrip.h.

References IntermodalTrip< E, N, V >::speed, and IntermodalTrip< E, N, V >::vehicle.

Referenced by IntermodalEdge< E, L, N, V >::getMinimumTravelTime().

Here is the caller graph for this function:

◆ getVClass()

template<class E , class N , class V >
SUMOVehicleClass IntermodalTrip< E, N, V >::getVClass ( ) const
inline

Definition at line 61 of file IntermodalTrip.h.

References SVC_PEDESTRIAN, and IntermodalTrip< E, N, V >::vehicle.

◆ operator=()

template<class E , class N , class V >
IntermodalTrip & IntermodalTrip< E, N, V >::operator= ( const IntermodalTrip< E, N, V > &  )
private

Invalidated assignment operator.

Field Documentation

◆ arrivalPos

◆ calc

template<class E , class N , class V >
const EffortCalculator* const IntermodalTrip< E, N, V >::calc

Definition at line 89 of file IntermodalTrip.h.

Referenced by IntermodalRouter< E, L, N, V >::getCombined().

◆ departPos

◆ departTime

template<class E , class N , class V >
const SUMOTime IntermodalTrip< E, N, V >::departTime

◆ externalFactor

template<class E , class N , class V >
const double IntermodalTrip< E, N, V >::externalFactor

Definition at line 90 of file IntermodalTrip.h.

Referenced by IntermodalRouter< E, L, N, V >::getCombined().

◆ from

◆ modeSet

template<class E , class N , class V >
const SVCPermissions IntermodalTrip< E, N, V >::modeSet

◆ node

template<class E , class N , class V >
const N* const IntermodalTrip< E, N, V >::node

Definition at line 86 of file IntermodalTrip.h.

Referenced by PedestrianEdge< E, L, N, V >::prohibits().

◆ speed

◆ to

◆ vehicle


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