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
const SUMOVTypeParameter & getVTypeParameter () const
bool ignoreTransientPermissions () const
 Returns whether this object is ignoring transient permission changes (during routing).
 IntermodalTrip (const E *_from, const E *_to, double _departPos, double _arrivalPos, double _speed, SUMOTime _departTime, const N *_node, const SUMOVTypeParameter &_pars, 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 SUMOVTypeParameter & pars
const double speed
const E *const to
const V *const vehicle

Private Member Functions

IntermodalTrip & operator= (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 37 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 SUMOVTypeParameter & _pars,
const V * _vehicle = 0,
const SVCPermissions _modeSet = SVC_PEDESTRIAN,
const EffortCalculator *const _calc = nullptr,
const double _externalFactor = 0. )
inline

Definition at line 39 of file IntermodalTrip.h.

References arrivalPos, calc, departPos, departTime, externalFactor, from, getLength(), modeSet, node, pars, speed, SVC_PEDESTRIAN, to, and vehicle.

Referenced by operator=().

Here is the caller graph for this function:

Member Function Documentation

◆ getChosenSpeedFactor()

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

Definition at line 90 of file IntermodalTrip.h.

References vehicle.

◆ getID()

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

Definition at line 59 of file IntermodalTrip.h.

References departTime, from, time2string(), and 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 79 of file IntermodalTrip.h.

References vehicle.

Referenced by IntermodalTrip().

Here is the caller graph for this function:

◆ getMaxSpeed()

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

Definition at line 85 of file IntermodalTrip.h.

References speed, and 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 64 of file IntermodalTrip.h.

References SVC_PEDESTRIAN, and vehicle.

◆ getVTypeParameter()

template<class E, class N, class V>
const SUMOVTypeParameter & IntermodalTrip< E, N, V >::getVTypeParameter ( ) const
inline

Definition at line 68 of file IntermodalTrip.h.

References pars, and vehicle.

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

Here is the caller graph for this function:

◆ ignoreTransientPermissions()

template<class E, class N, class V>
bool IntermodalTrip< E, N, V >::ignoreTransientPermissions ( ) const
inline

Returns whether this object is ignoring transient permission changes (during routing).

Definition at line 75 of file IntermodalTrip.h.

References vehicle.

◆ operator=()

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

Invalidated assignment operator.

References IntermodalTrip().

Field Documentation

◆ arrivalPos

◆ calc

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

◆ 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

◆ from

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

◆ modeSet

◆ node

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

Definition at line 100 of file IntermodalTrip.h.

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

◆ pars

template<class E, class N, class V>
const SUMOVTypeParameter& IntermodalTrip< E, N, V >::pars

Definition at line 101 of file IntermodalTrip.h.

Referenced by getVTypeParameter(), and IntermodalTrip().

◆ speed

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

◆ to

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

◆ vehicle


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