![]() |
SUMO - Simulation of Urban MObility
|
Structure representing possible vehicle parameter. More...
#include <SUMOVTypeParameter.h>
Public Types | |
typedef std::map< SumoXMLAttr, SUMOReal > | SubParams |
sub-model parameters More... | |
Public Member Functions | |
void | addParameter (const std::string &key, const std::string &value) |
Adds a parameter. More... | |
void | addParameter (const std::map< std::string, std::string > &mapArg) |
Adds all given parameter. More... | |
void | addParameter (const Parameterised &p) |
Adds all given parameter. More... | |
void | clearParameter () |
Clears the parameter map. More... | |
SUMOReal | getCFParam (const SumoXMLAttr attr, const SUMOReal defaultValue) const |
Returns the named value from the map, or the default if it is not contained there. More... | |
SUMOReal | getLCParam (const SumoXMLAttr attr, const SUMOReal defaultValue) const |
Returns the named value from the map, or the default if it is not contained there. More... | |
const std::map< std::string, std::string > & | getMap () const |
Returns the inner key/value map. More... | |
const std::string & | getParameter (const std::string &key, const std::string &defaultValue) const |
Returns the value for a given key. More... | |
bool | knowsParameter (const std::string &key) const |
Returns whether the parameter is known. More... | |
SUMOVTypeParameter (const std::string &vtid, const SUMOVehicleClass vc=SVC_IGNORING) | |
Constructor. More... | |
void | validateCFParameter () const |
Validates stored car-following parameter. More... | |
bool | wasSet (int what) const |
Returns whether the given parameter was set. More... | |
void | write (OutputDevice &dev) const |
Writes the vtype. More... | |
Static Public Member Functions | |
static const SUMOVTypeParameter & | getDefault () |
return the default parameters, this is a function due to the http://www.parashift.com/c++-faq/static-init-order.html More... | |
static SUMOReal | getDefaultAccel (const SUMOVehicleClass vc=SVC_IGNORING) |
Returns the default acceleration for the given vehicle class This needs to be a function because the actual value is stored in the car following model. More... | |
static SUMOReal | getDefaultDecel (const SUMOVehicleClass vc=SVC_IGNORING) |
Returns the default deceleration for the given vehicle class This needs to be a function because the actual value is stored in the car following model. More... | |
static SUMOReal | getDefaultImperfection (const SUMOVehicleClass vc=SVC_IGNORING) |
Returns the default driver's imperfection (sigma or epsilon in Krauss' model) for the given vehicle class This needs to be a function because the actual value is stored in the car following model. More... | |
Data Fields | |
SUMOTime | boardingDuration |
The time a person needs to board the vehicle. More... | |
SumoXMLTag | cfModel |
The enum-representation of the car-following model to use. More... | |
SubParams | cfParameter |
Car-following parameter. More... | |
RGBColor | color |
The color. More... | |
int | containerCapacity |
The container capacity of the vehicle. More... | |
SUMOReal | defaultProbability |
The probability when being added to a distribution without an explicit probability. More... | |
SUMOEmissionClass | emissionClass |
The emission class of this vehicle. More... | |
std::string | id |
The vehicle type's id. More... | |
SUMOReal | impatience |
The vehicle's impatience (willingness to obstruct others) More... | |
LateralAlignment | latAlignment |
The vehicles desired lateral alignment. More... | |
LaneChangeModel | lcModel |
The lane-change model to use. More... | |
SubParams | lcParameter |
Lane-changing parameter. More... | |
SUMOReal | length |
The physical vehicle length. More... | |
SUMOTime | loadingDuration |
The time a container needs to get loaded on the vehicle. More... | |
SUMOReal | maxSpeed |
The vehicle type's maximum speed [m/s]. More... | |
SUMOReal | maxSpeedLat |
The vehicle type's maximum lateral speed [m/s]. More... | |
SUMOReal | minGap |
This class' free space in front of the vehicle itself. More... | |
SUMOReal | minGapLat |
The vehicle type's minimum lateral gap [m]. More... | |
bool | onlyReferenced |
Information whether this is a type-stub, being only referenced but not defined (needed by routers) More... | |
int | personCapacity |
The person capacity of the vehicle. More... | |
bool | saved |
Information whether this type was already saved (needed by routers) More... | |
int | setParameter |
Information for the router which parameter were set. More... | |
SUMOReal | speedDev |
The standard deviation for speed variations. More... | |
SUMOReal | speedFactor |
The factor by which the maximum speed may deviate from the allowed max speed on the street. More... | |
SUMOVehicleClass | vehicleClass |
The vehicle's class. More... | |
Values for drawing this class' vehicles | |
SUMOReal | width |
This class' width. More... | |
SUMOReal | height |
This class' height. More... | |
SUMOVehicleShape | shape |
This class' shape. More... | |
std::string | osgFile |
3D model file for this class More... | |
std::string | imgFile |
Image file for this class. More... | |
Structure representing possible vehicle parameter.
Definition at line 85 of file SUMOVTypeParameter.h.
typedef std::map<SumoXMLAttr, SUMOReal> SUMOVTypeParameter::SubParams |
sub-model parameters
Definition at line 186 of file SUMOVTypeParameter.h.
SUMOVTypeParameter::SUMOVTypeParameter | ( | const std::string & | vtid, |
const SUMOVehicleClass | vc = SVC_IGNORING |
||
) |
Constructor.
Initialises the structure with default values
Definition at line 51 of file SUMOVTypeParameter.cpp.
References containerCapacity, DEFAULT_PEDESTRIAN_SPEED, height, length, maxSpeed, minGap, osgFile, personCapacity, shape, SVC_BICYCLE, SVC_BUS, SVC_COACH, SVC_DELIVERY, SVC_E_VEHICLE, SVC_EMERGENCY, SVC_MOPED, SVC_MOTORCYCLE, SVC_PASSENGER, SVC_PEDESTRIAN, SVC_RAIL, SVC_RAIL_ELECTRIC, SVC_RAIL_URBAN, SVC_SHIP, SVC_TRAILER, SVC_TRAM, SVC_TRUCK, SVS_BICYCLE, SVS_BUS, SVS_BUS_COACH, SVS_DELIVERY, SVS_E_VEHICLE, SVS_MOPED, SVS_MOTORCYCLE, SVS_PASSENGER, SVS_PEDESTRIAN, SVS_RAIL, SVS_RAIL_CAR, SVS_SHIP, SVS_TRUCK, SVS_TRUCK_SEMITRAILER, and width.
|
inherited |
Adds a parameter.
[in] | key | The parameter's name |
[in] | value | The parameter's value |
Definition at line 53 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by SUMORouteHandler::addParam(), NLHandler::addParam(), PCLoaderOSM::addPOI(), PCLoaderOSM::addPolygon(), NBTrafficLightDefinition::compute(), NIImporter_OpenDrive::loadNetwork(), NIImporter_MATSim::EdgesHandler::myStartElement(), TraCIServerAPI_Edge::processSet(), TraCIServerAPI_POI::processSet(), TraCIServerAPI_TLS::processSet(), TraCIServerAPI_Polygon::processSet(), and TraCIServerAPI_Lane::processSet().
|
inherited |
Adds all given parameter.
[in] | mapArg | The keys/values to insert |
Definition at line 59 of file Parameterised.cpp.
References Parameterised::myMap.
|
inherited |
Adds all given parameter.
[in] | p | The keys/values to insert |
Definition at line 67 of file Parameterised.cpp.
References Parameterised::myMap.
|
inherited |
Clears the parameter map.
Definition at line 91 of file Parameterised.cpp.
References Parameterised::myMap.
SUMOReal SUMOVTypeParameter::getCFParam | ( | const SumoXMLAttr | attr, |
const SUMOReal | defaultValue | ||
) | const |
Returns the named value from the map, or the default if it is not contained there.
[in] | attr | The corresponding xml attribute |
[in] | defaultValue | The value to return if the given map does not contain the named variable |
Definition at line 308 of file SUMOVTypeParameter.cpp.
References cfParameter, and SUMOReal.
Referenced by MSVehicleType::build(), ROEdge::getEmissionEffort(), and wasSet().
|
static |
return the default parameters, this is a function due to the http://www.parashift.com/c++-faq/static-init-order.html
Definition at line 413 of file SUMOVTypeParameter.cpp.
Referenced by MESegment::jamThresholdForSpeed(), and TraCIServerAPI_Lane::processGet().
|
static |
Returns the default acceleration for the given vehicle class This needs to be a function because the actual value is stored in the car following model.
[in] | vc | the vehicle class |
Definition at line 328 of file SUMOVTypeParameter.cpp.
References SUMOReal, SVC_BICYCLE, SVC_BUS, SVC_COACH, SVC_MOPED, SVC_MOTORCYCLE, SVC_PEDESTRIAN, SVC_RAIL, SVC_RAIL_ELECTRIC, SVC_RAIL_URBAN, SVC_SHIP, SVC_TRAILER, SVC_TRAM, and SVC_TRUCK.
Referenced by MSVehicleType::build(), and ROEdge::getEmissionEffort().
|
static |
Returns the default deceleration for the given vehicle class This needs to be a function because the actual value is stored in the car following model.
[in] | vc | the vehicle class |
Definition at line 363 of file SUMOVTypeParameter.cpp.
References SUMOReal, SVC_BICYCLE, SVC_BUS, SVC_COACH, SVC_MOPED, SVC_MOTORCYCLE, SVC_PEDESTRIAN, SVC_RAIL, SVC_RAIL_ELECTRIC, SVC_RAIL_URBAN, SVC_SHIP, SVC_TRAILER, SVC_TRAM, and SVC_TRUCK.
Referenced by MSVehicleType::build(), and TraCIServerAPI_Lane::processGet().
|
static |
Returns the default driver's imperfection (sigma or epsilon in Krauss' model) for the given vehicle class This needs to be a function because the actual value is stored in the car following model.
[in] | vc | the vehicle class |
Definition at line 398 of file SUMOVTypeParameter.cpp.
References SVC_RAIL, SVC_RAIL_ELECTRIC, SVC_RAIL_URBAN, SVC_SHIP, and SVC_TRAM.
Referenced by MSVehicleType::build(), and ROEdge::getEmissionEffort().
SUMOReal SUMOVTypeParameter::getLCParam | ( | const SumoXMLAttr | attr, |
const SUMOReal | defaultValue | ||
) | const |
Returns the named value from the map, or the default if it is not contained there.
[in] | attr | The corresponding xml attribute |
[in] | defaultValue | The value to return if the given map does not contain the named variable |
Definition at line 317 of file SUMOVTypeParameter.cpp.
References lcParameter, and SUMOReal.
Referenced by wasSet().
|
inlineinherited |
Returns the inner key/value map.
Definition at line 107 of file Parameterised.h.
References Parameterised::myMap.
Referenced by NBTrafficLightDefinition::compute(), MSDevice_Vehroutes::generateOutput(), GUIPerson::getParameterWindow(), GUIMEVehicle::getTypeParameterWindow(), GUIVehicle::getTypeParameterWindow(), TraCIServerAPI_TLS::processGet(), ROVehicle::saveAsXML(), ROPerson::saveAsXML(), write(), PointOfInterest::writeXML(), and SUMO::Polygon::writeXML().
|
inherited |
Returns the value for a given key.
[in] | key | The key to ask for |
[in] | defaultValue | The default value to return if no value is stored under the key |
Definition at line 81 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by MSTLLogicControl::WAUTSwitchProcedure_Stretch::adaptLogic(), MSDevice_Battery::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice::equippedByDefaultAssignmentOptions(), MSSOTLTrafficLightLogic::getDecayConstant(), MSTLLogicControl::WAUTSwitchProcedure::getGSPValue(), MSSOTLTrafficLightLogic::getInputSensorsLength(), MSSOTLRequestPolicy::getMinDecisionalPhaseDuration(), MSSOTLRequestTrafficLightLogic::getMinDecisionalPhaseDuration(), MSSOTLTrafficLightLogic::getMode(), MSSOTLTrafficLightLogic::getOutputSensorsLength(), MSSOTLTrafficLightLogic::getSpeedThreshold(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::getStretchAreaNo(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::getStretchBereichDef(), MSSOTLTrafficLightLogic::getThreshold(), PushButtonLogic::init(), MSSOTLPhasePolicy::init(), SigmoidLogic::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), MSSOTLTrafficLightLogic::isDecayThresholdActivated(), MSSOTLTrafficLightLogic::isPushButtonPressed(), MSActuatedTrafficLightLogic::MSActuatedTrafficLightLogic(), MSSOTLPolicy::MSSOTLPolicy(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), MSSwarmTrafficLightLogic::MSSwarmTrafficLightLogic(), TraCIServerAPI_Edge::processGet(), TraCIServerAPI_Route::processGet(), TraCIServerAPI_POI::processGet(), TraCIServerAPI_Polygon::processGet(), TraCIServerAPI_VehicleType::processGet(), TraCIServerAPI_TLS::processGet(), TraCIServerAPI_Vehicle::processGet(), TraCIServerAPI_Person::processGet(), TraCIServerAPI_Lane::processGet(), MSSOTLPolicyDesirability::readParameter(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::stretchLogic(), and TraCIServerAPI_Vehicle::vtdMap().
|
inherited |
Returns whether the parameter is known.
[in] | key | The key to ask for |
Definition at line 75 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by MSDevice_Example::buildVehicleDevices(), and MSDevice::equippedByDefaultAssignmentOptions().
void SUMOVTypeParameter::validateCFParameter | ( | ) | const |
Validates stored car-following parameter.
Referenced by wasSet().
|
inline |
Returns whether the given parameter was set.
[in] | what | The parameter which one asks for |
Definition at line 98 of file SUMOVTypeParameter.h.
References getCFParam(), getLCParam(), setParameter, SUMOReal, validateCFParameter(), and write().
Referenced by write().
void SUMOVTypeParameter::write | ( | OutputDevice & | dev | ) | const |
Writes the vtype.
[in,out] | dev | The device to write into |
IOError | not yet implemented |
Definition at line 198 of file SUMOVTypeParameter.cpp.
References boardingDuration, cfModel, cfParameter, OutputDevice::closeTag(), color, containerCapacity, defaultProbability, emissionClass, Parameterised::getMap(), PollutantsInterface::getName(), getVehicleShapeName(), height, imgFile, impatience, latAlignment, lcModel, lcParameter, length, loadingDuration, max, maxSpeed, maxSpeedLat, minGap, minGapLat, onlyReferenced, OutputDevice::openTag(), osgFile, personCapacity, shape, speedDev, speedFactor, SUMO_ATTR_BOARDING_DURATION, SUMO_ATTR_COLOR, SUMO_ATTR_CONTAINER_CAPACITY, SUMO_ATTR_EMISSIONCLASS, SUMO_ATTR_GUISHAPE, SUMO_ATTR_HEIGHT, SUMO_ATTR_ID, SUMO_ATTR_IMGFILE, SUMO_ATTR_IMPATIENCE, SUMO_ATTR_KEY, SUMO_ATTR_LANE_CHANGE_MODEL, SUMO_ATTR_LATALIGNMENT, SUMO_ATTR_LENGTH, SUMO_ATTR_LOADING_DURATION, SUMO_ATTR_MAXSPEED, SUMO_ATTR_MAXSPEED_LAT, SUMO_ATTR_MINGAP, SUMO_ATTR_MINGAP_LAT, SUMO_ATTR_OSGFILE, SUMO_ATTR_PERSON_CAPACITY, SUMO_ATTR_PROB, SUMO_ATTR_SPEEDDEV, SUMO_ATTR_SPEEDFACTOR, SUMO_ATTR_VALUE, SUMO_ATTR_VCLASS, SUMO_ATTR_WIDTH, SUMO_TAG_PARAM, SUMO_TAG_VTYPE, SUMOReal, toString(), vehicleClass, VTYPEPARS_BOARDING_DURATION, VTYPEPARS_CAR_FOLLOW_MODEL, VTYPEPARS_COLOR_SET, VTYPEPARS_CONTAINER_CAPACITY, VTYPEPARS_EMISSIONCLASS_SET, VTYPEPARS_HEIGHT_SET, VTYPEPARS_IMGFILE_SET, VTYPEPARS_IMPATIENCE_SET, VTYPEPARS_LANE_CHANGE_MODEL_SET, VTYPEPARS_LATALIGNMENT_SET, VTYPEPARS_LENGTH_SET, VTYPEPARS_LOADING_DURATION, VTYPEPARS_MAXSPEED_LAT_SET, VTYPEPARS_MAXSPEED_SET, VTYPEPARS_MINGAP_LAT_SET, VTYPEPARS_MINGAP_SET, VTYPEPARS_OSGFILE_SET, VTYPEPARS_PERSON_CAPACITY, VTYPEPARS_PROBABILITY_SET, VTYPEPARS_SHAPE_SET, VTYPEPARS_SPEEDDEVIATION_SET, VTYPEPARS_SPEEDFACTOR_SET, VTYPEPARS_VEHICLECLASS_SET, VTYPEPARS_WIDTH_SET, wasSet(), width, and OutputDevice::writeAttr().
Referenced by ROVehicle::saveAsXML(), ROPerson::saveAsXML(), wasSet(), and RODFDetectorCon::writeEmitters().
SUMOTime SUMOVTypeParameter::boardingDuration |
The time a person needs to board the vehicle.
Definition at line 158 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::getBoardingDuration(), and write().
SumoXMLTag SUMOVTypeParameter::cfModel |
The enum-representation of the car-following model to use.
Definition at line 183 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::build(), SUMOVehicleParserHelper::parseVTypeEmbedded(), and write().
SubParams SUMOVTypeParameter::cfParameter |
Car-following parameter.
Definition at line 188 of file SUMOVTypeParameter.h.
Referenced by getCFParam(), SUMOVehicleParserHelper::parseVTypeEmbedded(), and write().
RGBColor SUMOVTypeParameter::color |
The color.
Definition at line 148 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::getColor(), MSVehicleType::setColor(), and write().
int SUMOVTypeParameter::containerCapacity |
The container capacity of the vehicle.
Definition at line 156 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::getContainerCapacity(), SUMOVTypeParameter(), and write().
SUMOReal SUMOVTypeParameter::defaultProbability |
The probability when being added to a distribution without an explicit probability.
Definition at line 140 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::getDefaultProbability(), RORouteHandler::myEndElement(), MSVehicleType::setDefaultProbability(), and write().
SUMOEmissionClass SUMOVTypeParameter::emissionClass |
The emission class of this vehicle.
Definition at line 146 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::getEmissionClass(), ROEdge::getEmissionEffort(), ROEdge::getNoiseEffort(), MSVehicleType::setEmissionClass(), and write().
SUMOReal SUMOVTypeParameter::height |
This class' height.
Definition at line 169 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::getHeight(), MSVehicleType::setHeight(), SUMOVTypeParameter(), and write().
std::string SUMOVTypeParameter::id |
The vehicle type's id.
Definition at line 131 of file SUMOVTypeParameter.h.
Referenced by RONet::addVehicleType(), SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::build(), RONet::checkFlows(), RORouteHandler::closeVehicle(), MSVehicleType::getID(), SUMOVehicleParserHelper::parseLCParams(), SUMOVehicleParserHelper::parseVTypeEmbedded(), and RONet::RONet().
std::string SUMOVTypeParameter::imgFile |
Image file for this class.
Definition at line 178 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::getImgFile(), and write().
SUMOReal SUMOVTypeParameter::impatience |
The vehicle's impatience (willingness to obstruct others)
Definition at line 152 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::getImpatience(), TraCIServerAPI_Lane::processGet(), MSVehicleType::setImpatience(), and write().
LateralAlignment SUMOVTypeParameter::latAlignment |
The vehicles desired lateral alignment.
Definition at line 198 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::getPreferredLateralAlignment(), and write().
LaneChangeModel SUMOVTypeParameter::lcModel |
The lane-change model to use.
Definition at line 193 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::getLaneChangeModel(), and write().
SubParams SUMOVTypeParameter::lcParameter |
Lane-changing parameter.
Definition at line 190 of file SUMOVTypeParameter.h.
Referenced by getLCParam(), SUMOVehicleParserHelper::parseLCParams(), and write().
SUMOReal SUMOVTypeParameter::length |
The physical vehicle length.
Definition at line 134 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::getLength(), MSVehicleType::getLengthWithGap(), MESegment::jamThresholdForSpeed(), TraCIServerAPI_Lane::processGet(), MSVehicleType::setLength(), SUMOVTypeParameter(), and write().
SUMOTime SUMOVTypeParameter::loadingDuration |
The time a container needs to get loaded on the vehicle.
Definition at line 160 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::getLoadingDuration(), and write().
SUMOReal SUMOVTypeParameter::maxSpeed |
The vehicle type's maximum speed [m/s].
Definition at line 138 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), ROPerson::computeIntermodal(), ROEdge::getEffort(), ROEdge::getEmissionEffort(), RORoutable::getMaxSpeed(), MSVehicleType::getMaxSpeed(), ROEdge::getMinimumTravelTime(), ROEdge::getNoiseEffort(), ROEdge::getTravelTime(), MSVehicleType::setMaxSpeed(), SUMOVTypeParameter(), and write().
SUMOReal SUMOVTypeParameter::maxSpeedLat |
The vehicle type's maximum lateral speed [m/s].
Definition at line 196 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::getMaxSpeedLat(), and write().
SUMOReal SUMOVTypeParameter::minGap |
This class' free space in front of the vehicle itself.
Definition at line 136 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::getLengthWithGap(), MSVehicleType::getMinGap(), MESegment::jamThresholdForSpeed(), MSVehicleType::setMinGap(), SUMOVTypeParameter(), and write().
SUMOReal SUMOVTypeParameter::minGapLat |
The vehicle type's minimum lateral gap [m].
Definition at line 200 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::getMinGapLat(), and write().
|
mutable |
Information whether this is a type-stub, being only referenced but not defined (needed by routers)
Definition at line 210 of file SUMOVTypeParameter.h.
Referenced by RONet::RONet(), and write().
std::string SUMOVTypeParameter::osgFile |
3D model file for this class
Definition at line 175 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::getOSGFile(), SUMOVTypeParameter(), and write().
int SUMOVTypeParameter::personCapacity |
The person capacity of the vehicle.
Definition at line 154 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::getPersonCapacity(), SUMOVTypeParameter(), and write().
|
mutable |
Information whether this type was already saved (needed by routers)
Definition at line 207 of file SUMOVTypeParameter.h.
Referenced by ROVehicle::saveAsXML(), and ROPerson::saveAsXML().
int SUMOVTypeParameter::setParameter |
Information for the router which parameter were set.
Definition at line 203 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleControl::MSVehicleControl(), SUMOVehicleParserHelper::parseVTypeEmbedded(), RONet::RONet(), RODFDetectorCon::setSpeedFactorAndDev(), MSVehicleType::wasSet(), wasSet(), and RODFDetectorCon::writeEmitters().
SUMOVehicleShape SUMOVTypeParameter::shape |
This class' shape.
Definition at line 172 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::getGuiShape(), MSVehicleType::setShape(), SUMOVTypeParameter(), and write().
SUMOReal SUMOVTypeParameter::speedDev |
The standard deviation for speed variations.
Definition at line 144 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::computeChosenSpeedDeviation(), MSVehicleType::getSpeedDeviation(), MSVehicleType::setSpeedDeviation(), RODFDetectorCon::setSpeedFactorAndDev(), and write().
SUMOReal SUMOVTypeParameter::speedFactor |
The factor by which the maximum speed may deviate from the allowed max speed on the street.
Definition at line 142 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::computeChosenSpeedDeviation(), ROVehicle::getChosenSpeedFactor(), MSVehicleType::getSpeedFactor(), ROEdge::getTravelTime(), MSVehicleType::setSpeedFactor(), RODFDetectorCon::setSpeedFactorAndDev(), and write().
SUMOVehicleClass SUMOVTypeParameter::vehicleClass |
The vehicle's class.
Definition at line 150 of file SUMOVTypeParameter.h.
Referenced by MSVehicleType::build(), ROEdge::getEmissionEffort(), RORoutable::getVClass(), MSBaseVehicle::getVClass(), MSVehicleType::getVehicleClass(), MSVehicleType::setVClass(), and write().
SUMOReal SUMOVTypeParameter::width |
This class' width.
Definition at line 166 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::getWidth(), MSVehicleType::setWidth(), SUMOVTypeParameter(), and write().