WSF
WsfOSM_TrafficInput::VehicleInput Class Reference

#include <WsfOSM_TrafficInput.hpp>

Public Member Functions

 VehicleInput ()=default
 VehicleInput (WsfStringId aTypeId)

Public Attributes

WsfStringId mTypeId {}
int mCount {0}
 String Id of the type of the vehicle.
double mFraction {0.0}
 The number of vehicles that should be created of this type.
double mMeanSpeed {0.0}
 The percentage of this vehicle type that should exist in the simulation.
double mSigmaSpeed {0.0}
 Mean velocity in m/s: will only be considered when no speed limit exists.
bool mIgnoreSpeedLimits {false}
 Sigma velocity in m/s: will only be considered when no speed limit exists.

Constructor & Destructor Documentation

◆ VehicleInput() [1/2]

WsfOSM_TrafficInput::VehicleInput::VehicleInput ( )
default

◆ VehicleInput() [2/2]

WsfOSM_TrafficInput::VehicleInput::VehicleInput ( WsfStringId aTypeId)
inline

References mTypeId.

Member Data Documentation

◆ mCount

int WsfOSM_TrafficInput::VehicleInput::mCount {0}

String Id of the type of the vehicle.

◆ mFraction

double WsfOSM_TrafficInput::VehicleInput::mFraction {0.0}

The number of vehicles that should be created of this type.

◆ mIgnoreSpeedLimits

bool WsfOSM_TrafficInput::VehicleInput::mIgnoreSpeedLimits {false}

Sigma velocity in m/s: will only be considered when no speed limit exists.

◆ mMeanSpeed

double WsfOSM_TrafficInput::VehicleInput::mMeanSpeed {0.0}

The percentage of this vehicle type that should exist in the simulation.

◆ mSigmaSpeed

double WsfOSM_TrafficInput::VehicleInput::mSigmaSpeed {0.0}

Mean velocity in m/s: will only be considered when no speed limit exists.

◆ mTypeId

WsfStringId WsfOSM_TrafficInput::VehicleInput::mTypeId {}

Referenced by VehicleInput().


The documentation for this class was generated from the following file:
Copyrights Multiple, All Rights Reserved