![]() |
Eclipse SUMO - Simulation of Urban MObility
|
Structure representing possible vehicle parameter. More...
#include <SUMOVTypeParameter.h>
Data Structures | |
| struct | VClassDefaultValues |
| struct for default values that depend of VClass More... | |
Public Types | |
| typedef std::map< std::string, std::string > | Map |
| parameters map | |
| typedef std::map< SumoXMLAttr, std::string > | SubParams |
| sub-model parameters | |
Public Member Functions | |
| void | cacheParamRestrictions (const std::vector< std::string > &restrictionKeys) |
| void | clearParameter () |
| Clears the parameter map. | |
| std::vector< std::pair< double, double > > | createCFProfile (const SumoXMLAttr attr, const std::string profile) const |
| Creates a vector of pairs from a string. | |
| double | getCFParam (const SumoXMLAttr attr, const double defaultValue) const |
| Returns the named value from the map, or the default if it is not contained there. | |
| std::string | getCFParamString (const SumoXMLAttr attr, const std::string defaultValue) const |
| Returns the named value from the map, or the default if it is not contained there. | |
| LinearApproxHelpers::LinearApproxMap | getCFProfile (const SumoXMLAttr attr, const LinearApproxHelpers::LinearApproxMap &defaultProfile) const |
| Returns the named value from the map, or the default if it is not contained there. | |
| std::vector< double > | getCFValueTable (SumoXMLAttr attr) const |
| retrieve value table from cfParameter | |
| double | getDouble (const std::string &key, const double defaultValue) const |
| Returns the value for a given key converted to a double. | |
| SUMOTime | getEntryManoeuvreTime (const int angle) const |
| Returns the time that will be needed for the vehicle type to execute the (entry) manoeuvre (and be blocking the lane) | |
| SUMOTime | getExitManoeuvreTime (const int angle) const |
| Returns the time that will be needed for the vehicle type to execute the (exit) manoeuvre (and be blocking the lane) | |
| double | getJMParam (const SumoXMLAttr attr, const double defaultValue) const |
| Returns the named value from the map, or the default if it is not contained there. | |
| std::string | getJMParamString (const SumoXMLAttr attr, const std::string defaultValue) const |
| Returns the named value from the map, or the default if it is not contained there. | |
| double | getLCParam (const SumoXMLAttr attr, const double defaultValue) const |
| Returns the named value from the map, or the default if it is not contained there. | |
| const SubParams & | getLCParams () const |
| Returns the LC parameter. | |
| std::string | getLCParamString (const SumoXMLAttr attr, const std::string &defaultValue) const |
| Returns the named value from the map, or the default if it is not contained there. | |
| double | getLength () const |
| satisfy vType / router template requirements | |
| std::string | getManoeuverAngleTimesS () const |
| Returns myManoeuverAngleTimes as a string for xml output. | |
| virtual const std::string | getParameter (const std::string &key, const std::string defaultValue="") const |
| Returns the value for a given key. | |
| const Parameterised::Map & | getParametersMap () const |
| Returns the inner key/value map. | |
| std::string | getParametersStr (const std::string kvsep="=", const std::string sep="|") const |
| Returns the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN". | |
| SUMOTime | getTimeToTeleport (SUMOTime defaultValue) const |
| return time-to-teleport (either custom or default) | |
| SUMOTime | getTimeToTeleportBidi (SUMOTime defaultValue) const |
| return time-to-teleport.bidi (either custom or default) | |
| bool | hasParameter (const std::string &key) const |
| Returns whether the parameter is set. | |
| void | initRailVisualizationParameters (const std::string fileName="") |
| init Rail Visualization Parameters | |
| void | mergeParameters (const Parameterised::Map &mapArg, const std::string separator=" ", bool uniqueValues=true) |
| Adds or appends all given parameters from the map. | |
| void | setManoeuverAngleTimes (const SUMOVehicleClass vclass) |
| Initialise the default mapping between manoeuver angle and times dependant on vehicle class. | |
| virtual void | setParameter (const std::string &key, const std::string &value) |
| Sets a parameter. | |
| void | setParameters (const Parameterised ¶ms) |
| set the given key/value map in map<string, string> format | |
| void | setParameters (const std::vector< std::pair< std::string, std::string > > ¶ms) |
| set the given key/value vector in map<string, string> format | |
| void | setParametersStr (const std::string ¶msString, const std::string kvsep="=", const std::string sep="|") |
| set the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN" | |
| SUMOVTypeParameter (const std::string &vtid, const SUMOVehicleClass vc=SVC_IGNORING) | |
| Constructor. | |
| void | unsetParameter (const std::string &key) |
| Removes a parameter. | |
| void | updateParameters (const Parameterised::Map &mapArg) |
| Adds or updates all given parameters from the map. | |
| bool | wasSet (long long int what) const |
| Returns whether the given parameter was set. | |
| void | write (OutputDevice &dev) const |
| Writes the vtype. | |
| void | writeParams (OutputDevice &device) const |
| write Params in the given outputdevice | |
| virtual | ~SUMOVTypeParameter () |
| virtual destructor | |
Static Public Member Functions | |
| static bool | areAttributesValid (const std::string &value, bool report=false, const std::string kvsep="=", const std::string sep="|") |
| check if given string can be parsed to an attributes map "key1=value1|key2=value2|...|keyN=valueN" (used in generic datas) | |
| static bool | areParametersValid (const std::string &value, bool report=false, const std::string kvsep="=", const std::string sep="|") |
| check if given string can be parsed to a parameters map "key1=value1|key2=value2|...|keyN=valueN" | |
| 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 | |
| static double | 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. | |
| static double | 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. | |
| static LinearApproxHelpers::LinearApproxMap | getDefaultDesAccelProfile (const SUMOVehicleClass vc, double desAccel) |
| Returns the default desired acceleration profile for the given vehicle class This needs to be a function because the actual profile is stored in the car following model. | |
| static double | getDefaultEmergencyDecel (const SUMOVehicleClass vc, double decel, double defaultOption) |
| Returns the default emergency deceleration for the given vehicle class This needs to be a function because the actual value is stored in the car following model. | |
| static double | 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. | |
| static LinearApproxHelpers::LinearApproxMap | getDefaultMaxAccelProfile (const SUMOVehicleClass vc, double maxAccel) |
| Returns the default maximum acceleration profile for the given vehicle class This needs to be a function because the actual profile is stored in the car following model. | |
| static std::vector< std::string > | getLatAlignmentStrings () |
| return all valid strings for latAlignment | |
| static bool | isValidLatAlignment (const std::string &val) |
| static bool | parseLatAlignment (const std::string &val, double &lao, LatAlignmentDefinition &lad) |
| Parses and validates a given latAlignment value. | |
Data Fields | |
| SUMOTime | actionStepLength |
| The vehicle type's default actionStepLength [ms], i.e. the interval between two control actions. The default value of 0ms. induces the value to be traced from MSGlobals::gActionStepLength. | |
| SUMOTime | boardingDuration |
| The time a person needs to board the vehicle. | |
| double | boardingFactor |
| factor for boardingDuration / loadingDuration | |
| int | carriageDoors |
| the number of doors per carriage | |
| double | carriageDoorWidth |
| the width of the carriage doors | |
| double | carriageGap |
| the length of the gap between carriages | |
| double | carriageLength |
| the length of train carriages | |
| SumoXMLTag | cfModel |
| The enum-representation of the car-following model to use. | |
| SubParams | cfParameter |
| Car-following parameter. | |
| RGBColor | color |
| The color. | |
| int | containerCapacity |
| The container capacity of the vehicle. | |
| double | defaultProbability |
| The probability when being added to a distribution without an explicit probability. | |
| double | desiredMaxSpeed |
| The vehicle type's desired maximum speed [m/s]. | |
| SUMOEmissionClass | emissionClass |
| The emission class of this vehicle. | |
| double | frontSeatPos |
| the offset of the first person seat from the front of the vehicle | |
| std::string | id |
| The vehicle type's id. | |
| double | impatience |
| The vehicle's impatience (willingness to obstruct others) | |
| SubParams | jmParameter |
| Junction-model parameter. | |
| double | latAlignmentOffset |
| (optional) The vehicle's desired lateral alignment as offset in m from center line | |
| LatAlignmentDefinition | latAlignmentProcedure |
| Information on how the vehicle shall choose the lateral alignment. | |
| LaneChangeModel | lcModel |
| The lane-change model to use. | |
| SubParams | lcParameter |
| Lane-changing parameter. | |
| double | length |
| The physical vehicle length. | |
| SUMOTime | loadingDuration |
| The time a container needs to get loaded on the vehicle. | |
| double | locomotiveLength |
| the length of the locomotive | |
| double | mass |
| The mass. | |
| double | maxPlatformDistance |
| the maximum distance between platform and train | |
| double | maxSpeed |
| The vehicle type's (technical) maximum speed [m/s]. | |
| double | maxSpeedLat |
| The vehicle type's maximum lateral speed [m/s]. | |
| double | minGap |
| This class' free space in front of the vehicle itself. | |
| double | minGapLat |
| The vehicle type's minimum lateral gap [m]. | |
| std::map< int, std::pair< SUMOTime, SUMOTime > > | myManoeuverAngleTimes |
| Map of manoeuver angles versus the times (entry, exit) to execute the manoeuver. | |
| bool | onlyReferenced |
| Information whether this is a type-stub, being only referenced but not defined (needed by routers) | |
| long long int | parametersSet |
| Information for the router which parameter were set. | |
| std::vector< double > | paramRestrictions |
| cached value of parameters which may restrict access to certain edges | |
| std::vector< std::string > | parkingBadges |
| the parking access rights | |
| int | personCapacity |
| The person capacity of the vehicle. | |
| bool | saved |
| Information whether this type was already saved (needed by routers) | |
| double | scale |
| individual scaling factor (-1 for undefined) | |
| double | scaleVisual |
| the scaling factor when drawing the object | |
| double | seatingWidth |
| width to be used when comping seats | |
| Distribution_Parameterized | speedFactor |
| The factor by which the maximum speed may deviate from the allowed max speed on the street. | |
| double | speedFactorPremature |
| the possible speed reduction when a train is ahead of schedule | |
| SUMOTime | timeToTeleport |
| the custom time-to-teleport for this type | |
| SUMOTime | timeToTeleportBidi |
| the custom time-to-teleport.bidi for this type | |
| SUMOVehicleClass | vehicleClass |
| The vehicle's class. | |
Values for drawing this class' vehicles | |
| double | width |
| This class' width. | |
| double | height |
| This class' height. | |
| SUMOVehicleShape | shape |
| This class' shape. | |
| std::string | osgFile |
| 3D model file for this class | |
| std::string | imgFile |
| Image file for this class. | |
| std::vector< std::string > | carriageImages |
| Image files for additional carriages. | |
Static Public Attributes | |
| static std::set< SumoXMLAttr > | AllowedJMAttrs |
| allowed attrs for the junction model | |
Static Private Member Functions | |
| static bool | isParameterValid (const std::string &value, const std::string &kvsep, const std::string &sep) |
| check if given string can be parsed to a parameter of type "key=value" | |
Private Attributes | |
| Parameterised::Map | myMap |
| The key->value map. | |
Structure representing possible vehicle parameter.
Definition at line 123 of file SUMOVTypeParameter.h.
|
inherited |
parameters map
Definition at line 45 of file Parameterised.h.
| typedef std::map<SumoXMLAttr, std::string> SUMOVTypeParameter::SubParams |
sub-model parameters
Definition at line 252 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 326 of file SUMOVTypeParameter.cpp.
References SUMOXMLDefinitions::CarFollowModels, SUMOVTypeParameter::VClassDefaultValues::carriageDoors, carriageDoors, SUMOVTypeParameter::VClassDefaultValues::carriageLength, carriageLength, cfModel, SUMOVTypeParameter::VClassDefaultValues::containerCapacity, containerCapacity, SUMOVTypeParameter::VClassDefaultValues::desiredMaxSpeed, desiredMaxSpeed, SUMOVTypeParameter::VClassDefaultValues::emissionClass, emissionClass, OptionsCont::exists(), StringBijection< T >::get(), OptionsCont::getFloat(), OptionsCont::getOptions(), OptionsCont::getString(), SUMOVTypeParameter::VClassDefaultValues::height, height, SUMOVTypeParameter::VClassDefaultValues::latAlignmentProcedure, latAlignmentProcedure, SUMOVTypeParameter::VClassDefaultValues::length, length, SUMOVTypeParameter::VClassDefaultValues::locomotiveLength, locomotiveLength, SUMOVTypeParameter::VClassDefaultValues::mass, mass, SUMOVTypeParameter::VClassDefaultValues::maxSpeed, maxSpeed, SUMOVTypeParameter::VClassDefaultValues::minGap, minGap, SUMOVTypeParameter::VClassDefaultValues::minGapLat, minGapLat, SUMOVTypeParameter::VClassDefaultValues::osgFile, osgFile, SUMOVTypeParameter::VClassDefaultValues::personCapacity, personCapacity, setManoeuverAngleTimes(), Distribution_Parameterized::setParameter(), SUMOVTypeParameter::VClassDefaultValues::shape, shape, SUMOVTypeParameter::VClassDefaultValues::speedFactor, speedFactor, SUMOVTypeParameter::VClassDefaultValues::width, and width.
|
inlinevirtual |
virtual destructor
Definition at line 203 of file SUMOVTypeParameter.h.
|
staticinherited |
check if given string can be parsed to an attributes map "key1=value1|key2=value2|...|keyN=valueN" (used in generic datas)
Definition at line 207 of file Parameterised.cpp.
References StringTokenizer::getVector(), Parameterised::isParameterValid(), TL, and WRITE_WARNINGF.
|
staticinherited |
check if given string can be parsed to a parameters map "key1=value1|key2=value2|...|keyN=valueN"
Definition at line 188 of file Parameterised.cpp.
References StringTokenizer::getVector(), Parameterised::isParameterValid(), TL, and WRITE_WARNINGF.
Referenced by GNEAttributeCarrier::isCommonAttributeValid(), and GNETLSEditorFrame::TLSAttributes::isValidParameters().
| void SUMOVTypeParameter::cacheParamRestrictions | ( | const std::vector< std::string > & | restrictionKeys | ) |
Definition at line 779 of file SUMOVTypeParameter.cpp.
References Parameterised::getParameter(), paramRestrictions, and StringUtils::toDouble().
Referenced by RORouteHandler::closeVType().
|
inherited |
Clears the parameter map.
Definition at line 118 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NLHandler::beginEdgeParsing().
| std::vector< std::pair< double, double > > SUMOVTypeParameter::createCFProfile | ( | const SumoXMLAttr | attr, |
| const std::string | profile | ||
| ) | const |
Creates a vector of pairs from a string.
| [in] | profile | The string containing pairs |
| double SUMOVTypeParameter::getCFParam | ( | const SumoXMLAttr | attr, |
| const double | 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 636 of file SUMOVTypeParameter.cpp.
References cfParameter, and StringUtils::toDouble().
Referenced by MSVehicleType::build(), ROEdge::getEmissionEffort(), MSCFModel_ACC::MSCFModel_ACC(), MSCFModel_CACC::MSCFModel_CACC(), MSCFModel_EIDM::MSCFModel_EIDM(), MSCFModel_IDM::MSCFModel_IDM(), MSCFModel_Kerner::MSCFModel_Kerner(), MSCFModel_PWag2009::MSCFModel_PWag2009(), MSCFModel_Rail::MSCFModel_Rail(), MSCFModel_W99::MSCFModel_W99(), MSCFModel_Wiedemann::MSCFModel_Wiedemann(), and GNEVType::overwriteVType().
| std::string SUMOVTypeParameter::getCFParamString | ( | const SumoXMLAttr | attr, |
| const std::string | 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 646 of file SUMOVTypeParameter.cpp.
References cfParameter.
Referenced by GNEVType::getAttribute(), getCFValueTable(), MSCFModel_Rail::MSCFModel_Rail(), and GNEVType::overwriteVType().
| LinearApproxHelpers::LinearApproxMap SUMOVTypeParameter::getCFProfile | ( | const SumoXMLAttr | attr, |
| const LinearApproxHelpers::LinearApproxMap & | defaultProfile | ||
| ) | 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 670 of file SUMOVTypeParameter.cpp.
References cfParameter, getCFValueTable(), SUMO_ATTR_SPEED_TABLE, TLF, and toString().
Referenced by MSCFModel_Rail::MSCFModel_Rail().
| std::vector< double > SUMOVTypeParameter::getCFValueTable | ( | SumoXMLAttr | attr | ) | const |
retrieve value table from cfParameter
Definition at line 656 of file SUMOVTypeParameter.cpp.
References getCFParamString(), StringTokenizer::getVector(), and StringUtils::toDouble().
Referenced by getCFProfile().
|
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 1041 of file SUMOVTypeParameter.cpp.
Referenced by LIBSUMO_NAMESPACE::Lane::getLinks().
|
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 908 of file SUMOVTypeParameter.cpp.
References SVC_BICYCLE, SVC_BUS, SVC_COACH, SVC_MOPED, SVC_MOTORCYCLE, SVC_PEDESTRIAN, SVC_RAIL, SVC_RAIL_ELECTRIC, SVC_RAIL_FAST, SVC_RAIL_URBAN, SVC_SCOOTER, SVC_SHIP, SVC_TRAILER, SVC_TRAM, SVC_TRUCK, and SVC_WHEELCHAIR.
Referenced by GNETagPropertiesDatabase::fillCarFollowingModelAttributes(), 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 946 of file SUMOVTypeParameter.cpp.
References SVC_BICYCLE, SVC_BUS, SVC_COACH, SVC_MOPED, SVC_MOTORCYCLE, SVC_PEDESTRIAN, SVC_RAIL, SVC_RAIL_ELECTRIC, SVC_RAIL_FAST, SVC_RAIL_URBAN, SVC_SCOOTER, SVC_SHIP, SVC_TRAILER, SVC_TRAM, SVC_TRUCK, and SVC_WHEELCHAIR.
Referenced by MSVehicleType::build(), GNETagPropertiesDatabase::fillCarFollowingModelAttributes(), LIBSUMO_NAMESPACE::Lane::getLinks(), LIBSUMO_NAMESPACE::Vehicle::getNextLinks(), and MSDevice_Bluelight::notifyMove().
|
static |
Returns the default desired acceleration profile for the given vehicle class This needs to be a function because the actual profile is stored in the car following model.
| [in] | vc | the vehicle class |
| [in] | desAccel | the desired acceleration for all speeds |
Definition at line 1110 of file SUMOVTypeParameter.cpp.
References SVC_BICYCLE, SVC_BUS, SVC_COACH, SVC_MOPED, SVC_MOTORCYCLE, SVC_PEDESTRIAN, SVC_RAIL, SVC_RAIL_ELECTRIC, SVC_RAIL_FAST, SVC_RAIL_URBAN, SVC_SHIP, SVC_TRAILER, SVC_TRAM, SVC_TRUCK, and UNUSED_PARAMETER.
|
static |
Returns the default emergency 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 |
| [in] | decel | the deceleration of the vehicle type |
Definition at line 979 of file SUMOVTypeParameter.cpp.
References MAX2(), SVC_BICYCLE, SVC_BUS, SVC_COACH, SVC_MOPED, SVC_MOTORCYCLE, SVC_PEDESTRIAN, SVC_RAIL, SVC_RAIL_ELECTRIC, SVC_RAIL_FAST, SVC_RAIL_URBAN, SVC_SCOOTER, SVC_SHIP, SVC_TRAILER, SVC_TRAM, SVC_TRUCK, SVC_WHEELCHAIR, VTYPEPARS_DEFAULT_EMERGENCYDECEL_DECEL, and VTYPEPARS_DEFAULT_EMERGENCYDECEL_DEFAULT.
Referenced by MSVehicleType::build(), and GNETagPropertiesDatabase::fillCarFollowingModelAttributes().
|
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 1026 of file SUMOVTypeParameter.cpp.
References SVC_RAIL, SVC_RAIL_ELECTRIC, SVC_RAIL_FAST, SVC_RAIL_URBAN, SVC_SHIP, and SVC_TRAM.
Referenced by GNETagPropertiesDatabase::fillCarFollowingModelAttributes(), and ROEdge::getEmissionEffort().
|
static |
Returns the default maximum acceleration profile for the given vehicle class This needs to be a function because the actual profile is stored in the car following model.
| [in] | vc | the vehicle class |
| [in] | maxAccel | the maximum acceleration for all speeds |
Definition at line 1085 of file SUMOVTypeParameter.cpp.
References SVC_BICYCLE, SVC_BUS, SVC_COACH, SVC_MOPED, SVC_MOTORCYCLE, SVC_PEDESTRIAN, SVC_RAIL, SVC_RAIL_ELECTRIC, SVC_RAIL_FAST, SVC_RAIL_URBAN, SVC_SHIP, SVC_TRAILER, SVC_TRAM, SVC_TRUCK, and UNUSED_PARAMETER.
|
inherited |
Returns the value for a given key converted to a double.
| [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 100 of file Parameterised.cpp.
References Parameterised::myMap, TL, StringUtils::toDouble(), WRITE_WARNING, and WRITE_WARNINGF.
Referenced by MSPModel_JuPedSim::add(), MSVehicleType::build(), MSVehicleType::check(), EnergyParams::EnergyParams(), MSSOTLPolicy5DStimulus::getStimCox(), MSSOTLPolicy5DStimulus::getStimCoxExpDispersionIn(), MSSOTLPolicy5DStimulus::getStimCoxExpDispersionOut(), MSSOTLPolicy5DStimulus::getStimCoxExpIn(), MSSOTLPolicy5DStimulus::getStimCoxExpOut(), MSSOTLPolicy5DStimulus::getStimDivisorDispersionIn(), MSSOTLPolicy5DStimulus::getStimDivisorDispersionOut(), MSSOTLPolicy5DStimulus::getStimDivisorIn(), MSSOTLPolicy5DStimulus::getStimDivisorOut(), MSSOTLPolicy5DStimulus::getStimOffsetDispersionIn(), MSSOTLPolicy5DStimulus::getStimOffsetDispersionOut(), MSSOTLPolicy5DStimulus::getStimOffsetIn(), MSSOTLPolicy5DStimulus::getStimOffsetOut(), MSActuatedTrafficLightLogic::init(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), and MSDevice_Battery::readParameterValue().
| SUMOTime SUMOVTypeParameter::getEntryManoeuvreTime | ( | const int | angle | ) | const |
Returns the time that will be needed for the vehicle type to execute the (entry) manoeuvre (and be blocking the lane)
| [in] | angle | The angle, in degrees through which the vehicle needs to manoeuver (0-180 degrees) |
Definition at line 736 of file SUMOVTypeParameter.cpp.
References myManoeuverAngleTimes.
| SUMOTime SUMOVTypeParameter::getExitManoeuvreTime | ( | const int | angle | ) | const |
Returns the time that will be needed for the vehicle type to execute the (exit) manoeuvre (and be blocking the lane)
| [in] | angle | The angle, in degrees through which the vehicle needs to manoeuver (0-180 degrees) |
Definition at line 749 of file SUMOVTypeParameter.cpp.
References myManoeuverAngleTimes.
| double SUMOVTypeParameter::getJMParam | ( | const SumoXMLAttr | attr, |
| const double | 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 717 of file SUMOVTypeParameter.cpp.
References jmParameter, and StringUtils::toDouble().
Referenced by MSLink::blockedAtTime(), MSLink::blockedByFoe(), MSLink::getLeaderInfo(), MSVehicle::ignoreRed(), MSLane::isInsertionSuccess(), MSVehicle::keepClear(), MSDevice_Bluelight::notifyMove(), MSDevice_GLOSA::notifyMove(), MSLink::opened(), GNEVType::overwriteVType(), and MSCFModel_Krauss::patchSpeedBeforeLC().
| std::string SUMOVTypeParameter::getJMParamString | ( | const SumoXMLAttr | attr, |
| const std::string | 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 727 of file SUMOVTypeParameter.cpp.
References jmParameter.
Referenced by GNEVType::getAttribute(), and GNEVType::overwriteVType().
|
inlinestatic |
return all valid strings for latAlignment
Definition at line 491 of file SUMOVTypeParameter.h.
Referenced by GNEVehicleTypeDialog::VTypeAttributes::buildAttributesB(), and GNETagPropertiesDatabase::fillCommonVTypeAttributes().
| double SUMOVTypeParameter::getLCParam | ( | const SumoXMLAttr | attr, |
| const double | 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 691 of file SUMOVTypeParameter.cpp.
References lcParameter, and StringUtils::toDouble().
Referenced by MSVehicle::betterContinuation(), and GNEVType::overwriteVType().
| const SUMOVTypeParameter::SubParams & SUMOVTypeParameter::getLCParams | ( | ) | const |
Returns the LC parameter.
Definition at line 711 of file SUMOVTypeParameter.cpp.
References lcParameter.
Referenced by MSAbstractLaneChangeModel::estimateLCDuration(), and MSAbstractLaneChangeModel::remainingTime().
| std::string SUMOVTypeParameter::getLCParamString | ( | const SumoXMLAttr | attr, |
| const std::string & | 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 701 of file SUMOVTypeParameter.cpp.
References lcParameter.
Referenced by GNEVType::getAttribute(), MSDevice_Bluelight::notifyMove(), GNEVType::overwriteVType(), and MSDevice_Bluelight::resetVehicle().
|
inline |
satisfy vType / router template requirements
Definition at line 439 of file SUMOVTypeParameter.h.
References length.
| std::string SUMOVTypeParameter::getManoeuverAngleTimesS | ( | ) | const |
Returns myManoeuverAngleTimes as a string for xml output.
Definition at line 762 of file SUMOVTypeParameter.cpp.
References myManoeuverAngleTimes, STEPS2TIME, and toString().
Referenced by GUIVehicle::getTypeParameterWindow(), and write().
|
virtualinherited |
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 |
Reimplemented in MSActuatedTrafficLightLogic, MSSimpleTrafficLightLogic, and NEMALogic.
Definition at line 90 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by MSPModel_JuPedSim::add(), NBRailwayTopologyAnalyzer::addBidiEdge(), NBEdge::addRestrictedLane(), FareModul::addStop(), NBEdge::append(), NBEdgeCont::attachRemoved(), GUIInductLoop::buildDetectorGUIRepresentation(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), ROEdge::cacheParamRestrictions(), cacheParamRestrictions(), MSVehicleType::check(), MSRailSignal::constraintsAllow(), GUINet::createTLWrapper(), GNEEdge::drawEdgeName(), GNEConnection::drawEdgeValues(), GNEGenericData::drawFilteredAttribute(), GUIEdge::drawGL(), GUIPointOfInterest::drawGL(), GNEPOI::drawPOI(), EnergyParams::EnergyParams(), MSPModel_JuPedSim::execute(), MSDevice_SSM::filterByConflictType(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), MSStoppingPlace::finishedLoading(), GUIBusStop::finishedLoading(), GUIEdge::getColorValue(), GUILane::getColorValue(), GUIVehicle::getColorValue(), GNEEdgeData::getColorValue(), GNEEdgeRelData::getColorValue(), GNETAZRelData::getColorValue(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), LIBSUMO_NAMESPACE::TrafficLight::getFutureTripIds(), MSTLLogicControl::WAUTSwitchProcedure::getGSPTime(), RORoutable::getMaxSpeed(), MSDevice_SSM::getMDRAC_PRT(), MSDevice_SSM::getMeasuresAndThresholds(), MSSOTLRequestPolicy::getMinDecisionalPhaseDuration(), GUIBaseVehicle::getOptionalName(), GUITrafficLightLogicWrapper::getOptionalName(), MSDevice_SSM::getOutputFilename(), MSSimpleTrafficLightLogic::getParameter(), NEMALogic::getParameter(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSBaseVehicle::getPrefixedParameter(), GUIBaseVehicle::getScaleValue(), GNETAZRelData::getScaleValue(), LIBSUMO_NAMESPACE::Vehicle::getStopParameter(), SUMOTrafficObject::getStringParam(), MSRailSignalConstraint::getVeh(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), MSStoppingPlaceRerouter::getWeight(), MSRailSignal::hasInsertionConstraint(), MSInsertionControl::hasTaxiDeviceType(), MSRailSignalControl::haveDeadlock(), MSLink::ignoreFoe(), MSSOTLPhasePolicy::init(), MSStageDriving::init(), PushButtonLogic::init(), SigmoidLogic::init(), initRailVisualizationParameters(), NIImporter_OpenStreetMap::insertNodeChecking(), MSAbstractLaneChangeModel::laneChangeOutput(), NWWriter_OpenDrive::mapmatchRoadObjects(), Parameterised::mergeParameters(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), MSSOTLPolicy::MSSOTLPolicy(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), NIImporter_OpenStreetMap::RelationHandler::myEndElement(), MSDevice_GLOSA::notifyEnter(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), GNEVType::overwriteVType(), NWWriter_OpenDrive::parseTrafficSign(), NBTrafficLightDefinition::railSignalUncontrolled(), MSDevice_Battery::readParameterValue(), MSDevice_SSM::requestsTrajectories(), MSDevice_Bluelight::resetVehicle(), GNEEdgeData::setColor(), GNEEdgeRelData::setColor(), NBTrafficLightLogicCont::setOpenDriveSignalParameters(), NBEdge::setOrigID(), MSVehicle::slowDownForSchedule(), NBEdgeCont::splitAt(), LIBSUMO_NAMESPACE::TrafficLight::swapParameters(), LIBSUMO_NAMESPACE::TrafficLight::updateConstraints(), NBEdge::updateRemovedNodes(), MSDevice_SSM::useGeoCoords(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::WAUTSwitchProcedure_Stretch(), MSDevice_SSM::writeLanesPositions(), NWWriter_DlrNavteq::writeLinksUnsplitted(), MSDevice_SSM::writePositions(), NWWriter_OpenDrive::writeRoadObjectPOI(), NWWriter_OpenDrive::writeRoadObjectPoly(), NWWriter_OpenDrive::writeRoadObjects(), and NWWriter_OpenDrive::writeSignals().
|
inherited |
Returns the inner key/value map.
Definition at line 124 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NIImporter_SUMO::_loadNetwork(), NBNode::addCrossing(), NBEdge::addLane(), NBEdge::append(), LIBSUMO_NAMESPACE::TrafficLight::buildConstraint(), GUIParameterTableWindow::closeBuilding(), NLHandler::closeEdge(), NBTrafficLightDefinition::compute(), GNEGenericData::drawAttribute(), GNEGenericData::drawFilteredAttribute(), NLDetectorBuilder::endE3Detector(), MSRailSignalConstraint_Predecessor::getDescription(), NWWriter_OpenDrive::getDividerType(), GUILane::getParameterWindow(), MSRailCrossing::init(), MSActuatedTrafficLightLogic::init(), MSDevice_Taxi::initDispatch(), MSPModel_JuPedSim::initialize(), MSBaseVehicle::initTransientModelParams(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), GNEEdgeData::isGenericDataVisible(), GNEEdgeRelData::isGenericDataVisible(), GNETAZRelData::isGenericDataVisible(), GNEGenericData::isVisibleInspectDeleteSelect(), NBEdge::NBEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), NBTrafficLightLogic::NBTrafficLightLogic(), GUIParameterTableWindow::numParams(), GNEVType::overwriteVType(), Parameterised::setParameters(), LIBSUMO_NAMESPACE::TrafficLight::swapConstraints(), GNEEdgeData::writeGenericData(), GNEEdgeRelData::writeGenericData(), and GNETAZRelData::writeGenericData().
|
inherited |
Returns the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN".
Definition at line 130 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by GNEAttributeCarrier::getCommonAttribute().
return time-to-teleport (either custom or default)
Definition at line 1075 of file SUMOVTypeParameter.cpp.
References timeToTeleport, and TTT_UNSET.
Referenced by MSLane::executeMovements().
return time-to-teleport.bidi (either custom or default)
Definition at line 1080 of file SUMOVTypeParameter.cpp.
References timeToTeleportBidi, and TTT_UNSET.
Referenced by MSLane::executeMovements().
|
inherited |
Returns whether the parameter is set.
| [in] | key | The key to ask for |
Definition at line 84 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by MSStageWalking::activateEntryReminders(), NBEdge::append(), MSVehicleType::build(), GUIInductLoop::buildDetectorGUIRepresentation(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), GUINet::createTLWrapper(), EnergyParams::EnergyParams(), MSDevice_SSM::filterByConflictType(), GUIBusStop::finishedLoading(), NWWriter_DlrNavteq::getBrunnelType(), GUILane::getColorValue(), GNEEdgeData::getColorValue(), GNEEdgeRelData::getColorValue(), GNETAZRelData::getColorValue(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSDevice_SSM::getMDRAC_PRT(), MSDevice_SSM::getMeasuresAndThresholds(), MSDevice_SSM::getOutputFilename(), LIBSUMO_NAMESPACE::Simulation::getParameter(), GNETAZRelData::getScaleValue(), MSStoppingPlaceRerouter::getWeight(), MSStageDriving::init(), initRailVisualizationParameters(), MSEdge::insertVehicle(), NWWriter_OpenDrive::mapmatchRoadObjects(), Parameterised::mergeParameters(), MSActuatedTrafficLightLogic::MSActuatedTrafficLightLogic(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), NIImporter_OpenStreetMap::RelationHandler::myEndElement(), GNEVType::overwriteVType(), NWWriter_OpenDrive::parseTrafficSign(), NBTrafficLightDefinition::railSignalUncontrolled(), MSDevice_Battery::readParameterValue(), MSDevice_SSM::requestsTrajectories(), NBTrafficLightLogicCont::setOpenDriveSignalParameters(), MSVehicle::slowDownForSchedule(), MSDevice_SSM::useGeoCoords(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::WAUTSwitchProcedure_Stretch(), MSDevice_SSM::writeLanesPositions(), MSDevice_SSM::writePositions(), NWWriter_OpenDrive::writeRoadObjectPoly(), NWWriter_OpenDrive::writeRoadObjects(), and NWWriter_OpenDrive::writeSignals().
| void SUMOVTypeParameter::initRailVisualizationParameters | ( | const std::string | fileName = "" | ) |
init Rail Visualization Parameters
Definition at line 787 of file SUMOVTypeParameter.cpp.
References BICYCLE, BUS, BUS_COACH, BUS_FLEXIBLE, BUS_TROLLEY, carriageDoors, carriageDoorWidth, carriageGap, carriageImages, carriageLength, FileHelpers::checkForRelativity(), DELIVERY, frontSeatPos, Parameterised::getParameter(), StringTokenizer::getVector(), Parameterised::hasParameter(), locomotiveLength, maxPlatformDistance, MOPED, MOTORCYCLE, parametersSet, RAIL, RAIL_CAR, RAIL_CARGO, scaleVisual, seatingWidth, shape, SHIP, SVC_RAIL_ELECTRIC, SVC_RAIL_FAST, SVC_RAIL_URBAN, SVC_TRAM, StringUtils::toDouble(), StringUtils::toInt(), TRUCK, TRUCK_1TRAILER, TRUCK_SEMITRAILER, vehicleClass, VTYPEPARS_CARRIAGE_DOORS_SET, VTYPEPARS_CARRIAGE_GAP_SET, VTYPEPARS_CARRIAGE_LENGTH_SET, VTYPEPARS_FRONT_SEAT_POS_SET, VTYPEPARS_LOCOMOTIVE_LENGTH_SET, and VTYPEPARS_SEATING_WIDTH_SET.
Referenced by MSVehicleType::build(), GNEVType::GNEVType(), GNEVType::GNEVType(), GNEVType::GNEVType(), GNEVType::GNEVType(), GNEVType::GNEVType(), and GNEVType::GNEVType().
|
staticprivateinherited |
check if given string can be parsed to a parameter of type "key=value"
Definition at line 242 of file Parameterised.cpp.
References StringTokenizer::getVector(), and SUMOXMLDefinitions::isValidParameterKey().
Referenced by Parameterised::areAttributesValid(), and Parameterised::areParametersValid().
|
inlinestatic |
Definition at line 483 of file SUMOVTypeParameter.h.
References parseLatAlignment().
Referenced by GNEVType::isValid().
|
inherited |
Adds or appends all given parameters from the map.
| [in] | mapArg | The keys/values to insert |
Definition at line 65 of file Parameterised.cpp.
References Parameterised::getParameter(), Parameterised::hasParameter(), and Parameterised::setParameter().
Referenced by NBEdge::append().
|
static |
Parses and validates a given latAlignment value.
| [in] | val | The latAlignment value to parse |
| [out] | lao | The parsed lateral alignment offset, if given |
| [out] | lad | The parsed latAlignment definition |
Definition at line 1047 of file SUMOVTypeParameter.cpp.
References ARBITRARY, CENTER, COMPACT, GIVEN, LEFT, NICE, RIGHT, and StringUtils::toDouble().
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), isValidLatAlignment(), and GNEVType::setAttribute().
| void SUMOVTypeParameter::setManoeuverAngleTimes | ( | const SUMOVehicleClass | vclass | ) |
Initialise the default mapping between manoeuver angle and times dependant on vehicle class.
| [in] | vclass | The vehicle class |
Defaults assume: approaching at angles between 0-10 and 171-180 (will never be > 180) are approaching a space roughly parallel to the road approaching at angles between 11-80 are approaching an acute angled space that is easiest to drive straight in approaching at angles between 81-110 are approaching a space at approximately right angles to the road so the driver has a choice approaching at angles between 111 and 170 are approaching an obtuse angled space that is easiest to drive past and reverse in More (or less) granular angle ranges can be used - configurable as a vType parameter
Definition at line 404 of file SUMOVTypeParameter.cpp.
References myManoeuverAngleTimes, SVC_BICYCLE, SVC_BUS, SVC_COACH, SVC_DELIVERY, SVC_E_VEHICLE, SVC_HOV, SVC_MOPED, SVC_PASSENGER, SVC_PEDESTRIAN, SVC_TAXI, SVC_TRAILER, and SVC_TRUCK.
Referenced by SUMOVTypeParameter().
|
virtualinherited |
Sets a parameter.
| [in] | key | The parameter's name |
| [in] | value | The parameter's value |
Reimplemented in MSRailCrossing, MSActuatedTrafficLightLogic, MSRailSignal, MSSimpleTrafficLightLogic, and NEMALogic.
Definition at line 45 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NBRailwayTopologyAnalyzer::addBidiEdge(), NLHandler::addDistrict(), RONetHandler::addParam(), ShapeHandler::addPOI(), NBOwnTLDef::buildNemaPhases(), NLJunctionControlBuilder::closeTrafficLightLogic(), MSStateHandler::closeVehicle(), MSParkingArea::enter(), NIImporter_MATSim::EdgesHandler::insertEdge(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), MSLane::isInsertionSuccess(), NBNodeCont::joinNodeCluster(), NBEdge::Lane::Lane(), NWWriter_OpenDrive::mapmatchRoadObjects(), Parameterised::mergeParameters(), NIImporter_OpenStreetMap::RelationHandler::myEndElement(), MSStateHandler::myStartElement(), NIXMLConnectionsHandler::myStartElement(), NIXMLNodesHandler::myStartElement(), NIXMLTrafficLightsHandler::myStartElement(), ShapeHandler::myStartElement(), MSDevice_Bluelight::notifyMove(), NBRailwayTopologyAnalyzer::reverseEdges(), GNEVType::setAttribute(), NBEdge::setJunctionPriority(), NIImporter_OpenDrive::setLaneAttributes(), MSRailCrossing::setParameter(), MSActuatedTrafficLightLogic::setParameter(), MSRailSignal::setParameter(), MSSimpleTrafficLightLogic::setParameter(), NEMALogic::setParameter(), LIBSUMO_NAMESPACE::Simulation::setParameter(), Parameterised::setParametersStr(), LIBSUMO_NAMESPACE::Vehicle::setStopParameter(), LIBSUMO_NAMESPACE::TrafficLight::swapParameters(), Parameterised::updateParameters(), NBEdge::updateRemovedNodes(), NWWriter_OpenDrive::writeNetwork(), and NIImporter_OpenDrive::writeRoadObjects().
|
inherited |
set the given key/value map in map<string, string> format
Definition at line 146 of file Parameterised.cpp.
References Parameterised::getParametersMap(), and Parameterised::myMap.
Referenced by GNEVehicleFrame::buildVehicleOverRoute(), MSStageDriving::clone(), MSStageTranship::clone(), MSStageTrip::clone(), MSStageWaiting::clone(), MSStageWalking::clone(), GNEVehicleFrame::createPath(), and MSStageTrip::reroute().
|
inherited |
set the given key/value vector in map<string, string> format
Definition at line 152 of file Parameterised.cpp.
References Parameterised::myMap.
|
inherited |
set the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN"
| [in] | paramsString | A serialized key-value map |
| [in] | kvsep | The separater between key and value |
| [in] | sep | The separater between map entries |
Definition at line 161 of file Parameterised.cpp.
References StringTokenizer::getVector(), Parameterised::myMap, and Parameterised::setParameter().
Referenced by MSDevice_Taxi::initDispatch(), and GNEAttributeCarrier::setCommonAttribute().
|
inherited |
Removes a parameter.
| [in] | key | The parameter's name |
Definition at line 51 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NIImporter_OpenStreetMap::insertEdge(), MSLane::isInsertionSuccess(), GNEVType::setAttribute(), and LIBSUMO_NAMESPACE::TrafficLight::swapParameters().
|
inherited |
Adds or updates all given parameters from the map.
| [in] | mapArg | The keys/values to insert |
Definition at line 57 of file Parameterised.cpp.
References Parameterised::setParameter().
Referenced by NIImporter_SUMO::_loadNetwork(), NBNode::addCrossing(), PCLoaderOSM::addPOI(), PCLoaderOSM::addPolygon(), NLHandler::closeEdge(), NLJunctionControlBuilder::closeJunction(), NLJunctionControlBuilder::closeTrafficLightLogic(), NBTrafficLightDefinition::compute(), NLDetectorBuilder::endE3Detector(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), NBEdge::NBEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), NBTrafficLightLogic::NBTrafficLightLogic(), and LIBSUMO_NAMESPACE::TrafficLight::swapConstraints().
|
inline |
Returns whether the given parameter was set.
| [in] | what | The parameter which one asks for |
Definition at line 209 of file SUMOVTypeParameter.h.
References parametersSet.
Referenced by MSVehicleType::build(), MSVehicleType::check(), MSRouteHandler::closeTransportable(), EnergyParams::EnergyParams(), MSDevice_StationFinder::estimateConsumption(), GNEVType::getAttribute(), GNEVType::getAttributeDouble(), GUIVehicle::getTypeParameterWindow(), GNEVType::isAttributeEnabled(), MSDevice_Battery::MSDevice_Battery(), MSVehicleType::MSVehicleType(), MSDevice_Battery::notifyMove(), GNEVType::overwriteVType(), MSTransportable::replaceVehicleType(), GNEVType::updateDefaultVClassAttributes(), and 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 452 of file SUMOVTypeParameter.cpp.
References actionStepLength, ARBITRARY, boardingDuration, boardingFactor, SUMOXMLDefinitions::CarFollowModels, carriageDoors, carriageGap, carriageLength, CENTER, cfModel, cfParameter, OutputDevice::closeTag(), color, COMPACT, containerCapacity, DEFAULT, defaultProbability, desiredMaxSpeed, emissionClass, getManoeuverAngleTimesS(), PollutantsInterface::getName(), getVehicleShapeName(), GIVEN, height, imgFile, impatience, jmParameter, latAlignmentOffset, latAlignmentProcedure, lcModel, lcParameter, LEFT, length, loadingDuration, locomotiveLength, mass, maxSpeed, maxSpeedLat, minGap, minGapLat, NICE, onlyReferenced, OutputDevice::openTag(), osgFile, personCapacity, RIGHT, scale, shape, speedFactor, speedFactorPremature, STEPS2TIME, SUMO_ATTR_ACTIONSTEPLENGTH, SUMO_ATTR_BOARDING_DURATION, SUMO_ATTR_BOARDING_FACTOR, SUMO_ATTR_CAR_FOLLOW_MODEL, SUMO_ATTR_CARRIAGE_DOORS, SUMO_ATTR_CARRIAGE_GAP, SUMO_ATTR_CARRIAGE_LENGTH, SUMO_ATTR_COLOR, SUMO_ATTR_CONTAINER_CAPACITY, SUMO_ATTR_DESIRED_MAXSPEED, 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_LOCOMOTIVE_LENGTH, SUMO_ATTR_MANEUVER_ANGLE_TIMES, SUMO_ATTR_MASS, 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_SCALE, SUMO_ATTR_SPEEDFACTOR, SUMO_ATTR_SPEEDFACTOR_PREMATURE, SUMO_ATTR_TIME_TO_TELEPORT, SUMO_ATTR_TIME_TO_TELEPORT_BIDI, SUMO_ATTR_VALUE, SUMO_ATTR_VCLASS, SUMO_ATTR_WIDTH, SUMO_TAG_PARAM, SUMO_TAG_VTYPE, time2string(), timeToTeleport, timeToTeleportBidi, toString(), vehicleClass, VTYPEPARS_ACTIONSTEPLENGTH_SET, VTYPEPARS_BOARDING_DURATION, VTYPEPARS_BOARDING_FACTOR_SET, VTYPEPARS_CAR_FOLLOW_MODEL, VTYPEPARS_CARRIAGE_DOORS_SET, VTYPEPARS_CARRIAGE_GAP_SET, VTYPEPARS_CARRIAGE_LENGTH_SET, VTYPEPARS_COLOR_SET, VTYPEPARS_CONTAINER_CAPACITY, VTYPEPARS_DESIRED_MAXSPEED_SET, 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_LOCOMOTIVE_LENGTH_SET, VTYPEPARS_MANEUVER_ANGLE_TIMES_SET, VTYPEPARS_MASS_SET, VTYPEPARS_MAXSPEED_LAT_SET, VTYPEPARS_MAXSPEED_SET, VTYPEPARS_MINGAP_LAT_SET, VTYPEPARS_MINGAP_SET, VTYPEPARS_OSGFILE_SET, VTYPEPARS_PERSON_CAPACITY, VTYPEPARS_PROBABILITY_SET, VTYPEPARS_SCALE_SET, VTYPEPARS_SHAPE_SET, VTYPEPARS_SPEEDFACTOR_PREMATURE_SET, VTYPEPARS_SPEEDFACTOR_SET, VTYPEPARS_TTT_BIDI_SET, VTYPEPARS_TTT_SET, VTYPEPARS_VEHICLECLASS_SET, VTYPEPARS_WIDTH_SET, wasSet(), width, OutputDevice::writeAttr(), and Parameterised::writeParams().
Referenced by ROPerson::saveAsXML(), ROVehicle::saveAsXML(), GNEVType::writeDemandElement(), and RODFDetectorCon::writeEmitters().
|
inherited |
write Params in the given outputdevice
Definition at line 176 of file Parameterised.cpp.
References OutputDevice::closeTag(), StringUtils::escapeXML(), Parameterised::myMap, OutputDevice::openTag(), SUMO_ATTR_KEY, SUMO_ATTR_VALUE, SUMO_TAG_PARAM, and OutputDevice::writeAttr().
Referenced by MSStageWaiting::routeOutput(), MSTransportable::routeOutput(), ROPerson::saveAsXML(), ROVehicle::saveAsXML(), MEVehicle::saveState(), MSVehicle::saveState(), MSStop::write(), write(), SUMOVehicleParameter::Stop::write(), NBPTStop::write(), MSRailSignalConstraint_Predecessor::write(), GNEBusStop::writeAdditional(), GNECalibrator::writeAdditional(), GNECalibratorFlow::writeAdditional(), GNEChargingStation::writeAdditional(), GNEContainerStop::writeAdditional(), GNEEntryExitDetector::writeAdditional(), GNEInductionLoopDetector::writeAdditional(), GNEInstantInductionLoopDetector::writeAdditional(), GNELaneAreaDetector::writeAdditional(), GNEMultiEntryExitDetector::writeAdditional(), GNEOverheadWire::writeAdditional(), GNEParkingArea::writeAdditional(), GNEParkingSpace::writeAdditional(), GNEPOI::writeAdditional(), GNEPoly::writeAdditional(), GNERerouter::writeAdditional(), GNERouteProbe::writeAdditional(), GNETAZ::writeAdditional(), GNETractionSubstation::writeAdditional(), GNEVaporizer::writeAdditional(), GNEVariableSpeedSign::writeAdditional(), NWWriter_SUMO::writeConnection(), GNEContainer::writeDemandElement(), GNEPerson::writeDemandElement(), GNERoute::writeDemandElement(), GNEVehicle::writeDemandElement(), NWWriter_SUMO::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), NWWriter_SUMO::writeJunction(), NWWriter_SUMO::writeLane(), NWWriter_XML::writeNodes(), MSDevice_Vehroutes::writeOutput(), NWWriter_SUMO::writeTrafficLight(), SUMOPolygon::writeXML(), and PointOfInterest::writeXML().
| SUMOTime SUMOVTypeParameter::actionStepLength |
The vehicle type's default actionStepLength [ms], i.e. the interval between two control actions. The default value of 0ms. induces the value to be traced from MSGlobals::gActionStepLength.
Definition at line 293 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::check(), MSVehicleType::getActionStepLength(), GNEVType::getAttribute(), MSVehicleType::MSVehicleType(), GNEVType::overwriteVType(), MSVehicleType::setActionStepLength(), GNEVType::setAttribute(), and write().
|
static |
allowed attrs for the junction model
Definition at line 436 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::parseJMParams().
| SUMOTime SUMOVTypeParameter::boardingDuration |
The time a person needs to board the vehicle.
Definition at line 323 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), GNEVType::getAttribute(), MSVehicleType::getBoardingDuration(), MSVehicleType::getLoadingDuration(), GNEVType::overwriteVType(), GNEVType::setAttribute(), MSVehicleType::setBoardingDuration(), and write().
| double SUMOVTypeParameter::boardingFactor |
factor for boardingDuration / loadingDuration
Definition at line 421 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::getBoardingFactor(), and write().
| int SUMOVTypeParameter::carriageDoors |
the number of doors per carriage
Definition at line 394 of file SUMOVTypeParameter.h.
Referenced by MSTrainHelper::computeTrainDimensions(), initRailVisualizationParameters(), SUMOVTypeParameter(), and write().
| double SUMOVTypeParameter::carriageDoorWidth |
the width of the carriage doors
Definition at line 397 of file SUMOVTypeParameter.h.
Referenced by MSPModel_JuPedSim::execute(), initRailVisualizationParameters(), and MSStageDriving::setArrived().
| double SUMOVTypeParameter::carriageGap |
the length of the gap between carriages
Definition at line 391 of file SUMOVTypeParameter.h.
Referenced by MSDevice_Transportable::changeAttached(), MSTrainHelper::computeTrainDimensions(), GNEVType::getAttribute(), initRailVisualizationParameters(), GNEVType::setAttribute(), and write().
| std::vector<std::string> SUMOVTypeParameter::carriageImages |
Image files for additional carriages.
Definition at line 350 of file SUMOVTypeParameter.h.
Referenced by GUIVehicle::drawAction_drawCarriageClass(), and initRailVisualizationParameters().
| double SUMOVTypeParameter::carriageLength |
the length of train carriages
Definition at line 385 of file SUMOVTypeParameter.h.
Referenced by MSDevice_Transportable::changeAttached(), MSTrainHelper::computeTrainDimensions(), GNEVType::getAttribute(), initRailVisualizationParameters(), GNEVType::setAttribute(), SUMOVTypeParameter(), GNEVType::updateDefaultVClassAttributes(), and write().
| SumoXMLTag SUMOVTypeParameter::cfModel |
The enum-representation of the car-following model to use.
Definition at line 355 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::build(), GNEVType::getAttribute(), GNEVType::overwriteVType(), SUMOVehicleParserHelper::parseCFMParams(), GNEVType::setAttribute(), SUMOVTypeParameter(), and write().
| SubParams SUMOVTypeParameter::cfParameter |
Car-following parameter.
Definition at line 358 of file SUMOVTypeParameter.h.
Referenced by getCFParam(), getCFParamString(), getCFProfile(), SUMOVehicleParserHelper::parseCFMParams(), MSVehicleType::setAccel(), MSVehicleType::setApparentDecel(), GNEVType::setAttribute(), MSVehicleType::setDecel(), MSVehicleType::setEmergencyDecel(), MSVehicleType::setImperfection(), MSVehicleType::setTau(), and write().
| RGBColor SUMOVTypeParameter::color |
The color.
Definition at line 308 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), GNEVType::getAttribute(), MSVehicleType::getColor(), GNEVType::getColor(), GNEVType::overwriteVType(), GNEVType::setAttribute(), MSVehicleType::setColor(), and write().
| int SUMOVTypeParameter::containerCapacity |
The container capacity of the vehicle.
Definition at line 320 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), GNEVType::getAttribute(), MSVehicleType::getContainerCapacity(), GNEVType::overwriteVType(), MSStageDriving::proceed(), GNEVType::setAttribute(), SUMOVTypeParameter(), GNEVType::updateDefaultVClassAttributes(), and write().
| double SUMOVTypeParameter::defaultProbability |
The probability when being added to a distribution without an explicit probability.
Definition at line 296 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), GNERouteHandler::buildVType(), RORouteHandler::closeVType(), GNEVType::getAttribute(), GNEVType::getAttributeDouble(), MSVehicleType::getDefaultProbability(), RORouteHandler::openVehicleTypeDistribution(), GNEVType::overwriteVType(), GNEVType::setAttribute(), MSVehicleType::setDefaultProbability(), and write().
| double SUMOVTypeParameter::desiredMaxSpeed |
The vehicle type's desired maximum speed [m/s].
Definition at line 289 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), GNEVType::getAttribute(), MSVehicleType::getDesiredMaxSpeed(), GNEVType::overwriteVType(), GNEVType::setAttribute(), SUMOVTypeParameter(), GNEVType::updateDefaultVClassAttributes(), and write().
| SUMOEmissionClass SUMOVTypeParameter::emissionClass |
The emission class of this vehicle.
Definition at line 302 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::check(), EnergyParams::EnergyParams(), GNEVType::getAttribute(), MSVehicleType::getEmissionClass(), ROEdge::getEmissionEffort(), ROEdge::getNoiseEffort(), GNEVType::overwriteVType(), GNEVType::setAttribute(), MSVehicleType::setEmissionClass(), SUMOVTypeParameter(), GNEVType::updateDefaultVClassAttributes(), and write().
| double SUMOVTypeParameter::frontSeatPos |
the offset of the first person seat from the front of the vehicle
Definition at line 412 of file SUMOVTypeParameter.h.
Referenced by MSVehicleType::getFrontSeatPos(), and initRailVisualizationParameters().
| double SUMOVTypeParameter::height |
This class' height.
Definition at line 338 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), EnergyParams::EnergyParams(), GNEVType::getAttribute(), GNEVType::getAttributeDouble(), MSVehicleType::getHeight(), GNEVType::overwriteVType(), GNEVType::setAttribute(), MSVehicleType::setHeight(), SUMOVTypeParameter(), GNEVType::updateDefaultVClassAttributes(), and write().
| std::string SUMOVTypeParameter::id |
The vehicle type's id.
Definition at line 277 of file SUMOVTypeParameter.h.
Referenced by RORouteHandler::addFlowPerson(), RONet::addVehicleType(), SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::build(), GNERouteHandler::buildVType(), RONet::checkFlows(), RORouteHandler::closeVehicle(), VTypesHandler::closeVType(), MSVehicleType::duplicateType(), EnergyParams::EnergyParams(), MSVehicleType::getID(), MSNet::getPreference(), RONet::getPreference(), SUMORouteHandler::myStartElement(), SUMOVehicleParserHelper::parseAngleTimesMap(), SUMOVehicleParserHelper::parseCFMParams(), SUMOVehicleParserHelper::parseJMParams(), SUMOVehicleParserHelper::parseLCParams(), RONet::RONet(), and SUMOVehicleParserHelper::validProfile().
| std::string SUMOVTypeParameter::imgFile |
Image file for this class.
Definition at line 347 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), GNEVType::getAttribute(), MSVehicleType::getImgFile(), GNEVType::overwriteVType(), GNEVType::setAttribute(), and write().
| double SUMOVTypeParameter::impatience |
The vehicle's impatience (willingness to obstruct others)
Definition at line 314 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), GNEVType::getAttribute(), MSVehicleType::getImpatience(), GNEVType::overwriteVType(), GNEVType::setAttribute(), MSVehicleType::setImpatience(), and write().
| SubParams SUMOVTypeParameter::jmParameter |
Junction-model parameter.
Definition at line 364 of file SUMOVTypeParameter.h.
Referenced by getJMParam(), getJMParamString(), GUIVehicle::getTypeParameterWindow(), SUMOVehicleParserHelper::parseJMParams(), GNEVType::setAttribute(), and write().
| double SUMOVTypeParameter::latAlignmentOffset |
(optional) The vehicle's desired lateral alignment as offset in m from center line
Definition at line 373 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), GNEVType::getAttribute(), MSVehicleType::getPreferredLateralAlignmentOffset(), GNEVType::overwriteVType(), GNEVType::setAttribute(), MSVehicleType::setPreferredLateralAlignment(), and write().
| LatAlignmentDefinition SUMOVTypeParameter::latAlignmentProcedure |
Information on how the vehicle shall choose the lateral alignment.
Definition at line 376 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), GNEVType::getAttribute(), MSVehicleType::getPreferredLateralAlignment(), GNEVType::overwriteVType(), GNEVType::setAttribute(), MSVehicleType::setPreferredLateralAlignment(), SUMOVTypeParameter(), and write().
| LaneChangeModel SUMOVTypeParameter::lcModel |
The lane-change model to use.
Definition at line 367 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), GNEVType::getAttribute(), MSVehicleType::getLaneChangeModel(), GNEVType::overwriteVType(), GNEVType::setAttribute(), and write().
| SubParams SUMOVTypeParameter::lcParameter |
Lane-changing parameter.
Definition at line 361 of file SUMOVTypeParameter.h.
Referenced by getLCParam(), getLCParams(), getLCParamString(), GUIVehicle::getTypeParameterWindow(), SUMOVehicleParserHelper::parseLCParams(), GNEVType::setAttribute(), MSVehicleType::setLcContRight(), and write().
| double SUMOVTypeParameter::length |
The physical vehicle length.
Definition at line 280 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSDevice_StationFinder::evaluateCustomComponents(), MSDevice_StationFinder::freeSpaceAtChargingStation(), GNEVType::getAttribute(), GNEVType::getAttributeDouble(), MSVehicleType::getLength(), ROVehicle::getLength(), getLength(), MSVehicleType::getLengthWithGap(), GNEVType::overwriteVType(), GNEVType::setAttribute(), MSVehicleType::setLength(), SUMOVTypeParameter(), GNEVType::updateDefaultVClassAttributes(), and write().
| SUMOTime SUMOVTypeParameter::loadingDuration |
The time a container needs to get loaded on the vehicle.
Definition at line 326 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), GNEVType::getAttribute(), MSVehicleType::getBoardingDuration(), MSVehicleType::getLoadingDuration(), GNEVType::overwriteVType(), GNEVType::setAttribute(), MSVehicleType::setBoardingDuration(), and write().
| double SUMOVTypeParameter::locomotiveLength |
the length of the locomotive
Definition at line 388 of file SUMOVTypeParameter.h.
Referenced by MSDevice_Transportable::changeAttached(), MSTrainHelper::computeCarriages(), MSTrainHelper::computeTrainDimensions(), GNEVType::getAttribute(), initRailVisualizationParameters(), MSVehicle::processNextStop(), GNEVType::setAttribute(), SUMOVTypeParameter(), GNEVType::updateDefaultVClassAttributes(), and write().
| double SUMOVTypeParameter::mass |
The mass.
Definition at line 305 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::build(), EnergyParams::EnergyParams(), MSVehicleType::setMass(), SUMOVTypeParameter(), and write().
| double SUMOVTypeParameter::maxPlatformDistance |
the maximum distance between platform and train
Definition at line 400 of file SUMOVTypeParameter.h.
Referenced by MSPModel_JuPedSim::execute(), and initRailVisualizationParameters().
| double SUMOVTypeParameter::maxSpeed |
The vehicle type's (technical) maximum speed [m/s].
Definition at line 286 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), GNEVType::getAttribute(), GNEVType::getAttributeDouble(), ROEdge::getEmissionEffort(), MSVehicleType::getMaxSpeed(), ROEdge::getMinimumTravelTime(), GNEVType::overwriteVType(), GNEVType::setAttribute(), MSVehicleType::setMaxSpeed(), SUMOVTypeParameter(), GNEVType::updateDefaultVClassAttributes(), and write().
| double SUMOVTypeParameter::maxSpeedLat |
The vehicle type's maximum lateral speed [m/s].
Definition at line 370 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), GNEVType::getAttribute(), MSVehicleType::getMaxSpeedLat(), GNEVType::overwriteVType(), GNEVType::setAttribute(), MSVehicleType::setMaxSpeedLat(), and write().
| double SUMOVTypeParameter::minGap |
This class' free space in front of the vehicle itself.
Definition at line 283 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), GNEVType::getAttribute(), GNEVType::getAttributeDouble(), MSVehicleType::getLengthWithGap(), MSVehicleType::getMinGap(), GNEVType::overwriteVType(), GNEVType::setAttribute(), MSVehicleType::setMinGap(), SUMOVTypeParameter(), GNEVType::updateDefaultVClassAttributes(), and write().
| double SUMOVTypeParameter::minGapLat |
The vehicle type's minimum lateral gap [m].
Definition at line 379 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), GNEVType::getAttribute(), MSVehicleType::getMinGapLat(), GNEVType::overwriteVType(), GNEVType::setAttribute(), MSVehicleType::setMinGapLat(), SUMOVTypeParameter(), and write().
Map of manoeuver angles versus the times (entry, exit) to execute the manoeuver.
Definition at line 503 of file SUMOVTypeParameter.h.
Referenced by getEntryManoeuvreTime(), getExitManoeuvreTime(), getManoeuverAngleTimesS(), SUMOVehicleParserHelper::parseAngleTimesMap(), and setManoeuverAngleTimes().
|
privateinherited |
The key->value map.
Definition at line 135 of file Parameterised.h.
Referenced by Parameterised::clearParameter(), Parameterised::getDouble(), Parameterised::getParameter(), Parameterised::getParametersMap(), Parameterised::getParametersStr(), Parameterised::hasParameter(), Parameterised::setParameter(), Parameterised::setParameters(), Parameterised::setParameters(), Parameterised::setParametersStr(), Parameterised::unsetParameter(), and Parameterised::writeParams().
| bool SUMOVTypeParameter::onlyReferenced |
Information whether this is a type-stub, being only referenced but not defined (needed by routers)
Definition at line 430 of file SUMOVTypeParameter.h.
Referenced by RONet::RONet(), and write().
| std::string SUMOVTypeParameter::osgFile |
3D model file for this class
Definition at line 344 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), GNEVType::getAttribute(), MSVehicleType::getOSGFile(), GNEVType::overwriteVType(), GNEVType::setAttribute(), SUMOVTypeParameter(), GNEVType::updateDefaultVClassAttributes(), and write().
| long long int SUMOVTypeParameter::parametersSet |
Information for the router which parameter were set.
Definition at line 424 of file SUMOVTypeParameter.h.
Referenced by GNENetHelper::AttributeCarriers::addDefaultVTypes(), SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::build(), MSVehicleType::check(), MSVehicleControl::initDefaultTypes(), initRailVisualizationParameters(), SUMOVehicleParserHelper::parseCFMParams(), RONet::RONet(), MSVehicleType::setActionStepLength(), GNEVType::setAttribute(), MSVehicleType::setBoardingDuration(), MSVehicleType::setColor(), MSVehicleType::setDefaultProbability(), MSVehicleType::setEmissionClass(), MSVehicleType::setGUIShape(), MSVehicleType::setHeight(), MSVehicleType::setImpatience(), MSVehicleType::setLength(), MSVehicleType::setMass(), MSVehicleType::setMaxSpeed(), MSVehicleType::setMaxSpeedLat(), MSVehicleType::setMinGap(), MSVehicleType::setMinGapLat(), MSVehicleType::setParkingBadges(), MSVehicleType::setPreferredLateralAlignment(), MSVehicleType::setShape(), MSVehicleType::setSpeedDeviation(), MSVehicleType::setSpeedFactor(), RODFDetectorCon::setSpeedFactorAndDev(), MSVehicleType::setVClass(), MSVehicleType::setWidth(), MSVehicleType::wasSet(), wasSet(), and RODFDetectorCon::writeEmitters().
| std::vector<double> SUMOVTypeParameter::paramRestrictions |
cached value of parameters which may restrict access to certain edges
Definition at line 433 of file SUMOVTypeParameter.h.
Referenced by cacheParamRestrictions(), and ROEdge::restricts().
| std::vector<std::string> SUMOVTypeParameter::parkingBadges |
the parking access rights
Definition at line 418 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), GNEVType::getAttribute(), MSVehicleType::getParkingBadges(), GNEVType::setAttribute(), and MSVehicleType::setParkingBadges().
| int SUMOVTypeParameter::personCapacity |
The person capacity of the vehicle.
Definition at line 317 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), GNEVType::getAttribute(), MSVehicleType::getPersonCapacity(), GNEVType::overwriteVType(), MSStageDriving::proceed(), GNEVType::setAttribute(), SUMOVTypeParameter(), GNEVType::updateDefaultVClassAttributes(), and write().
|
mutable |
Information whether this type was already saved (needed by routers)
Definition at line 427 of file SUMOVTypeParameter.h.
Referenced by ROPerson::saveAsXML(), and ROVehicle::saveAsXML().
| double SUMOVTypeParameter::scale |
individual scaling factor (-1 for undefined)
Definition at line 329 of file SUMOVTypeParameter.h.
Referenced by MSRouteHandler::addFlowTransportable(), SUMOVehicleParserHelper::beginVTypeParsing(), MSRouteHandler::closeVehicle(), MSInsertionControl::determineCandidates(), MSInsertionControl::initScale(), MSVehicleType::setScale(), and write().
| double SUMOVTypeParameter::scaleVisual |
the scaling factor when drawing the object
Definition at line 382 of file SUMOVTypeParameter.h.
Referenced by GUIBaseVehicle::getScaleVisual(), GUIContainer::getScaleVisual(), GUIPerson::getScaleVisual(), and initRailVisualizationParameters().
| double SUMOVTypeParameter::seatingWidth |
width to be used when comping seats
Definition at line 415 of file SUMOVTypeParameter.h.
Referenced by MSVehicleType::getSeatingWidth(), and initRailVisualizationParameters().
| SUMOVehicleShape SUMOVTypeParameter::shape |
This class' shape.
Definition at line 341 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), GNEVType::getAttribute(), MSVehicleType::getGuiShape(), initRailVisualizationParameters(), GNEVType::overwriteVType(), GNEVType::setAttribute(), MSVehicleType::setGUIShape(), MSVehicleType::setShape(), SUMOVTypeParameter(), GNEVType::updateDefaultVClassAttributes(), and write().
| Distribution_Parameterized SUMOVTypeParameter::speedFactor |
The factor by which the maximum speed may deviate from the allowed max speed on the street.
Definition at line 299 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::computeChosenSpeedDeviation(), GNEVType::getAttribute(), ROVehicle::getChosenSpeedFactor(), MSVehicleType::getSpeedFactor(), ROEdge::getTravelTime(), GUIVehicle::getTypeParameterWindow(), GUIMEVehicle::getTypeParameterWindow(), GNEVType::overwriteVType(), GNEVType::setAttribute(), MSVehicleType::setSpeedDeviation(), MSVehicleType::setSpeedFactor(), RODFDetectorCon::setSpeedFactorAndDev(), SUMOVTypeParameter(), GNEVType::updateDefaultVClassAttributes(), and write().
| double SUMOVTypeParameter::speedFactorPremature |
the possible speed reduction when a train is ahead of schedule
Definition at line 409 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicle::planMoveInternal(), MSVehicle::slowDownForSchedule(), and write().
| SUMOTime SUMOVTypeParameter::timeToTeleport |
the custom time-to-teleport for this type
Definition at line 403 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), getTimeToTeleport(), and write().
| SUMOTime SUMOVTypeParameter::timeToTeleportBidi |
the custom time-to-teleport.bidi for this type
Definition at line 406 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), getTimeToTeleportBidi(), and write().
| SUMOVehicleClass SUMOVTypeParameter::vehicleClass |
The vehicle's class.
Definition at line 311 of file SUMOVTypeParameter.h.
Referenced by MSRouteHandler::addStop(), RORouteHandler::addStop(), ROPerson::addTrip(), MSVehicleType::build(), RORouteHandler::closeVehicle(), EnergyParams::EnergyParams(), GNEVType::getAttribute(), GNEVType::getAttributeDouble(), ROEdge::getEmissionEffort(), MSNet::getPreference(), RONet::getPreference(), MSBaseVehicle::getVClass(), RORoutable::getVClass(), GNEVType::getVClass(), MSVehicleType::getVehicleClass(), GNEVType::GNEVType(), GNEVType::GNEVType(), initRailVisualizationParameters(), RORouteHandler::openRoute(), GNEVType::overwriteVType(), MSRouteHandler::parseFromViaTo(), RORouteHandler::parseFromViaTo(), GNEVType::setAttribute(), MSVehicleType::setVClass(), and write().
| double SUMOVTypeParameter::width |
This class' width.
Definition at line 335 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), EnergyParams::EnergyParams(), GNEVType::getAttribute(), GNEVType::getAttributeDouble(), MSVehicleType::getSeatingWidth(), MSVehicleType::getWidth(), GNEVType::overwriteVType(), GNEVType::setAttribute(), MSVehicleType::setWidth(), SUMOVTypeParameter(), GNEVType::updateDefaultVClassAttributes(), and write().