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 More... | |
typedef std::map< SumoXMLAttr, std::string > | SubParams |
sub-model parameters More... | |
Public Member Functions | |
void | cacheParamRestrictions (const std::vector< std::string > &restrictionKeys) |
void | clearParameter () |
Clears the parameter map. More... | |
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. More... | |
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. More... | |
double | getDouble (const std::string &key, const double defaultValue) const |
Returns the value for a given key converted to a double. More... | |
std::vector< double > | getDoubles (const std::string &key, std::vector< double > defaultValue=std::vector< double >()) const |
Returns the value for a given key converted to a list of doubles. More... | |
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) More... | |
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) More... | |
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. More... | |
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. More... | |
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. More... | |
const SubParams & | getLCParams () const |
Returns the LC parameter. More... | |
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. More... | |
double | getLength () const |
satisfy vType / router template requirements More... | |
std::string | getManoeuverAngleTimesS () const |
Returns myManoeuverAngleTimes as a string for xml output. More... | |
virtual const std::string | getParameter (const std::string &key, const std::string defaultValue="") const |
Returns the value for a given key. More... | |
const Parameterised::Map & | getParametersMap () const |
Returns the inner key/value map. More... | |
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". More... | |
SUMOTime | getTimeToTeleport (SUMOTime defaultValue) const |
return time-to-teleport (either custom or default) More... | |
SUMOTime | getTimeToTeleportBidi (SUMOTime defaultValue) const |
return time-to-teleport.bidi (either custom or default) More... | |
bool | hasParameter (const std::string &key) const |
Returns whether the parameter is set. More... | |
void | initRailVisualizationParameters () |
init Rail Visualization Parameters More... | |
void | mergeParameters (const Parameterised::Map &mapArg, const std::string separator=" ", bool uniqueValues=true) |
Adds or appends all given parameters from the map. More... | |
void | setManoeuverAngleTimes (const SUMOVehicleClass vclass) |
Initialise the default mapping between manoeuver angle and times dependant on vehicle class. More... | |
virtual void | setParameter (const std::string &key, const std::string &value) |
Sets a parameter. More... | |
void | setParameters (const Parameterised ¶ms) |
set the inner key/value map in map<string, string> format More... | |
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" More... | |
SUMOVTypeParameter (const std::string &vtid, const SUMOVehicleClass vc=SVC_IGNORING) | |
Constructor. More... | |
void | unsetParameter (const std::string &key) |
Removes a parameter. More... | |
void | updateParameters (const Parameterised::Map &mapArg) |
Adds or updates all given parameters from the map. More... | |
bool | wasSet (long long int what) const |
Returns whether the given parameter was set. More... | |
void | write (OutputDevice &dev) const |
Writes the vtype. More... | |
void | writeParams (OutputDevice &device) const |
write Params in the given outputdevice More... | |
virtual | ~SUMOVTypeParameter () |
virtual destructor More... | |
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) More... | |
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" More... | |
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 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. More... | |
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. More... | |
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. More... | |
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. More... | |
static std::vector< std::string > | getLatAlignmentStrings () |
return all valid strings for latAlignment More... | |
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. More... | |
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. More... | |
SUMOTime | boardingDuration |
The time a person needs to board the vehicle. More... | |
int | carriageDoors |
the number of doors per carriage More... | |
double | carriageGap |
double | carriageLength |
the length of train carriages and locomotive 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... | |
double | defaultProbability |
The probability when being added to a distribution without an explicit probability. More... | |
double | desiredMaxSpeed |
The vehicle type's desired maximum speed [m/s]. More... | |
SUMOEmissionClass | emissionClass |
The emission class of this vehicle. More... | |
double | frontSeatPos |
the offset of the first person seat from the front of the vehicle More... | |
std::string | id |
The vehicle type's id. More... | |
double | impatience |
The vehicle's impatience (willingness to obstruct others) More... | |
SubParams | jmParameter |
Junction-model parameter. More... | |
double | latAlignmentOffset |
(optional) The vehicle's desired lateral alignment as offset in m from center line More... | |
LatAlignmentDefinition | latAlignmentProcedure |
Information on how the vehicle shall choose the lateral alignment. More... | |
LaneChangeModel | lcModel |
The lane-change model to use. More... | |
SubParams | lcParameter |
Lane-changing parameter. More... | |
double | length |
The physical vehicle length. More... | |
SUMOTime | loadingDuration |
The time a container needs to get loaded on the vehicle. More... | |
double | locomotiveLength |
double | mass |
The mass. More... | |
double | maxSpeed |
The vehicle type's (technical) maximum speed [m/s]. More... | |
double | maxSpeedLat |
The vehicle type's maximum lateral speed [m/s]. More... | |
double | minGap |
This class' free space in front of the vehicle itself. More... | |
double | minGapLat |
The vehicle type's minimum lateral gap [m]. More... | |
std::map< int, std::pair< SUMOTime, SUMOTime > > | myManoeuverAngleTimes |
Map of manoeuver angles versus the times (entry, exit) to execute the manoeuver. More... | |
bool | onlyReferenced |
Information whether this is a type-stub, being only referenced but not defined (needed by routers) More... | |
long long int | parametersSet |
Information for the router which parameter were set. More... | |
std::vector< double > | paramRestrictions |
cached value of parameters which may restrict access to certain edges More... | |
std::vector< std::string > | parkingBadges |
the parking access rights More... | |
int | personCapacity |
The person capacity of the vehicle. More... | |
bool | saved |
Information whether this type was already saved (needed by routers) More... | |
double | scale |
individual scaling factor (-1 for undefined) More... | |
double | seatingWidth |
width to be used when comping seats More... | |
Distribution_Parameterized | speedFactor |
The factor by which the maximum speed may deviate from the allowed max speed on the street. More... | |
double | speedFactorPremature |
the possible speed reduction when a train is ahead of schedule More... | |
SUMOTime | timeToTeleport |
the custom time-to-teleport for this type More... | |
SUMOTime | timeToTeleportBidi |
the custom time-to-teleport.bidi for this type More... | |
SUMOVehicleClass | vehicleClass |
The vehicle's class. More... | |
Values for drawing this class' vehicles | |
double | width |
This class' width. More... | |
double | 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... | |
Static Public Attributes | |
static std::set< SumoXMLAttr > | AllowedJMAttrs |
allowed attrs for the junction model More... | |
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" More... | |
Private Attributes | |
Parameterised::Map | myMap |
The key->value map. More... | |
Structure representing possible vehicle parameter.
Definition at line 121 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 241 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 313 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(), Distribution_Parameterized::getParameter(), 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(), SUMOVTypeParameter::VClassDefaultValues::shape, shape, SUMOVTypeParameter::VClassDefaultValues::speedFactor, speedFactor, SUMOVTypeParameter::VClassDefaultValues::width, and width.
|
inlinevirtual |
virtual destructor
Definition at line 195 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 219 of file Parameterised.cpp.
References StringTokenizer::getVector(), Parameterised::isParameterValid(), TL, and WRITE_WARNINGF.
Referenced by GNEFrameAttributeModules::GenericDataAttributes::areAttributesValid(), GNEEdgeData::isValid(), GNEEdgeRelData::isValid(), and GNETAZRelData::isValid().
|
staticinherited |
check if given string can be parsed to a parameters map "key1=value1|key2=value2|...|keyN=valueN"
Definition at line 200 of file Parameterised.cpp.
References StringTokenizer::getVector(), Parameterised::isParameterValid(), TL, and WRITE_WARNINGF.
Referenced by GNEAccess::isValid(), GNEBusStop::isValid(), GNECalibrator::isValid(), GNECalibratorFlow::isValid(), GNEChargingStation::isValid(), GNEContainerStop::isValid(), GNEEntryExitDetector::isValid(), GNEInductionLoopDetector::isValid(), GNEInstantInductionLoopDetector::isValid(), GNELaneAreaDetector::isValid(), GNEMultiEntryExitDetector::isValid(), GNEOverheadWire::isValid(), GNEParkingArea::isValid(), GNEParkingSpace::isValid(), GNERerouter::isValid(), GNERouteProbe::isValid(), GNETAZ::isValid(), GNETAZSourceSink::isValid(), GNETractionSubstation::isValid(), GNEVaporizer::isValid(), GNEVariableSpeedSign::isValid(), GNEContainer::isValid(), GNEPerson::isValid(), GNERoute::isValid(), GNEStop::isValid(), GNEVehicle::isValid(), GNEVType::isValid(), GNEConnection::isValid(), GNECrossing::isValid(), GNEEdge::isValid(), GNEEdgeType::isValid(), GNEJunction::isValid(), GNELane::isValid(), GNELaneType::isValid(), GNEPOI::isValid(), GNEPoly::isValid(), GNETLSEditorFrame::TLSAttributes::isValidParameters(), and GNEFrameAttributeModules::GenericDataAttributes::onCmdSetParameters().
void SUMOVTypeParameter::cacheParamRestrictions | ( | const std::vector< std::string > & | restrictionKeys | ) |
Definition at line 724 of file SUMOVTypeParameter.cpp.
References Parameterised::getParameter(), paramRestrictions, and StringUtils::toDouble().
Referenced by RORouteHandler::closeVType().
|
inherited |
Clears the parameter map.
Definition at line 139 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NLHandler::beginEdgeParsing(), and GNESingleParametersDialog::onCmdAccept().
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 616 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 626 of file SUMOVTypeParameter.cpp.
References cfParameter.
Referenced by GNEVType::getAttribute(), MSCFModel_Rail::getValueTable(), MSCFModel_Rail::MSCFModel_Rail(), and GNEVType::overwriteVType().
|
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 967 of file SUMOVTypeParameter.cpp.
Referenced by LIBSUMO_NAMESPACE::Lane::getLinks(), and LIBSUMO_NAMESPACE::Vehicle::getNextLinks().
|
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 834 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 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 872 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(), LIBSUMO_NAMESPACE::Lane::getLinks(), and LIBSUMO_NAMESPACE::Vehicle::getNextLinks().
|
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 905 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().
|
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 952 of file SUMOVTypeParameter.cpp.
References SVC_RAIL, SVC_RAIL_ELECTRIC, SVC_RAIL_FAST, SVC_RAIL_URBAN, SVC_SHIP, and SVC_TRAM.
Referenced by ROEdge::getEmissionEffort().
|
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(), MSDevice_ElecHybrid::MSDevice_ElecHybrid(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), and MSDevice_Battery::readParameterValue().
|
inherited |
Returns the value for a given key converted to a list of doubles.
[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 118 of file Parameterised.cpp.
References StringTokenizer::getVector(), Parameterised::myMap, TL, StringUtils::toDouble(), WRITE_WARNING, and WRITE_WARNINGF.
Referenced by EnergyParams::EnergyParams().
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 681 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 694 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 662 of file SUMOVTypeParameter.cpp.
References jmParameter, and StringUtils::toDouble().
Referenced by MSLink::blockedAtTime(), MSLink::blockedByFoe(), MSLink::getLeaderInfo(), MSVehicle::ignoreRed(), MSVehicle::keepClear(), MSDevice_GLOSA::notifyMove(), 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 672 of file SUMOVTypeParameter.cpp.
References jmParameter.
Referenced by GNEVType::getAttribute(), and GNEVType::overwriteVType().
|
inlinestatic |
return all valid strings for latAlignment
Definition at line 461 of file SUMOVTypeParameter.h.
Referenced by GNEVehicleTypeDialog::VTypeAttributes::buildAttributesB(), and GNEAttributeCarrier::fillDemandElements().
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 636 of file SUMOVTypeParameter.cpp.
References lcParameter, and StringUtils::toDouble().
Referenced by GNEVType::overwriteVType().
const SUMOVTypeParameter::SubParams & SUMOVTypeParameter::getLCParams | ( | ) | const |
Returns the LC parameter.
Definition at line 656 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 646 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 409 of file SUMOVTypeParameter.h.
References length.
std::string SUMOVTypeParameter::getManoeuverAngleTimesS | ( | ) | const |
Returns myManoeuverAngleTimes as a string for xml output.
Definition at line 707 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 NEMALogic, MSSimpleTrafficLightLogic, and MSActuatedTrafficLightLogic.
Definition at line 90 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by MSPModel_JuPedSim::add(), NBRailwayTopologyAnalyzer::addBidiEdge(), NBEdge::addRestrictedLane(), FareModul::addStop(), 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(), EnergyParams::EnergyParams(), MSDevice_SSM::filterByConflictType(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), GUIVehicle::getColorValue(), GNEEdgeData::getColorValue(), GNEEdgeRelData::getColorValue(), GNETAZRelData::getColorValue(), GNELane::getColorValue(), GUIEdge::getColorValue(), GUILane::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_ToC::getOutputFilename(), MSDevice_SSM::getOutputFilename(), MSSimpleTrafficLightLogic::getParameter(), NEMALogic::getParameter(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSBaseVehicle::getPrefixedParameter(), GUIBaseVehicle::getScaleValue(), LIBSUMO_NAMESPACE::Vehicle::getStopParameter(), MSDevice::getStringParam(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), MSRailSignalConstraint::getVehID(), MSTriggeredRerouter::getWeight(), MSRailSignal::hasInsertionConstraint(), 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(), 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(), 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 145 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(), GNEAccess::getACParametersMap(), GNECalibrator::getACParametersMap(), GNEDetector::getACParametersMap(), GNEMultiEntryExitDetector::getACParametersMap(), GNEOverheadWire::getACParametersMap(), GNEParkingSpace::getACParametersMap(), GNERerouter::getACParametersMap(), GNERouteProbe::getACParametersMap(), GNEStoppingPlace::getACParametersMap(), GNETAZ::getACParametersMap(), GNEVaporizer::getACParametersMap(), GNEVariableSpeedSign::getACParametersMap(), GNEDataInterval::getACParametersMap(), GNEDataSet::getACParametersMap(), GNEGenericData::getACParametersMap(), GNEContainer::getACParametersMap(), GNEPerson::getACParametersMap(), GNEPersonTrip::getACParametersMap(), GNERide::getACParametersMap(), GNERoute::getACParametersMap(), GNEStop::getACParametersMap(), GNEStopPlan::getACParametersMap(), GNETranship::getACParametersMap(), GNETransport::getACParametersMap(), GNEVehicle::getACParametersMap(), GNEVType::getACParametersMap(), GNEWalk::getACParametersMap(), GNEConnection::getACParametersMap(), GNECrossing::getACParametersMap(), GNEEdge::getACParametersMap(), GNEEdgeType::getACParametersMap(), GNEJunction::getACParametersMap(), GNELane::getACParametersMap(), GNELaneType::getACParametersMap(), GNEPOI::getACParametersMap(), GNEPoly::getACParametersMap(), MSRailSignalConstraint_Predecessor::getDescription(), NWWriter_OpenDrive::getDividerType(), GUILane::getParameterWindow(), GNESingleParametersDialog::GNESingleParametersDialog(), MSRailCrossing::init(), MSActuatedTrafficLightLogic::init(), MSDevice_Taxi::initDispatch(), MSPModel_JuPedSim::initialize(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), GNEEdgeData::isGenericDataVisible(), GNEEdgeRelData::isGenericDataVisible(), GNETAZRelData::isGenericDataVisible(), GNEGenericData::isVisibleInspectDeleteSelect(), NBEdge::NBEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), NBTrafficLightLogic::NBTrafficLightLogic(), GUIParameterTableWindow::numParams(), GNESingleParametersDialog::onCmdReset(), GNEVType::overwriteVType(), TraCIServerAPI_TrafficLight::processGet(), 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 151 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by GNEAccess::getAttribute(), GNEBusStop::getAttribute(), GNECalibrator::getAttribute(), GNECalibratorFlow::getAttribute(), GNEChargingStation::getAttribute(), GNEContainerStop::getAttribute(), GNEEntryExitDetector::getAttribute(), GNEInductionLoopDetector::getAttribute(), GNEInstantInductionLoopDetector::getAttribute(), GNELaneAreaDetector::getAttribute(), GNEMultiEntryExitDetector::getAttribute(), GNEOverheadWire::getAttribute(), GNEParkingArea::getAttribute(), GNEParkingSpace::getAttribute(), GNERerouter::getAttribute(), GNERouteProbe::getAttribute(), GNETAZ::getAttribute(), GNETAZSourceSink::getAttribute(), GNETractionSubstation::getAttribute(), GNEVaporizer::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEEdgeData::getAttribute(), GNEEdgeRelData::getAttribute(), GNETAZRelData::getAttribute(), GNEContainer::getAttribute(), GNEPerson::getAttribute(), GNERoute::getAttribute(), GNEStop::getAttribute(), GNEVehicle::getAttribute(), GNEVType::getAttribute(), GNEConnection::getAttribute(), GNEEdge::getAttribute(), GNEEdgeType::getAttribute(), GNEJunction::getAttribute(), GNELane::getAttribute(), GNELaneType::getAttribute(), GNEPOI::getAttribute(), and GNEPoly::getAttribute().
return time-to-teleport (either custom or default)
Definition at line 1001 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 1006 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(), NWWriter_DlrNavteq::getBrunnelType(), GNEEdgeData::getColorValue(), GNEEdgeRelData::getColorValue(), GNETAZRelData::getColorValue(), GNELane::getColorValue(), GUILane::getColorValue(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSDevice_SSM::getMDRAC_PRT(), MSDevice_SSM::getMeasuresAndThresholds(), MSDevice_ToC::getOutputFilename(), MSDevice_SSM::getOutputFilename(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSDevice::getStringParam(), MSTriggeredRerouter::getWeight(), MSStageDriving::init(), initRailVisualizationParameters(), MSEdge::insertVehicle(), NIImporter_OpenStreetMap::load(), NWWriter_OpenDrive::mapmatchRoadObjects(), Parameterised::mergeParameters(), MSActuatedTrafficLightLogic::MSActuatedTrafficLightLogic(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), 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 | ( | ) |
init Rail Visualization Parameters
Definition at line 732 of file SUMOVTypeParameter.cpp.
References BICYCLE, BUS, BUS_COACH, BUS_FLEXIBLE, BUS_TROLLEY, carriageGap, carriageLength, DELIVERY, frontSeatPos, Parameterised::getParameter(), Parameterised::hasParameter(), locomotiveLength, MOPED, MOTORCYCLE, parametersSet, RAIL, RAIL_CAR, RAIL_CARGO, seatingWidth, shape, SHIP, SVC_RAIL_ELECTRIC, SVC_RAIL_FAST, SVC_RAIL_URBAN, SVC_TRAM, StringUtils::toDouble(), TRUCK, TRUCK_1TRAILER, TRUCK_SEMITRAILER, vehicleClass, 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().
|
staticprivateinherited |
check if given string can be parsed to a parameter of type "key=value"
Definition at line 254 of file Parameterised.cpp.
References StringTokenizer::getVector(), and SUMOXMLDefinitions::isValidParameterKey().
Referenced by Parameterised::areAttributesValid(), and Parameterised::areParametersValid().
|
inlinestatic |
Definition at line 453 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 973 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 387 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 NEMALogic, MSSimpleTrafficLightLogic, MSRailSignal, MSActuatedTrafficLightLogic, and MSRailCrossing.
Definition at line 45 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NBRailwayTopologyAnalyzer::addBidiEdge(), NLHandler::addDistrict(), RONetHandler::addParam(), ShapeHandler::addPOI(), NBOwnTLDef::buildNemaPhases(), MSParkingArea::enter(), NIImporter_MATSim::EdgesHandler::insertEdge(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), MSLane::isInsertionSuccess(), NBNodeCont::joinNodeCluster(), NBEdge::Lane::Lane(), NWWriter_OpenDrive::mapmatchRoadObjects(), Parameterised::mergeParameters(), MSStateHandler::myStartElement(), NIXMLNodesHandler::myStartElement(), NIXMLTrafficLightsHandler::myStartElement(), ShapeHandler::myStartElement(), GNESingleParametersDialog::onCmdAccept(), 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(), NWWriter_OpenDrive::writeNetwork(), and NIImporter_OpenDrive::writeRoadObjects().
|
inherited |
set the inner key/value map in map<string, string> format
Definition at line 167 of file Parameterised.cpp.
References Parameterised::getParametersMap(), and Parameterised::myMap.
Referenced by MSStageDriving::clone(), MSStageTranship::clone(), MSStageTrip::clone(), MSStageWaiting::clone(), MSStageWalking::clone(), and MSStageTrip::setArrived().
|
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 173 of file Parameterised.cpp.
References StringTokenizer::getVector(), Parameterised::myMap, and Parameterised::setParameter().
Referenced by MSDevice_Taxi::initDispatch(), GNEAccess::setAttribute(), GNEBusStop::setAttribute(), GNECalibrator::setAttribute(), GNECalibratorFlow::setAttribute(), GNEChargingStation::setAttribute(), GNEContainerStop::setAttribute(), GNEEntryExitDetector::setAttribute(), GNEInductionLoopDetector::setAttribute(), GNEInstantInductionLoopDetector::setAttribute(), GNELaneAreaDetector::setAttribute(), GNEMultiEntryExitDetector::setAttribute(), GNEOverheadWire::setAttribute(), GNEParkingArea::setAttribute(), GNEParkingSpace::setAttribute(), GNERerouter::setAttribute(), GNERouteProbe::setAttribute(), GNETAZ::setAttribute(), GNETAZSourceSink::setAttribute(), GNETractionSubstation::setAttribute(), GNEVaporizer::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNEEdgeData::setAttribute(), GNEEdgeRelData::setAttribute(), GNETAZRelData::setAttribute(), GNEContainer::setAttribute(), GNEPerson::setAttribute(), GNERoute::setAttribute(), GNEStop::setAttribute(), GNEVehicle::setAttribute(), GNEVType::setAttribute(), GNEConnection::setAttribute(), GNEEdge::setAttribute(), GNEEdgeType::setAttribute(), GNEJunction::setAttribute(), GNELane::setAttribute(), GNELaneType::setAttribute(), GNEPOI::setAttribute(), and GNEPoly::setAttribute().
|
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(), NIImporter_OpenStreetMap::load(), 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 201 of file SUMOVTypeParameter.h.
References parametersSet.
Referenced by MSVehicleType::build(), MSVehicleType::check(), MSRouteHandler::closeTransportable(), EnergyParams::EnergyParams(), 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 435 of file SUMOVTypeParameter.cpp.
References actionStepLength, ARBITRARY, boardingDuration, 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_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_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 188 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(), GNEInductionLoopDetector::writeAdditional(), GNEInstantInductionLoopDetector::writeAdditional(), GNELaneAreaDetector::writeAdditional(), GNEMultiEntryExitDetector::writeAdditional(), GNEOverheadWire::writeAdditional(), GNEParkingArea::writeAdditional(), GNEParkingSpace::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 282 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 406 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::parseJMParams().
SUMOTime SUMOVTypeParameter::boardingDuration |
The time a person needs to board the vehicle.
Definition at line 312 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), GNEVType::getAttribute(), MSVehicleType::getBoardingDuration(), MSVehicleType::getLoadingDuration(), GNEVType::overwriteVType(), GNEVType::setAttribute(), MSVehicleType::setBoardingDuration(), and write().
int SUMOVTypeParameter::carriageDoors |
the number of doors per carriage
Definition at line 373 of file SUMOVTypeParameter.h.
Referenced by MSTrainHelper::computeTrainDimensions(), SUMOVTypeParameter(), and write().
double SUMOVTypeParameter::carriageGap |
Definition at line 370 of file SUMOVTypeParameter.h.
Referenced by MSTrainHelper::computeTrainDimensions(), GNEVType::getAttribute(), initRailVisualizationParameters(), GNEVType::setAttribute(), and write().
double SUMOVTypeParameter::carriageLength |
the length of train carriages and locomotive
Definition at line 368 of file SUMOVTypeParameter.h.
Referenced by 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 341 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 344 of file SUMOVTypeParameter.h.
Referenced by getCFParam(), getCFParamString(), 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 297 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 309 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), GNEVType::getAttribute(), MSVehicleType::getContainerCapacity(), GNEVType::overwriteVType(), 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 285 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), 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 278 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 291 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 385 of file SUMOVTypeParameter.h.
Referenced by MSVehicleType::getFrontSeatPos(), and initRailVisualizationParameters().
double SUMOVTypeParameter::height |
This class' height.
Definition at line 327 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), EnergyParams::EnergyParams(), GNEVType::getAttribute(), GNEVType::getAttributeDouble(), MSVehicleType::getHeight(), MSVehicleControl::initDefaultTypes(), GNEVType::overwriteVType(), GNEVType::setAttribute(), MSVehicleType::setHeight(), SUMOVTypeParameter(), GNEVType::updateDefaultVClassAttributes(), and write().
std::string SUMOVTypeParameter::id |
The vehicle type's id.
Definition at line 266 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(), SUMORouteHandler::myStartElement(), SUMOVehicleParserHelper::parseAngleTimesMap(), SUMOVehicleParserHelper::parseCFMParams(), SUMOVehicleParserHelper::parseJMParams(), SUMOVehicleParserHelper::parseLCParams(), and RONet::RONet().
std::string SUMOVTypeParameter::imgFile |
Image file for this class.
Definition at line 336 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 303 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 350 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 359 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 362 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 353 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 347 of file SUMOVTypeParameter.h.
Referenced by getLCParam(), getLCParams(), getLCParamString(), GUIVehicle::getTypeParameterWindow(), SUMOVehicleParserHelper::parseLCParams(), GNEVType::setAttribute(), and write().
double SUMOVTypeParameter::length |
The physical vehicle length.
Definition at line 269 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), GNEVType::getAttribute(), GNEVType::getAttributeDouble(), MSVehicleType::getLength(), ROVehicle::getLength(), getLength(), MSVehicleType::getLengthWithGap(), MSVehicleControl::initDefaultTypes(), 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 315 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 |
Definition at line 369 of file SUMOVTypeParameter.h.
Referenced by MSTrainHelper::computeCarriages(), MSTrainHelper::computeTrainDimensions(), GNEVType::getAttribute(), initRailVisualizationParameters(), MSVehicle::processNextStop(), GNEVType::setAttribute(), SUMOVTypeParameter(), GNEVType::updateDefaultVClassAttributes(), and write().
double SUMOVTypeParameter::mass |
The mass.
Definition at line 294 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), MSVehicleType::build(), EnergyParams::EnergyParams(), MSVehicleType::getMass(), MSVehicleType::setMass(), SUMOVTypeParameter(), and write().
double SUMOVTypeParameter::maxSpeed |
The vehicle type's (technical) maximum speed [m/s].
Definition at line 275 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 356 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 272 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 365 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 473 of file SUMOVTypeParameter.h.
Referenced by getEntryManoeuvreTime(), getExitManoeuvreTime(), getManoeuverAngleTimesS(), SUMOVehicleParserHelper::parseAngleTimesMap(), and setManoeuverAngleTimes().
|
privateinherited |
The key->value map.
Definition at line 139 of file Parameterised.h.
Referenced by Parameterised::clearParameter(), Parameterised::getDouble(), Parameterised::getDoubles(), Parameterised::getParameter(), Parameterised::getParametersMap(), Parameterised::getParametersStr(), Parameterised::hasParameter(), Parameterised::setParameter(), 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 400 of file SUMOVTypeParameter.h.
Referenced by RONet::RONet(), and write().
std::string SUMOVTypeParameter::osgFile |
3D model file for this class
Definition at line 333 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 394 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::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 403 of file SUMOVTypeParameter.h.
Referenced by cacheParamRestrictions(), and ROEdge::restricts().
std::vector<std::string> SUMOVTypeParameter::parkingBadges |
the parking access rights
Definition at line 391 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 306 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), GNEVType::getAttribute(), MSVehicleType::getPersonCapacity(), GNEVType::overwriteVType(), GNEVType::setAttribute(), SUMOVTypeParameter(), GNEVType::updateDefaultVClassAttributes(), and write().
|
mutable |
Information whether this type was already saved (needed by routers)
Definition at line 397 of file SUMOVTypeParameter.h.
Referenced by ROPerson::saveAsXML(), and ROVehicle::saveAsXML().
double SUMOVTypeParameter::scale |
individual scaling factor (-1 for undefined)
Definition at line 318 of file SUMOVTypeParameter.h.
Referenced by MSRouteHandler::addFlowTransportable(), SUMOVehicleParserHelper::beginVTypeParsing(), MSRouteHandler::closeVehicle(), MSInsertionControl::determineCandidates(), MSInsertionControl::initScale(), MSVehicleType::setScale(), and write().
double SUMOVTypeParameter::seatingWidth |
width to be used when comping seats
Definition at line 388 of file SUMOVTypeParameter.h.
Referenced by MSVehicleType::getSeatingWidth(), and initRailVisualizationParameters().
SUMOVehicleShape SUMOVTypeParameter::shape |
This class' shape.
Definition at line 330 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), GNEVType::getAttribute(), MSVehicleType::getGuiShape(), initRailVisualizationParameters(), GNEVType::overwriteVType(), GNEVType::setAttribute(), 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 288 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 382 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 376 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 379 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), getTimeToTeleportBidi(), and write().
SUMOVehicleClass SUMOVTypeParameter::vehicleClass |
The vehicle's class.
Definition at line 300 of file SUMOVTypeParameter.h.
Referenced by MSRouteHandler::addStop(), RORouteHandler::addStop(), ROPerson::addTrip(), MSVehicleType::build(), RORouteHandler::closeVehicle(), GNEVType::getAttribute(), GNEVType::getAttributeDouble(), ROEdge::getEmissionEffort(), MSBaseVehicle::getVClass(), GNEVType::getVClass(), RORoutable::getVClass(), MSVehicleType::getVehicleClass(), initRailVisualizationParameters(), RORouteHandler::openRoute(), GNEVType::overwriteVType(), MSRouteHandler::parseFromViaTo(), RORouteHandler::parseFromViaTo(), GNEVType::setAttribute(), MSVehicleType::setVClass(), and write().
double SUMOVTypeParameter::width |
This class' width.
Definition at line 324 of file SUMOVTypeParameter.h.
Referenced by SUMOVehicleParserHelper::beginVTypeParsing(), EnergyParams::EnergyParams(), GNEVType::getAttribute(), GNEVType::getAttributeDouble(), MSVehicleType::getSeatingWidth(), MSVehicleType::getWidth(), MSVehicleControl::initDefaultTypes(), GNEVType::overwriteVType(), GNEVType::setAttribute(), MSVehicleType::setWidth(), SUMOVTypeParameter(), GNEVType::updateDefaultVClassAttributes(), and write().