![]() |
SUMO - Simulation of Urban MObility
|
#include <GNECalibratorVehicleType.h>
Public Member Functions | |
double | getAccel () const |
get accel More... | |
double | getBoardingDuration () const |
get boarding duration More... | |
GNECalibrator * | getCalibratorParent () const |
get pointer to calibrator parent More... | |
std::string | getCarFollowModel () const |
get car follow model More... | |
std::string | getColor () const |
get color More... | |
int | getContainerCapacity () const |
get container capacity More... | |
double | getDecel () const |
get decel More... | |
std::string | getEmissionClass () const |
get emission class More... | |
std::string | getFilename () const |
get filename More... | |
double | getImpatience () const |
get impatience More... | |
std::string | getLaneChangeModel () const |
get lane change model More... | |
std::string | getLatAlignment () const |
get lateral lat More... | |
double | getLength () const |
get length More... | |
double | getLoadingDuration () const |
get loading duration More... | |
double | getMaxSpeed () const |
get max speed More... | |
double | getMaxSpeedLat () const |
get max speed lat More... | |
double | getMinGap () const |
get min gap More... | |
double | getMinGapLat () const |
get min gap lat More... | |
int | getPersonCapacity () const |
get person capacity More... | |
SUMOVehicleShape | getShape () const |
get shape More... | |
double | getSigma () const |
get sigma More... | |
double | getSpeedDev () const |
get speed dev More... | |
double | getSpeedFactor () const |
get speed factor More... | |
SumoXMLTag | getTag () const |
get tag More... | |
double | getTau () const |
get tau More... | |
SUMOVehicleClass | getVClass () const |
get VClass More... | |
std::string | getVehicleTypeID () const |
get VehicleTypeID More... | |
double | getWidth () const |
get width More... | |
GNECalibratorVehicleType (GNECalibrator *calibratorParent) | |
constructor More... | |
GNECalibratorVehicleType (GNECalibrator *calibratorParent, std::string vehicleTypeID, double accel, double decel, double sigma, double tau, double length, double minGap, double maxSpeed, double speedFactor, double speedDev, const std::string &color, SUMOVehicleClass vClass, const std::string &emissionClass, SUMOVehicleShape shape, double width, const std::string &filename, double impatience, const std::string &laneChangeModel, const std::string &carFollowModel, int personCapacity, int containerCapacity, double boardingDuration, double loadingDuration, const std::string &latAlignment, double minGapLat, double maxSpeedLat) | |
parameter constructor More... | |
bool | operator== (const GNECalibratorVehicleType &calibratorVehicleType) const |
overload operator == More... | |
bool | setAccel (double accel=2.6) |
set accel More... | |
bool | setAccel (std::string accel) |
set accel (string version) More... | |
bool | setBoardingDuration (double boardingDuration=0.5) |
set boarding duration More... | |
bool | setBoardingDuration (std::string boardingDuration) |
set boarding duration (string version) More... | |
bool | setCarFollowModel (std::string carFollowModel="Krauss") |
set car follow model More... | |
bool | setColor (std::string color="1,1,0") |
set color More... | |
bool | setContainerCapacity (int containerCapacity=0) |
set container capacity More... | |
bool | setContainerCapacity (std::string containerCapacity) |
set container capacity (string version) More... | |
bool | setDecel (double decel=4.5) |
set decel More... | |
bool | setDecel (std::string decel) |
set decel (string version) More... | |
bool | setEmissionClass (std::string emissionClass="P_7_7") |
set emission class More... | |
bool | setFilename (std::string filename="") |
set filename More... | |
bool | setImpatience (double impatience=0.0) |
set impatience More... | |
bool | setImpatience (std::string impatience) |
set impatience (string version) More... | |
bool | setLaneChangeModel (std::string laneChangeModel="LC2013") |
set lane change model More... | |
bool | setLatAlignment (std::string latAlignment="center") |
set lateral lat More... | |
bool | setLength (double length=5.0) |
set length More... | |
bool | setLength (std::string length) |
set length (string version) More... | |
bool | setLoadingDuration (double loadingDuration=90.0) |
set loading duration More... | |
bool | setLoadingDuration (std::string loadingDuration) |
set loading duration (string version) More... | |
bool | setMaxSpeed (double maxSpeed=70.0) |
set max speed More... | |
bool | setMaxSpeed (std::string maxSpeed) |
set max speed (string version) More... | |
bool | setMaxSpeedLat (double maxSpeedLat=1.0) |
set max speed lat More... | |
bool | setMaxSpeedLat (std::string maxSpeedLat) |
set max speed lat (string version) More... | |
bool | setMinGap (double minGap=2.5) |
set min gap More... | |
bool | setMinGap (std::string minGap) |
set min gap (string version) More... | |
bool | setMinGapLat (double minGapLat=0.12) |
set min gap lat More... | |
bool | setMinGapLat (std::string minGapLat) |
set min gap lat (string version) More... | |
bool | setPersonCapacity (int personCapacity=4) |
set person capacity More... | |
bool | setPersonCapacity (std::string personCapacity) |
set person capacity (string version) More... | |
bool | setShape (std::string shape) |
set shape (string version) More... | |
bool | setShape (SUMOVehicleShape shape=SVS_PASSENGER) |
set shape More... | |
bool | setSigma (double sigma=0.5) |
set sigma More... | |
bool | setSigma (std::string sigma) |
set sigma (string version) More... | |
bool | setSpeedDev (double speedDev=0.0) |
set speed dev More... | |
bool | setSpeedDev (std::string speedDev) |
set speed dev (string version) More... | |
bool | setSpeedFactor (double speedFactor=1.0) |
set speed factor More... | |
bool | setSpeedFactor (std::string speedFactor) |
set speed factor (string version) More... | |
bool | setTau (double tau=1.0) |
set tau More... | |
bool | setTau (std::string tau) |
set tau (string version) More... | |
bool | setVClass (SUMOVehicleClass vClass=SVC_PRIVATE) |
set VClass More... | |
bool | setVClass (std::string vClass) |
set VClass (string version) More... | |
bool | setVehicleTypeID (std::string vehicleTypeID) |
set vehicleType ID More... | |
bool | setWidth (double width=2.0) |
set width More... | |
bool | setWidth (std::string width) |
set width (string version) More... | |
~GNECalibratorVehicleType () | |
destructor More... | |
Private Attributes | |
double | myAccel |
The acceleration ability of vehicles of this type (in m/s^2) More... | |
double | myBoardingDuration |
The time required by a person to board the vehicle. More... | |
GNECalibrator * | myCalibratorParent |
pointer to calibrator parent More... | |
std::string | myCarFollowModel |
The model used for car following. More... | |
std::string | myColor |
This vehicle type's color. More... | |
int | myContainerCapacity |
The number of containers the vehicle can transport. More... | |
double | myDecel |
The deceleration ability of vehicles of this type (in m/s^2) More... | |
std::string | myEmissionClass |
An abstract emission class. More... | |
std::string | myFilename |
Image file for rendering vehicles of this type (should be grayscale to allow functional coloring) More... | |
double | myImpatience |
Willingess of drivers to impede vehicles with higher priority. See below for semantics. More... | |
std::string | myLaneChangeModel |
The model used for changing lanes. More... | |
std::string | myLatAlignment |
The preferred lateral alignment when using the sublane-model. One of (left, right, center, compact, nice, arbitrary). More... | |
double | myLength |
The vehicle's netto-length (length) (in m) More... | |
double | myLoadingDuration |
The time required to load a container onto the vehicle. More... | |
double | myMaxSpeed |
The vehicle's maximum velocity (in m/s) More... | |
double | myMaxSpeedLat |
The maximum lateral speed when using the sublane-model. More... | |
double | myMinGap |
Empty space after leader [m]. More... | |
double | myMinGapLat |
The minimum lateral gap at a speed difference of 100km/h when using the sublane-model. More... | |
int | myPersonCapacity |
The number of persons (excluding an autonomous driver) the vehicle can transport. More... | |
SUMOVehicleShape | myShape |
How this vehicle is rendered. More... | |
double | mySigma |
Car-following model parameter. More... | |
double | mySpeedDev |
The deviation of the speedFactor; see below for details. More... | |
double | mySpeedFactor |
The vehicles expected multiplicator for lane speed limits. More... | |
double | myTau |
Car-following model parameter. More... | |
SUMOVehicleClass | myVClass |
An abstract vehicle class. More... | |
std::string | myVehicleTypeID |
vehicleType ID More... | |
double | myWidth |
The vehicle's width [m] (only used for drawing) More... | |
vehicleType vehicleType used by GNECalibrators
Definition at line 50 of file GNECalibratorVehicleType.h.
GNECalibratorVehicleType::GNECalibratorVehicleType | ( | GNECalibrator * | calibratorParent | ) |
constructor
Definition at line 61 of file GNECalibratorVehicleType.cpp.
References setAccel(), setBoardingDuration(), setCarFollowModel(), setColor(), setContainerCapacity(), setDecel(), setEmissionClass(), setFilename(), setImpatience(), setLaneChangeModel(), setLatAlignment(), setLength(), setLoadingDuration(), setMaxSpeed(), setMaxSpeedLat(), setMinGap(), setMinGapLat(), setPersonCapacity(), setShape(), setSigma(), setSpeedDev(), setSpeedFactor(), setTau(), setVClass(), and setWidth().
GNECalibratorVehicleType::GNECalibratorVehicleType | ( | GNECalibrator * | calibratorParent, |
std::string | vehicleTypeID, | ||
double | accel, | ||
double | decel, | ||
double | sigma, | ||
double | tau, | ||
double | length, | ||
double | minGap, | ||
double | maxSpeed, | ||
double | speedFactor, | ||
double | speedDev, | ||
const std::string & | color, | ||
SUMOVehicleClass | vClass, | ||
const std::string & | emissionClass, | ||
SUMOVehicleShape | shape, | ||
double | width, | ||
const std::string & | filename, | ||
double | impatience, | ||
const std::string & | laneChangeModel, | ||
const std::string & | carFollowModel, | ||
int | personCapacity, | ||
int | containerCapacity, | ||
double | boardingDuration, | ||
double | loadingDuration, | ||
const std::string & | latAlignment, | ||
double | minGapLat, | ||
double | maxSpeedLat | ||
) |
parameter constructor
Definition at line 92 of file GNECalibratorVehicleType.cpp.
References setAccel(), setBoardingDuration(), setCarFollowModel(), setColor(), setContainerCapacity(), setDecel(), setEmissionClass(), setFilename(), setImpatience(), setLaneChangeModel(), setLatAlignment(), setLength(), setLoadingDuration(), setMaxSpeed(), setMaxSpeedLat(), setMinGap(), setMinGapLat(), setPersonCapacity(), setShape(), setSigma(), setSpeedDev(), setSpeedFactor(), setTau(), setVClass(), setVehicleTypeID(), and setWidth().
GNECalibratorVehicleType::~GNECalibratorVehicleType | ( | ) |
destructor
Definition at line 129 of file GNECalibratorVehicleType.cpp.
double GNECalibratorVehicleType::getAccel | ( | ) | const |
get accel
Definition at line 151 of file GNECalibratorVehicleType.cpp.
References myAccel.
Referenced by GNECalibratorVehicleTypeDialog::updateCalibratorVehicleTypeValues().
double GNECalibratorVehicleType::getBoardingDuration | ( | ) | const |
get boarding duration
Definition at line 271 of file GNECalibratorVehicleType.cpp.
References myBoardingDuration.
Referenced by GNECalibratorVehicleTypeDialog::updateCalibratorVehicleTypeValues().
GNECalibrator * GNECalibratorVehicleType::getCalibratorParent | ( | ) | const |
get pointer to calibrator parent
Definition at line 133 of file GNECalibratorVehicleType.cpp.
References myCalibratorParent.
Referenced by GNECalibratorVehicleTypeDialog::onCmdAccept().
std::string GNECalibratorVehicleType::getCarFollowModel | ( | ) | const |
get car follow model
Definition at line 253 of file GNECalibratorVehicleType.cpp.
References myCarFollowModel.
Referenced by GNECalibratorVehicleTypeDialog::updateCalibratorVehicleTypeValues().
std::string GNECalibratorVehicleType::getColor | ( | ) | const |
get color
Definition at line 205 of file GNECalibratorVehicleType.cpp.
References myColor.
Referenced by GNECalibratorVehicleTypeDialog::updateCalibratorVehicleTypeValues().
int GNECalibratorVehicleType::getContainerCapacity | ( | ) | const |
get container capacity
Definition at line 265 of file GNECalibratorVehicleType.cpp.
References myContainerCapacity.
Referenced by GNECalibratorVehicleTypeDialog::updateCalibratorVehicleTypeValues().
double GNECalibratorVehicleType::getDecel | ( | ) | const |
get decel
Definition at line 157 of file GNECalibratorVehicleType.cpp.
References myDecel.
Referenced by GNECalibratorVehicleTypeDialog::updateCalibratorVehicleTypeValues().
std::string GNECalibratorVehicleType::getEmissionClass | ( | ) | const |
get emission class
Definition at line 217 of file GNECalibratorVehicleType.cpp.
References myEmissionClass.
Referenced by GNECalibratorVehicleTypeDialog::updateCalibratorVehicleTypeValues().
std::string GNECalibratorVehicleType::getFilename | ( | ) | const |
get filename
Definition at line 235 of file GNECalibratorVehicleType.cpp.
References myFilename.
Referenced by GNECalibratorVehicleTypeDialog::updateCalibratorVehicleTypeValues().
double GNECalibratorVehicleType::getImpatience | ( | ) | const |
get impatience
Definition at line 241 of file GNECalibratorVehicleType.cpp.
References myImpatience.
Referenced by GNECalibratorVehicleTypeDialog::updateCalibratorVehicleTypeValues().
std::string GNECalibratorVehicleType::getLaneChangeModel | ( | ) | const |
get lane change model
Definition at line 247 of file GNECalibratorVehicleType.cpp.
References myLaneChangeModel.
Referenced by GNECalibratorVehicleTypeDialog::updateCalibratorVehicleTypeValues().
std::string GNECalibratorVehicleType::getLatAlignment | ( | ) | const |
get lateral lat
Definition at line 283 of file GNECalibratorVehicleType.cpp.
References myLatAlignment.
Referenced by GNECalibratorVehicleTypeDialog::updateCalibratorVehicleTypeValues().
double GNECalibratorVehicleType::getLength | ( | ) | const |
get length
Definition at line 175 of file GNECalibratorVehicleType.cpp.
References myLength.
Referenced by GNECalibratorVehicleTypeDialog::updateCalibratorVehicleTypeValues().
double GNECalibratorVehicleType::getLoadingDuration | ( | ) | const |
get loading duration
Definition at line 277 of file GNECalibratorVehicleType.cpp.
References myLoadingDuration.
Referenced by GNECalibratorVehicleTypeDialog::updateCalibratorVehicleTypeValues().
double GNECalibratorVehicleType::getMaxSpeed | ( | ) | const |
get max speed
Definition at line 187 of file GNECalibratorVehicleType.cpp.
References myMaxSpeed.
Referenced by GNECalibratorVehicleTypeDialog::updateCalibratorVehicleTypeValues().
double GNECalibratorVehicleType::getMaxSpeedLat | ( | ) | const |
get max speed lat
Definition at line 295 of file GNECalibratorVehicleType.cpp.
References myMaxSpeedLat.
Referenced by GNECalibratorVehicleTypeDialog::updateCalibratorVehicleTypeValues().
double GNECalibratorVehicleType::getMinGap | ( | ) | const |
get min gap
Definition at line 181 of file GNECalibratorVehicleType.cpp.
References myMinGap.
Referenced by GNECalibratorVehicleTypeDialog::updateCalibratorVehicleTypeValues().
double GNECalibratorVehicleType::getMinGapLat | ( | ) | const |
get min gap lat
Definition at line 289 of file GNECalibratorVehicleType.cpp.
References myMinGapLat.
Referenced by GNECalibratorVehicleTypeDialog::updateCalibratorVehicleTypeValues().
int GNECalibratorVehicleType::getPersonCapacity | ( | ) | const |
get person capacity
Definition at line 259 of file GNECalibratorVehicleType.cpp.
References myPersonCapacity.
Referenced by GNECalibratorVehicleTypeDialog::updateCalibratorVehicleTypeValues().
SUMOVehicleShape GNECalibratorVehicleType::getShape | ( | ) | const |
get shape
Definition at line 223 of file GNECalibratorVehicleType.cpp.
References myShape.
Referenced by GNECalibratorVehicleTypeDialog::updateCalibratorVehicleTypeValues().
double GNECalibratorVehicleType::getSigma | ( | ) | const |
get sigma
Definition at line 163 of file GNECalibratorVehicleType.cpp.
References mySigma.
Referenced by GNECalibratorVehicleTypeDialog::updateCalibratorVehicleTypeValues().
double GNECalibratorVehicleType::getSpeedDev | ( | ) | const |
get speed dev
Definition at line 199 of file GNECalibratorVehicleType.cpp.
References mySpeedDev.
Referenced by GNECalibratorVehicleTypeDialog::updateCalibratorVehicleTypeValues().
double GNECalibratorVehicleType::getSpeedFactor | ( | ) | const |
get speed factor
Definition at line 193 of file GNECalibratorVehicleType.cpp.
References mySpeedFactor.
Referenced by GNECalibratorVehicleTypeDialog::updateCalibratorVehicleTypeValues().
SumoXMLTag GNECalibratorVehicleType::getTag | ( | ) | const |
get tag
Definition at line 139 of file GNECalibratorVehicleType.cpp.
References SUMO_TAG_VTYPE.
Referenced by GNECalibratorVehicleTypeDialog::onCmdAccept().
double GNECalibratorVehicleType::getTau | ( | ) | const |
get tau
Definition at line 169 of file GNECalibratorVehicleType.cpp.
References myTau.
Referenced by GNECalibratorVehicleTypeDialog::updateCalibratorVehicleTypeValues().
SUMOVehicleClass GNECalibratorVehicleType::getVClass | ( | ) | const |
get VClass
Definition at line 211 of file GNECalibratorVehicleType.cpp.
References myVClass.
Referenced by GNECalibratorVehicleTypeDialog::setVClassLabelImage(), and GNECalibratorVehicleTypeDialog::updateCalibratorVehicleTypeValues().
std::string GNECalibratorVehicleType::getVehicleTypeID | ( | ) | const |
get VehicleTypeID
Definition at line 145 of file GNECalibratorVehicleType.cpp.
References myVehicleTypeID.
Referenced by GNECalibratorVehicleTypeDialog::onCmdSetVariable(), operator==(), and GNECalibratorVehicleTypeDialog::updateCalibratorVehicleTypeValues().
double GNECalibratorVehicleType::getWidth | ( | ) | const |
get width
Definition at line 229 of file GNECalibratorVehicleType.cpp.
References myWidth.
Referenced by GNECalibratorVehicleTypeDialog::updateCalibratorVehicleTypeValues().
bool GNECalibratorVehicleType::operator== | ( | const GNECalibratorVehicleType & | calibratorVehicleType | ) | const |
overload operator ==
Definition at line 763 of file GNECalibratorVehicleType.cpp.
References getVehicleTypeID(), and myVehicleTypeID.
bool GNECalibratorVehicleType::setAccel | ( | double | accel = 2.6 | ) |
set accel
Definition at line 313 of file GNECalibratorVehicleType.cpp.
References myAccel.
Referenced by GNECalibratorVehicleType(), GNECalibratorVehicleTypeDialog::onCmdSetVariable(), and setAccel().
bool GNECalibratorVehicleType::setAccel | ( | std::string | accel | ) |
set accel (string version)
Definition at line 324 of file GNECalibratorVehicleType.cpp.
References setAccel().
bool GNECalibratorVehicleType::setBoardingDuration | ( | double | boardingDuration = 0.5 | ) |
set boarding duration
Definition at line 667 of file GNECalibratorVehicleType.cpp.
References myBoardingDuration.
Referenced by GNECalibratorVehicleType(), GNECalibratorVehicleTypeDialog::onCmdSetVariable(), and setBoardingDuration().
bool GNECalibratorVehicleType::setBoardingDuration | ( | std::string | boardingDuration | ) |
set boarding duration (string version)
Definition at line 678 of file GNECalibratorVehicleType.cpp.
References setBoardingDuration().
bool GNECalibratorVehicleType::setCarFollowModel | ( | std::string | carFollowModel = "Krauss" | ) |
set car follow model
Definition at line 606 of file GNECalibratorVehicleType.cpp.
References myCarFollowModel.
Referenced by GNECalibratorVehicleType(), and GNECalibratorVehicleTypeDialog::onCmdSetVariable().
bool GNECalibratorVehicleType::setColor | ( | std::string | color = "1,1,0" | ) |
set color
Definition at line 502 of file GNECalibratorVehicleType.cpp.
References myColor.
Referenced by GNECalibratorVehicleType(), and GNECalibratorVehicleTypeDialog::onCmdSetVariable().
bool GNECalibratorVehicleType::setContainerCapacity | ( | int | containerCapacity = 0 | ) |
set container capacity
Definition at line 640 of file GNECalibratorVehicleType.cpp.
References myContainerCapacity.
Referenced by GNECalibratorVehicleType(), GNECalibratorVehicleTypeDialog::onCmdSetVariable(), and setContainerCapacity().
bool GNECalibratorVehicleType::setContainerCapacity | ( | std::string | containerCapacity | ) |
set container capacity (string version)
Definition at line 651 of file GNECalibratorVehicleType.cpp.
References setContainerCapacity().
bool GNECalibratorVehicleType::setDecel | ( | double | decel = 4.5 | ) |
set decel
Definition at line 334 of file GNECalibratorVehicleType.cpp.
References myDecel.
Referenced by GNECalibratorVehicleType(), GNECalibratorVehicleTypeDialog::onCmdSetVariable(), and setDecel().
bool GNECalibratorVehicleType::setDecel | ( | std::string | decel | ) |
set decel (string version)
Definition at line 345 of file GNECalibratorVehicleType.cpp.
References setDecel().
bool GNECalibratorVehicleType::setEmissionClass | ( | std::string | emissionClass = "P_7_7" | ) |
set emission class
Definition at line 526 of file GNECalibratorVehicleType.cpp.
References myEmissionClass.
Referenced by GNECalibratorVehicleType(), and GNECalibratorVehicleTypeDialog::onCmdSetVariable().
bool GNECalibratorVehicleType::setFilename | ( | std::string | filename = "" | ) |
set filename
Definition at line 571 of file GNECalibratorVehicleType.cpp.
References myFilename.
Referenced by GNECalibratorVehicleType(), and GNECalibratorVehicleTypeDialog::onCmdSetVariable().
bool GNECalibratorVehicleType::setImpatience | ( | double | impatience = 0.0 | ) |
set impatience
Definition at line 578 of file GNECalibratorVehicleType.cpp.
References myImpatience.
Referenced by GNECalibratorVehicleType(), GNECalibratorVehicleTypeDialog::onCmdSetVariable(), and setImpatience().
bool GNECalibratorVehicleType::setImpatience | ( | std::string | impatience | ) |
set impatience (string version)
Definition at line 589 of file GNECalibratorVehicleType.cpp.
References setImpatience().
bool GNECalibratorVehicleType::setLaneChangeModel | ( | std::string | laneChangeModel = "LC2013" | ) |
set lane change model
Definition at line 599 of file GNECalibratorVehicleType.cpp.
References myLaneChangeModel.
Referenced by GNECalibratorVehicleType(), and GNECalibratorVehicleTypeDialog::onCmdSetVariable().
bool GNECalibratorVehicleType::setLatAlignment | ( | std::string | latAlignment = "center" | ) |
set lateral lat
Definition at line 709 of file GNECalibratorVehicleType.cpp.
References myLatAlignment.
Referenced by GNECalibratorVehicleType(), and GNECalibratorVehicleTypeDialog::onCmdSetVariable().
bool GNECalibratorVehicleType::setLength | ( | double | length = 5.0 | ) |
set length
Definition at line 397 of file GNECalibratorVehicleType.cpp.
References myLength.
Referenced by GNECalibratorVehicleType(), GNECalibratorVehicleTypeDialog::onCmdSetVariable(), and setLength().
bool GNECalibratorVehicleType::setLength | ( | std::string | length | ) |
set length (string version)
Definition at line 408 of file GNECalibratorVehicleType.cpp.
References setLength().
bool GNECalibratorVehicleType::setLoadingDuration | ( | double | loadingDuration = 90.0 | ) |
set loading duration
Definition at line 688 of file GNECalibratorVehicleType.cpp.
References myLoadingDuration.
Referenced by GNECalibratorVehicleType(), GNECalibratorVehicleTypeDialog::onCmdSetVariable(), and setLoadingDuration().
bool GNECalibratorVehicleType::setLoadingDuration | ( | std::string | loadingDuration | ) |
set loading duration (string version)
Definition at line 699 of file GNECalibratorVehicleType.cpp.
References setLoadingDuration().
bool GNECalibratorVehicleType::setMaxSpeed | ( | double | maxSpeed = 70.0 | ) |
set max speed
Definition at line 439 of file GNECalibratorVehicleType.cpp.
References myMaxSpeed.
Referenced by GNECalibratorVehicleType(), GNECalibratorVehicleTypeDialog::onCmdSetVariable(), and setMaxSpeed().
bool GNECalibratorVehicleType::setMaxSpeed | ( | std::string | maxSpeed | ) |
set max speed (string version)
Definition at line 450 of file GNECalibratorVehicleType.cpp.
References setMaxSpeed().
bool GNECalibratorVehicleType::setMaxSpeedLat | ( | double | maxSpeedLat = 1.0 | ) |
set max speed lat
Definition at line 742 of file GNECalibratorVehicleType.cpp.
References myMaxSpeedLat.
Referenced by GNECalibratorVehicleType(), GNECalibratorVehicleTypeDialog::onCmdSetVariable(), and setMaxSpeedLat().
bool GNECalibratorVehicleType::setMaxSpeedLat | ( | std::string | maxSpeedLat | ) |
set max speed lat (string version)
Definition at line 753 of file GNECalibratorVehicleType.cpp.
References setMaxSpeedLat().
bool GNECalibratorVehicleType::setMinGap | ( | double | minGap = 2.5 | ) |
set min gap
Definition at line 418 of file GNECalibratorVehicleType.cpp.
References myMinGap.
Referenced by GNECalibratorVehicleType(), GNECalibratorVehicleTypeDialog::onCmdSetVariable(), and setMinGap().
bool GNECalibratorVehicleType::setMinGap | ( | std::string | minGap | ) |
set min gap (string version)
Definition at line 429 of file GNECalibratorVehicleType.cpp.
References setMinGap().
bool GNECalibratorVehicleType::setMinGapLat | ( | double | minGapLat = 0.12 | ) |
set min gap lat
Definition at line 721 of file GNECalibratorVehicleType.cpp.
References myMinGapLat.
Referenced by GNECalibratorVehicleType(), GNECalibratorVehicleTypeDialog::onCmdSetVariable(), and setMinGapLat().
bool GNECalibratorVehicleType::setMinGapLat | ( | std::string | minGapLat | ) |
set min gap lat (string version)
Definition at line 732 of file GNECalibratorVehicleType.cpp.
References setMinGapLat().
bool GNECalibratorVehicleType::setPersonCapacity | ( | int | personCapacity = 4 | ) |
set person capacity
Definition at line 613 of file GNECalibratorVehicleType.cpp.
References myPersonCapacity.
Referenced by GNECalibratorVehicleType(), GNECalibratorVehicleTypeDialog::onCmdSetVariable(), and setPersonCapacity().
bool GNECalibratorVehicleType::setPersonCapacity | ( | std::string | personCapacity | ) |
set person capacity (string version)
Definition at line 624 of file GNECalibratorVehicleType.cpp.
References setPersonCapacity().
bool GNECalibratorVehicleType::setShape | ( | std::string | shape | ) |
set shape (string version)
Definition at line 540 of file GNECalibratorVehicleType.cpp.
References canParseVehicleShape(), and getVehicleShapeID().
Referenced by GNECalibratorVehicleType(), and GNECalibratorVehicleTypeDialog::onCmdSetVariable().
bool GNECalibratorVehicleType::setShape | ( | SUMOVehicleShape | shape = SVS_PASSENGER | ) |
set shape
Definition at line 533 of file GNECalibratorVehicleType.cpp.
References myShape.
bool GNECalibratorVehicleType::setSigma | ( | double | sigma = 0.5 | ) |
set sigma
Definition at line 355 of file GNECalibratorVehicleType.cpp.
References mySigma.
Referenced by GNECalibratorVehicleType(), GNECalibratorVehicleTypeDialog::onCmdSetVariable(), and setSigma().
bool GNECalibratorVehicleType::setSigma | ( | std::string | sigma | ) |
set sigma (string version)
Definition at line 366 of file GNECalibratorVehicleType.cpp.
References setSigma().
bool GNECalibratorVehicleType::setSpeedDev | ( | double | speedDev = 0.0 | ) |
set speed dev
Definition at line 481 of file GNECalibratorVehicleType.cpp.
References mySpeedDev.
Referenced by GNECalibratorVehicleType(), GNECalibratorVehicleTypeDialog::onCmdSetVariable(), and setSpeedDev().
bool GNECalibratorVehicleType::setSpeedDev | ( | std::string | speedDev | ) |
set speed dev (string version)
Definition at line 492 of file GNECalibratorVehicleType.cpp.
References setSpeedDev().
bool GNECalibratorVehicleType::setSpeedFactor | ( | double | speedFactor = 1.0 | ) |
set speed factor
Definition at line 460 of file GNECalibratorVehicleType.cpp.
References mySpeedFactor.
Referenced by GNECalibratorVehicleType(), GNECalibratorVehicleTypeDialog::onCmdSetVariable(), and setSpeedFactor().
bool GNECalibratorVehicleType::setSpeedFactor | ( | std::string | speedFactor | ) |
set speed factor (string version)
Definition at line 471 of file GNECalibratorVehicleType.cpp.
References setSpeedFactor().
bool GNECalibratorVehicleType::setTau | ( | double | tau = 1.0 | ) |
set tau
Definition at line 376 of file GNECalibratorVehicleType.cpp.
References myTau.
Referenced by GNECalibratorVehicleType(), GNECalibratorVehicleTypeDialog::onCmdSetVariable(), and setTau().
bool GNECalibratorVehicleType::setTau | ( | std::string | tau | ) |
set tau (string version)
Definition at line 387 of file GNECalibratorVehicleType.cpp.
References setTau().
bool GNECalibratorVehicleType::setVClass | ( | SUMOVehicleClass | vClass = SVC_PRIVATE | ) |
set VClass
Definition at line 509 of file GNECalibratorVehicleType.cpp.
References myVClass.
Referenced by GNECalibratorVehicleType(), GNECalibratorVehicleTypeDialog::onCmdSetVariable(), and setVClass().
bool GNECalibratorVehicleType::setVClass | ( | std::string | vClass | ) |
set VClass (string version)
Definition at line 516 of file GNECalibratorVehicleType.cpp.
References canParseVehicleClasses(), getVehicleClassID(), and setVClass().
bool GNECalibratorVehicleType::setVehicleTypeID | ( | std::string | vehicleTypeID | ) |
set vehicleType ID
Definition at line 300 of file GNECalibratorVehicleType.cpp.
References GNEViewNet::getNet(), GNEAdditional::getViewNet(), myCalibratorParent, myVehicleTypeID, and GNENet::vehicleTypeExists().
Referenced by GNECalibratorVehicleType(), and GNECalibratorVehicleTypeDialog::onCmdSetVariable().
bool GNECalibratorVehicleType::setWidth | ( | double | width = 2.0 | ) |
set width
Definition at line 550 of file GNECalibratorVehicleType.cpp.
References myWidth.
Referenced by GNECalibratorVehicleType(), GNECalibratorVehicleTypeDialog::onCmdSetVariable(), and setWidth().
bool GNECalibratorVehicleType::setWidth | ( | std::string | width | ) |
set width (string version)
Definition at line 561 of file GNECalibratorVehicleType.cpp.
References setWidth().
|
private |
The acceleration ability of vehicles of this type (in m/s^2)
Definition at line 387 of file GNECalibratorVehicleType.h.
Referenced by getAccel(), and setAccel().
|
private |
The time required by a person to board the vehicle.
Definition at line 447 of file GNECalibratorVehicleType.h.
Referenced by getBoardingDuration(), and setBoardingDuration().
|
private |
pointer to calibrator parent
Definition at line 381 of file GNECalibratorVehicleType.h.
Referenced by getCalibratorParent(), and setVehicleTypeID().
|
private |
The model used for car following.
Definition at line 438 of file GNECalibratorVehicleType.h.
Referenced by getCarFollowModel(), and setCarFollowModel().
|
private |
This vehicle type's color.
Definition at line 414 of file GNECalibratorVehicleType.h.
Referenced by getColor(), and setColor().
|
private |
The number of containers the vehicle can transport.
Definition at line 444 of file GNECalibratorVehicleType.h.
Referenced by getContainerCapacity(), and setContainerCapacity().
|
private |
The deceleration ability of vehicles of this type (in m/s^2)
Definition at line 390 of file GNECalibratorVehicleType.h.
Referenced by getDecel(), and setDecel().
|
private |
An abstract emission class.
Definition at line 420 of file GNECalibratorVehicleType.h.
Referenced by getEmissionClass(), and setEmissionClass().
|
private |
Image file for rendering vehicles of this type (should be grayscale to allow functional coloring)
Definition at line 429 of file GNECalibratorVehicleType.h.
Referenced by getFilename(), and setFilename().
|
private |
Willingess of drivers to impede vehicles with higher priority. See below for semantics.
Definition at line 432 of file GNECalibratorVehicleType.h.
Referenced by getImpatience(), and setImpatience().
|
private |
The model used for changing lanes.
Definition at line 435 of file GNECalibratorVehicleType.h.
Referenced by getLaneChangeModel(), and setLaneChangeModel().
|
private |
The preferred lateral alignment when using the sublane-model. One of (left, right, center, compact, nice, arbitrary).
Definition at line 453 of file GNECalibratorVehicleType.h.
Referenced by getLatAlignment(), and setLatAlignment().
|
private |
The vehicle's netto-length (length) (in m)
Definition at line 399 of file GNECalibratorVehicleType.h.
Referenced by getLength(), and setLength().
|
private |
The time required to load a container onto the vehicle.
Definition at line 450 of file GNECalibratorVehicleType.h.
Referenced by getLoadingDuration(), and setLoadingDuration().
|
private |
The vehicle's maximum velocity (in m/s)
Definition at line 405 of file GNECalibratorVehicleType.h.
Referenced by getMaxSpeed(), and setMaxSpeed().
|
private |
The maximum lateral speed when using the sublane-model.
Definition at line 459 of file GNECalibratorVehicleType.h.
Referenced by getMaxSpeedLat(), and setMaxSpeedLat().
|
private |
Empty space after leader [m].
Definition at line 402 of file GNECalibratorVehicleType.h.
Referenced by getMinGap(), and setMinGap().
|
private |
The minimum lateral gap at a speed difference of 100km/h when using the sublane-model.
Definition at line 456 of file GNECalibratorVehicleType.h.
Referenced by getMinGapLat(), and setMinGapLat().
|
private |
The number of persons (excluding an autonomous driver) the vehicle can transport.
Definition at line 441 of file GNECalibratorVehicleType.h.
Referenced by getPersonCapacity(), and setPersonCapacity().
|
private |
How this vehicle is rendered.
Definition at line 423 of file GNECalibratorVehicleType.h.
Referenced by getShape(), and setShape().
|
private |
Car-following model parameter.
Definition at line 393 of file GNECalibratorVehicleType.h.
Referenced by getSigma(), and setSigma().
|
private |
The deviation of the speedFactor; see below for details.
Definition at line 411 of file GNECalibratorVehicleType.h.
Referenced by getSpeedDev(), and setSpeedDev().
|
private |
The vehicles expected multiplicator for lane speed limits.
Definition at line 408 of file GNECalibratorVehicleType.h.
Referenced by getSpeedFactor(), and setSpeedFactor().
|
private |
Car-following model parameter.
Definition at line 396 of file GNECalibratorVehicleType.h.
|
private |
An abstract vehicle class.
Definition at line 417 of file GNECalibratorVehicleType.h.
Referenced by getVClass(), and setVClass().
|
private |
vehicleType ID
Definition at line 384 of file GNECalibratorVehicleType.h.
Referenced by getVehicleTypeID(), operator==(), and setVehicleTypeID().
|
private |
The vehicle's width [m] (only used for drawing)
Definition at line 426 of file GNECalibratorVehicleType.h.
Referenced by getWidth(), and setWidth().