35template<
class E,
class N,
class V>
38 IntermodalTrip(
const E* _from,
const E* _to,
double _departPos,
double _arrivalPos,
39 double _speed,
SUMOTime _departTime,
const N* _node,
41 const EffortCalculator*
const _calc =
nullptr,
const double _externalFactor = 0.) :
69 return vehicle != 0 ?
vehicle->ignoreTransientPermissions() :
false;
std::string time2string(SUMOTime t, bool humanReadable)
convert SUMOTime to string (independently of global format setting)
long long int SVCPermissions
bitset where each bit declares whether a certain SVC may use this edge/lane
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types.
@ SVC_PEDESTRIAN
pedestrian
the effort calculator interface
the "vehicle" type that is given to the internal router (SUMOAbstractRouter)
std::string getID() 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 V *_vehicle=0, const SVCPermissions _modeSet=SVC_PEDESTRIAN, const EffortCalculator *const _calc=nullptr, const double _externalFactor=0.)
const SVCPermissions modeSet
const EffortCalculator *const calc
SUMOVehicleClass getVClass() const
const double externalFactor
const SUMOTime departTime
double getChosenSpeedFactor() const
IntermodalTrip & operator=(const IntermodalTrip &)
Invalidated assignment operator.
double getMaxSpeed() const