![]() |
Eclipse SUMO - Simulation of Urban MObility
|
Public Member Functions | |
| void | loadState (const SUMOSAXAttributes &attrs) |
| Loads the state of the vehicle variables from the given description. | |
| void | saveState (OutputDevice &out, const MSCFModel &cfm) const |
| Saves the vehicle variables. | |
| VehicleVariables () | |
Data Fields | |
| double | levelOfService |
| state variable for remembering speed deviation history (lambda) | |
Definition at line 189 of file MSCFModel_IDM.h.
|
inline |
Definition at line 191 of file MSCFModel_IDM.h.
References levelOfService.
|
virtual |
Loads the state of the vehicle variables from the given description.
| [in] | attrs | XML attributes describing the current state |
Reimplemented from MSCFModel::VehicleVariables.
Definition at line 68 of file MSCFModel_IDM.cpp.
References SUMOSAXAttributes::get(), SUMOSAXAttributes::getString(), levelOfService, SUMO_ATTR_ID, SUMO_ATTR_STATE, and TLF.
|
virtual |
Saves the vehicle variables.
| [in] | out | The OutputDevice to write the information into |
Reimplemented from MSCFModel::VehicleVariables.
Definition at line 57 of file MSCFModel_IDM.cpp.
References OutputDevice::closeTag(), levelOfService, MSCFModel::MSCFModel(), OutputDevice::openTag(), SUMO_ATTR_ID, SUMO_ATTR_STATE, SUMO_TAG_CFM_VARIABLES, and OutputDevice::writeAttr().
| double MSCFModel_IDM::VehicleVariables::levelOfService |
state variable for remembering speed deviation history (lambda)
Definition at line 193 of file MSCFModel_IDM.h.
Referenced by MSCFModel_IDM::_v(), MSCFModel_IDM::finalizeSpeed(), loadState(), saveState(), and VehicleVariables().