![]() |
Eclipse SUMO - Simulation of Urban MObility
|
Structure representing possible vehicle parameter. More...
#include <SUMOVehicleParameter.h>
Data Structures | |
struct | Stop |
Definition of vehicle stop (position and duration) More... | |
Public Types | |
typedef std::map< std::string, std::string > | Map |
parameters map | |
Public Member Functions | |
void | clearParameter () |
Clears the parameter map. | |
bool | defaultOptionOverrides (const OptionsCont &oc, const std::string &optionName) const |
Returns whether the defaults shall be used. | |
double | getDouble (const std::string &key, const double defaultValue) const |
Returns the value for a given key converted to a double. | |
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. | |
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". | |
void | incrementFlow (double scale, SumoRNG *rng=nullptr) |
increment flow | |
bool | knowsParameter (const std::string &key) const |
Returns whether the parameter is known. | |
virtual void | setParameter (const std::string &key, const std::string &value) |
Sets a parameter. | |
void | setParameters (const Parameterised ¶ms) |
set the inner key/value map in map<string, string> format | |
void | setParametersMap (const Parameterised::Map ¶msMap) |
set the inner key/value map 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" | |
SUMOVehicleParameter () | |
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 (int what) const |
Returns whether the given parameter was set. | |
void | write (OutputDevice &dev, const OptionsCont &oc, const SumoXMLTag altTag=SUMO_TAG_VEHICLE, const std::string &typeID="") const |
Writes the parameters as a beginning element. | |
void | writeParams (OutputDevice &device) const |
write Params in the given outputdevice | |
virtual | ~SUMOVehicleParameter () |
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 double | interpretEdgePos (double pos, double maximumValue, SumoXMLAttr attr, const std::string &id, bool silent=false) |
Interprets negative edge positions and fits them onto a given edge. | |
static ParkingType | parseParkingType (const std::string &value) |
parses parking type value | |
static bool | parsePersonModes (const std::string &modes, const std::string &element, const std::string &id, SVCPermissions &modeSet, std::string &error) |
Validates a given person modes value. | |
static void | parseStopTriggers (const std::vector< std::string > &triggers, bool expectTrigger, Stop &stop) |
parses stop trigger values | |
Depart/arrival-attributes verification | |
static bool | parseDepart (const std::string &val, const std::string &element, const std::string &id, SUMOTime &depart, DepartDefinition &dd, std::string &error, const std::string &attr="departure") |
Validates a given depart value. | |
static bool | parseDepartLane (const std::string &val, const std::string &element, const std::string &id, int &lane, DepartLaneDefinition &dld, std::string &error) |
Validates a given departLane value. | |
static bool | parseDepartPos (const std::string &val, const std::string &element, const std::string &id, double &pos, DepartPosDefinition &dpd, std::string &error) |
Validates a given departPos value. | |
static bool | parseDepartPosLat (const std::string &val, const std::string &element, const std::string &id, double &pos, DepartPosLatDefinition &dpd, std::string &error) |
Validates a given departPosLat value. | |
static bool | parseDepartSpeed (const std::string &val, const std::string &element, const std::string &id, double &speed, DepartSpeedDefinition &dsd, std::string &error) |
Validates a given departSpeed value. | |
static bool | parseRouteIndex (const std::string &val, const std::string &element, const std::string &id, const SumoXMLAttr attr, int &edgeIndex, RouteIndexDefinition &rid, std::string &error) |
Validates a given departEdge or arrivalEdge value. | |
static bool | parseArrivalLane (const std::string &val, const std::string &element, const std::string &id, int &lane, ArrivalLaneDefinition &ald, std::string &error) |
Validates a given arrivalLane value. | |
static bool | parseArrivalPos (const std::string &val, const std::string &element, const std::string &id, double &pos, ArrivalPosDefinition &apd, std::string &error) |
Validates a given arrivalPos value. | |
static bool | parseArrivalPosLat (const std::string &val, const std::string &element, const std::string &id, double &pos, ArrivalPosLatDefinition &apd, std::string &error) |
Validates a given arrivalPosLat value. | |
static bool | parseArrivalSpeed (const std::string &val, const std::string &element, const std::string &id, double &speed, ArrivalSpeedDefinition &asd, std::string &error) |
Validates a given arrivalSpeed value. | |
Data Fields | |
double | calibratorSpeed |
speed (used by calibrator flows | |
RGBColor | color |
The vehicle's color, TraCI may change this. | |
int | containerNumber |
The static number of containers in the vehicle when it departs. | |
std::string | fromTaz |
The vehicle's origin zone (district) | |
std::string | id |
The vehicle's id. | |
int | insertionChecks |
bitset of InsertionCheck | |
std::string | line |
The vehicle's line (mainly for public transport) | |
int | parametersSet |
Information for the router which parameter were set, TraCI may modify this (when changing color) | |
int | personNumber |
The static number of persons in the vehicle when it departs (not including boarding persons) | |
std::string | routeid |
The vehicle's route id. | |
double | speedFactor |
individual speedFactor (overriding distribution from vType) | |
std::vector< Stop > | stops |
List of the stops the vehicle will make, TraCI may add entries here. | |
SumoXMLTag | tag |
The vehicle tag. | |
std::string | toTaz |
The vehicle's destination zone (district) | |
std::vector< std::string > | via |
List of the via-edges the vehicle must visit. | |
std::string | vtypeid |
The vehicle's type id. | |
Departure definition | |
The vehicle's departure time | |
SUMOTime | depart |
DepartDefinition | departProcedure |
Information how the vehicle shall choose the depart time. | |
int | departLane |
(optional) The lane the vehicle shall depart from (index in edge) | |
DepartLaneDefinition | departLaneProcedure |
Information how the vehicle shall choose the lane to depart from. | |
double | departPos |
(optional) The position the vehicle shall depart from | |
DepartPosDefinition | departPosProcedure |
Information how the vehicle shall choose the departure position. | |
double | departPosLat |
(optional) The lateral position the vehicle shall depart from | |
DepartPosLatDefinition | departPosLatProcedure |
Information how the vehicle shall choose the lateral departure position. | |
double | departSpeed |
(optional) The initial speed of the vehicle | |
DepartSpeedDefinition | departSpeedProcedure |
Information how the vehicle's initial speed shall be chosen. | |
int | departEdge |
(optional) The initial edge within the route of the vehicle | |
RouteIndexDefinition | departEdgeProcedure |
Information how the vehicle's initial edge shall be chosen. | |
Arrival definition | |
(optional) The lane the vehicle shall arrive on (not used yet) | |
int | arrivalLane |
ArrivalLaneDefinition | arrivalLaneProcedure |
Information how the vehicle shall choose the lane to arrive on. | |
double | arrivalPos |
(optional) The position the vehicle shall arrive on | |
ArrivalPosDefinition | arrivalPosProcedure |
Information how the vehicle shall choose the arrival position. | |
double | arrivalPosLat |
(optional) The lateral position the vehicle shall arrive on | |
ArrivalPosLatDefinition | arrivalPosLatProcedure |
Information how the vehicle shall choose the lateral arrival position. | |
double | arrivalSpeed |
(optional) The final speed of the vehicle (not used yet) | |
ArrivalSpeedDefinition | arrivalSpeedProcedure |
Information how the vehicle's end speed shall be chosen. | |
int | arrivalEdge |
(optional) The final edge within the route of the vehicle | |
RouteIndexDefinition | arrivalEdgeProcedure |
Information how the vehicle's final edge shall be chosen. | |
Repetition definition | |
The number of times the vehicle shall be repeatedly inserted | |
int | repetitionNumber |
int | repetitionsDone |
The number of times the vehicle was already inserted. | |
SUMOTime | repetitionOffset |
The time offset between vehicle reinsertions. | |
SUMOTime | repetitionTotalOffset |
The offset between depart and the time for the next vehicle insertions. | |
double | repetitionProbability |
The probability for emitting a vehicle per second. | |
SUMOTime | repetitionEnd |
The time at which the flow ends (only needed when using repetitionProbability) | |
Protected Member Functions | |
bool | areInsertionChecksValid (const std::string &value) const |
check if given insertion checks are valid | |
std::string | getArrivalEdge () const |
obtain arrival edge parameter in string format | |
std::string | getArrivalLane () const |
obtain arrival lane parameter in string format | |
std::string | getArrivalPos () const |
obtain arrival pos parameter in string format | |
std::string | getArrivalPosLat () const |
obtain arrival pos lat parameter in string format | |
std::string | getArrivalSpeed () const |
obtain arrival speed parameter in string format | |
std::string | getDepart () const |
obtain depart parameter in string format | |
std::string | getDepartEdge () const |
obtain depart edge parameter in string format | |
std::string | getDepartLane () const |
obtain depart lane parameter in string format | |
std::string | getDepartPos () const |
obtain depart pos parameter in string format | |
std::string | getDepartPosLat () const |
obtain depart pos lat parameter in string format | |
std::string | getDepartSpeed () const |
obtain depart speed parameter in string format | |
std::string | getInsertionChecks () const |
get insertion checks in string format | |
void | parseInsertionChecks (const std::string &value) |
parses insertion checks | |
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.
When used within a vehicle, parameter are usually const except for selected items adaptable via TraCI which are flagged as mutable below The fields yielding with "Procedure" describe whether the according value shall be used or another procedure is used to choose the value.
Definition at line 326 of file SUMOVehicleParameter.h.
|
inherited |
parameters map
Definition at line 45 of file Parameterised.h.
SUMOVehicleParameter::SUMOVehicleParameter | ( | ) |
Constructor.
Initialises the structure with default values
Definition at line 37 of file SUMOVehicleParameter.cpp.
|
virtual |
Destructor.
Definition at line 64 of file SUMOVehicleParameter.cpp.
|
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 216 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().
|
protected |
check if given insertion checks are valid
Definition at line 1070 of file SUMOVehicleParameter.cpp.
References StringTokenizer::hasNext(), SUMOXMLDefinitions::InsertionChecks, and StringTokenizer::next().
Referenced by GNECalibratorFlow::isValid(), and GNEVehicle::isValid().
|
staticinherited |
check if given string can be parsed to a parameters map "key1=value1|key2=value2|...|keyN=valueN"
Definition at line 197 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().
|
inherited |
Clears the parameter map.
Definition at line 120 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NLHandler::beginEdgeParsing().
bool SUMOVehicleParameter::defaultOptionOverrides | ( | const OptionsCont & | oc, |
const std::string & | optionName | ||
) | const |
Returns whether the defaults shall be used.
[in] | oc | The options to get the options from |
[in] | optionName | The name of the option to determine whether its value shall be used |
Definition at line 69 of file SUMOVehicleParameter.cpp.
References OptionsCont::exists(), OptionsCont::getBool(), and OptionsCont::isSet().
Referenced by write().
|
protected |
obtain arrival edge parameter in string format
Definition at line 927 of file SUMOVehicleParameter.cpp.
References arrivalEdge, arrivalEdgeProcedure, DEFAULT, GIVEN, RANDOM, and toString().
Referenced by write().
|
protected |
obtain arrival lane parameter in string format
Definition at line 947 of file SUMOVehicleParameter.cpp.
References arrivalLane, arrivalLaneProcedure, CURRENT, DEFAULT, FIRST_ALLOWED, GIVEN, RANDOM, and toString().
Referenced by GNECalibratorFlow::getAttribute(), GNEVehicle::getAttribute(), and write().
|
protected |
obtain arrival pos parameter in string format
Definition at line 971 of file SUMOVehicleParameter.cpp.
References arrivalPos, arrivalPosProcedure, CENTER, DEFAULT, GIVEN, MAX, RANDOM, and toString().
Referenced by GNECalibratorFlow::getAttribute(), GNEVehicle::getAttribute(), and write().
|
protected |
obtain arrival pos lat parameter in string format
Definition at line 995 of file SUMOVehicleParameter.cpp.
References arrivalPosLat, arrivalPosLatProcedure, CENTER, DEFAULT, GIVEN, LEFT, RIGHT, and toString().
Referenced by GNECalibratorFlow::getAttribute(), GNEVehicle::getAttribute(), and write().
|
protected |
obtain arrival speed parameter in string format
Definition at line 1019 of file SUMOVehicleParameter.cpp.
References arrivalSpeed, arrivalSpeedProcedure, CURRENT, DEFAULT, GIVEN, and toString().
Referenced by GNECalibratorFlow::getAttribute(), GNEVehicle::getAttribute(), and write().
|
protected |
obtain depart parameter in string format
Definition at line 754 of file SUMOVehicleParameter.cpp.
References BEGIN, CONTAINER_TRIGGERED, depart, departProcedure, SPLIT, time2string(), and TRIGGERED.
Referenced by write().
|
protected |
obtain depart edge parameter in string format
Definition at line 910 of file SUMOVehicleParameter.cpp.
References DEFAULT, departEdge, departEdgeProcedure, GIVEN, RANDOM, and toString().
Referenced by write().
|
protected |
obtain depart lane parameter in string format
Definition at line 772 of file SUMOVehicleParameter.cpp.
References ALLOWED_FREE, BEST_FREE, DEFAULT, departLane, departLaneProcedure, FIRST_ALLOWED, FREE, GIVEN, RANDOM, and toString().
Referenced by GNECalibratorFlow::getAttribute(), GNEVehicle::getAttribute(), and write().
|
protected |
obtain depart pos parameter in string format
Definition at line 802 of file SUMOVehicleParameter.cpp.
References BASE, DEFAULT, departPos, departPosProcedure, FREE, GIVEN, GIVEN_VEHROUTE, gPrecision, gPrecisionRandom, LAST, MAX2(), StringUtils::pruneZeros(), RANDOM, RANDOM_FREE, STOP, and toString().
Referenced by GNECalibratorFlow::getAttribute(), GNEContainer::getAttribute(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), GNEContainer::getMoveOperation(), GNEPerson::getMoveOperation(), and write().
|
protected |
obtain depart pos lat parameter in string format
Definition at line 838 of file SUMOVehicleParameter.cpp.
References CENTER, DEFAULT, departPosLat, departPosLatProcedure, FREE, GIVEN, GIVEN_VEHROUTE, gPrecision, gPrecisionRandom, LEFT, MAX2(), StringUtils::pruneZeros(), RANDOM, RANDOM_FREE, RIGHT, and toString().
Referenced by GNECalibratorFlow::getAttribute(), GNEVehicle::getAttribute(), and write().
|
protected |
obtain depart speed parameter in string format
Definition at line 874 of file SUMOVehicleParameter.cpp.
References AVG, DEFAULT, departSpeed, departSpeedProcedure, DESIRED, GIVEN, GIVEN_VEHROUTE, gPrecision, gPrecisionRandom, LAST, LIMIT, MAX, MAX2(), StringUtils::pruneZeros(), RANDOM, and toString().
Referenced by GNECalibratorFlow::getAttribute(), GNEVehicle::getAttribute(), and write().
|
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 81 of file Parameterised.cpp.
References Parameterised::myMap, TL, StringUtils::toDouble(), WRITE_WARNING, and WRITE_WARNINGF.
Referenced by MSDevice_Battery::buildVehicleDevices(), 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(), and MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus().
|
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 99 of file Parameterised.cpp.
References StringTokenizer::getVector(), Parameterised::myMap, TL, StringUtils::toDouble(), WRITE_WARNING, and WRITE_WARNINGF.
Referenced by EnergyParams::EnergyParams().
|
protected |
get insertion checks in string format
Definition at line 1052 of file SUMOVehicleParameter.cpp.
References ALL, StringBijection< T >::getString(), StringBijection< T >::getValues(), insertionChecks, SUMOXMLDefinitions::InsertionChecks, and toString().
Referenced by GNECalibratorFlow::getAttribute(), and GNEVehicle::getAttribute().
|
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 71 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NBEdge::addRestrictedLane(), FareModul::addStop(), NBEdge::append(), GUIInductLoop::buildDetectorGUIRepresentation(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice_Battery::buildVehicleDevices(), ROEdge::cacheParamRestrictions(), SUMOVTypeParameter::cacheParamRestrictions(), MSRailSignal::constraintsAllow(), GUINet::createTLWrapper(), GNEEdge::drawEdgeName(), GNEGenericData::drawFilteredAttribute(), GNEConnection::drawGL(), GUIEdge::drawGL(), EnergyParams::EnergyParams(), MSDevice_SSM::filterByConflictType(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), 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(), PushButtonLogic::init(), SigmoidLogic::init(), SUMOVTypeParameter::initRailVisualizationParameters(), MSAbstractLaneChangeModel::laneChangeOutput(), NWWriter_OpenDrive::mapmatchRoadObjects(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), MSSOTLPolicy::MSSOTLPolicy(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), MSDevice_GLOSA::notifyEnter(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), GNEVType::overwriteVType(), NWWriter_OpenDrive::parseTrafficSign(), MSDevice_SSM::requestsTrajectories(), MSDevice_Bluelight::resetVehicle(), GNEEdgeData::setColor(), GNEEdgeRelData::setColor(), NBTrafficLightLogicCont::setOpenDriveSignalParameters(), NBEdge::setOrigID(), 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 126 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NIImporter_SUMO::_loadNetwork(), NBEdge::addLane(), 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(), 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(), MSBaseVehicle::initTransientModelParams(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), GNEEdgeData::isGenericDataVisible(), GNEEdgeRelData::isGenericDataVisible(), GNETAZRelData::isGenericDataVisible(), GNEGenericData::isVisibleInspectDeleteSelect(), NBEdge::NBEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), 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 132 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().
void SUMOVehicleParameter::incrementFlow | ( | double | scale, |
SumoRNG * | rng = nullptr |
||
) |
increment flow
Definition at line 1036 of file SUMOVehicleParameter.cpp.
References RandHelper::randExp(), repetitionOffset, repetitionProbability, repetitionsDone, repetitionTotalOffset, STEPS2TIME, and TIME2STEPS.
Referenced by MSInsertionControl::addFlow(), RONet::checkFlows(), MSRouteHandler::closeFlow(), RORouteHandler::closeFlow(), RORouteHandler::closePersonFlow(), MSRouteHandler::closeTransportableFlow(), and MSInsertionControl::determineCandidates().
|
static |
Interprets negative edge positions and fits them onto a given edge.
[in] | pos | The position to be interpreted |
[in] | maximumValue | The maximum allowed value (edge length) |
[in] | attr | The attribute from which the value originated |
[in] | id | The id of the object to which this attribute belongs |
Definition at line 652 of file SUMOVehicleParameter.cpp.
References TL, toString(), and WRITE_WARNINGF.
Referenced by MSRouteHandler::addRideOrTransport(), MSRouteHandler::addStop(), MSStageDriving::canLeaveVehicle(), MSPerson::MSPersonStage_Walking::MSPersonStage_Walking(), MSStageTranship::MSStageTranship(), and SUMOVehicleParserHelper::parseWalkPos().
|
staticprivateinherited |
check if given string can be parsed to a parameter of type "key=value"
Definition at line 251 of file Parameterised.cpp.
References StringTokenizer::getVector(), and SUMOXMLDefinitions::isValidParameterKey().
Referenced by Parameterised::areAttributesValid(), and Parameterised::areParametersValid().
|
inherited |
Returns whether the parameter is known.
[in] | key | The key to ask for |
Definition at line 65 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NBEdge::append(), GUIInductLoop::buildDetectorGUIRepresentation(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), GUINet::createTLWrapper(), 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(), SUMOVTypeParameter::initRailVisualizationParameters(), MSEdge::insertVehicle(), NIImporter_OpenStreetMap::load(), NWWriter_OpenDrive::mapmatchRoadObjects(), MSActuatedTrafficLightLogic::MSActuatedTrafficLightLogic(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), GNEVType::overwriteVType(), NWWriter_OpenDrive::parseTrafficSign(), MSDevice_SSM::requestsTrajectories(), NBTrafficLightLogicCont::setOpenDriveSignalParameters(), MSDevice_SSM::useGeoCoords(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::WAUTSwitchProcedure_Stretch(), MSDevice_SSM::writeLanesPositions(), MSDevice_SSM::writePositions(), NWWriter_OpenDrive::writeRoadObjectPoly(), NWWriter_OpenDrive::writeRoadObjects(), and NWWriter_OpenDrive::writeSignals().
|
static |
Validates a given arrivalLane value.
[in] | val | The arrivalLane value to parse |
[in] | element | The name of the type of the parsed element, for building the error message |
[in] | id | The id of the parsed element, for building the error message |
[out] | lane | The parsed lane, if given |
[out] | ald | The parsed arrivalLane definition |
[out] | error | Error message, if an error occures |
Definition at line 530 of file SUMOVehicleParameter.cpp.
References CURRENT, FIRST_ALLOWED, GIVEN, RANDOM, and StringUtils::toInt().
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), GNEVehicle::isValid(), SUMOVehicleParserHelper::parseCommonAttributes(), GNECalibratorFlow::setAttribute(), and GNEVehicle::setAttribute().
|
static |
Validates a given arrivalPos value.
[in] | val | The arrivalPos value to parse |
[in] | element | The name of the type of the parsed element, for building the error message |
[in] | id | The id of the parsed element, for building the error message |
[out] | pos | The parsed position, if given |
[out] | apd | The parsed arrivalPos definition |
[out] | error | Error message, if an error occures |
Definition at line 563 of file SUMOVehicleParameter.cpp.
References CENTER, GIVEN, MAX, RANDOM, and StringUtils::toDouble().
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), GNEVehicle::isValid(), SUMOVehicleParserHelper::parseCommonAttributes(), SUMOVehicleParserHelper::parseWalkPos(), GNECalibratorFlow::setAttribute(), and GNEVehicle::setAttribute().
|
static |
Validates a given arrivalPosLat value.
[in] | val | The arrivalPosLat value to parse |
[in] | element | The name of the type of the parsed element, for building the error message |
[in] | id | The id of the parsed element, for building the error message |
[out] | pos | The parsed position, if given |
[out] | apd | The parsed arrivalPosLat definition |
[out] | error | Error message, if an error occures |
Definition at line 593 of file SUMOVehicleParameter.cpp.
References CENTER, GIVEN, LEFT, RIGHT, and StringUtils::toDouble().
Referenced by GNEVehicle::isValid(), SUMOVehicleParserHelper::parseCommonAttributes(), GNECalibratorFlow::setAttribute(), and GNEVehicle::setAttribute().
|
static |
Validates a given arrivalSpeed value.
[in] | val | The arrivalSpeed value to parse |
[in] | element | The name of the type of the parsed element, for building the error message |
[in] | id | The id of the parsed element, for building the error message |
[out] | speed | The parsed speed, if given |
[out] | asd | The parsed arrivalSpeed definition |
[out] | error | Error message, if an error occures |
Definition at line 623 of file SUMOVehicleParameter.cpp.
References CURRENT, GIVEN, and StringUtils::toDouble().
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), GNEVehicle::isValid(), SUMOVehicleParserHelper::parseCommonAttributes(), GNECalibratorFlow::setAttribute(), and GNEVehicle::setAttribute().
|
static |
Validates a given depart value.
[in] | val | The depart value to parse |
[in] | element | The name of the type of the parsed element, for building the error message |
[in] | id | The id of the parsed element, for building the error message |
[out] | depart | The parsed depart time, if given |
[out] | dd | The parsed departProcedure definition |
[out] | error | Error message, if an error occures |
Definition at line 318 of file SUMOVehicleParameter.cpp.
References BEGIN, CONTAINER_TRIGGERED, depart, GIVEN, NOW, SPLIT, string2time(), and TRIGGERED.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), GNEContainer::isValid(), GNEPerson::isValid(), GNEVehicle::isValid(), SUMOVehicleParserHelper::parseFlowAttributes(), SUMOVehicleParserHelper::parseVehicleAttributes(), GNEContainer::setAttribute(), GNEPerson::setAttribute(), and GNEVehicle::setAttribute().
|
static |
Validates a given departLane value.
[in] | val | The departLane value to parse |
[in] | element | The name of the type of the parsed element, for building the error message |
[in] | id | The id of the parsed element, for building the error message |
[out] | lane | The parsed lane, if given |
[out] | dld | The parsed departLane definition |
[out] | error | Error message, if an error occures |
Definition at line 353 of file SUMOVehicleParameter.cpp.
References ALLOWED_FREE, BEST_FREE, FIRST_ALLOWED, FREE, GIVEN, RANDOM, and StringUtils::toInt().
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), GNEVehicle::isValid(), SUMOVehicleParserHelper::parseCommonAttributes(), GNECalibratorFlow::setAttribute(), GNEVehicle::setAttribute(), and LIBSUMO_NAMESPACE::Calibrator::setFlow().
|
static |
Validates a given departPos value.
[in] | val | The departPos value to parse |
[in] | element | The name of the type of the parsed element, for building the error message |
[in] | id | The id of the parsed element, for building the error message |
[out] | pos | The parsed position, if given |
[out] | dpd | The parsed departPos definition |
[out] | error | Error message, if an error occures |
Definition at line 390 of file SUMOVehicleParameter.cpp.
References BASE, FREE, GIVEN, LAST, RANDOM, RANDOM_FREE, STOP, and StringUtils::toDouble().
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), GNEContainer::isValid(), GNEPerson::isValid(), GNEVehicle::isValid(), MSParkingArea::MSParkingArea(), SUMOVehicleParserHelper::parseCommonAttributes(), GNECalibratorFlow::setAttribute(), GNEContainer::setAttribute(), GNEPerson::setAttribute(), and GNEVehicle::setAttribute().
|
static |
Validates a given departPosLat value.
[in] | val | The departPosLat value to parse |
[in] | element | The name of the type of the parsed element, for building the error message |
[in] | id | The id of the parsed element, for building the error message |
[out] | pos | The parsed position, if given |
[out] | dpd | The parsed departPosLat definition |
[out] | error | Error message, if an error occures |
Definition at line 426 of file SUMOVehicleParameter.cpp.
References CENTER, FREE, GIVEN, LEFT, RANDOM, RANDOM_FREE, RIGHT, and StringUtils::toDouble().
Referenced by MSRouteHandler::interpretDepartPosLat(), GNEVehicle::isValid(), SUMOVehicleParserHelper::parseCommonAttributes(), GNECalibratorFlow::setAttribute(), and GNEVehicle::setAttribute().
|
static |
Validates a given departSpeed value.
[in] | val | The departSpeed value to parse |
[in] | element | The name of the type of the parsed element, for building the error message |
[in] | id | The id of the parsed element, for building the error message |
[out] | speed | The parsed speed, if given |
[out] | dsd | The parsed departSpeed definition |
[out] | error | Error message, if an error occures |
Definition at line 462 of file SUMOVehicleParameter.cpp.
References AVG, DESIRED, GIVEN, LAST, LIMIT, MAX, RANDOM, and StringUtils::toDouble().
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), GNEVehicle::isValid(), SUMOVehicleParserHelper::parseCommonAttributes(), GNECalibratorFlow::setAttribute(), GNEVehicle::setAttribute(), and LIBSUMO_NAMESPACE::Calibrator::setFlow().
|
protected |
parses insertion checks
Definition at line 1088 of file SUMOVehicleParameter.cpp.
References ALL, StringTokenizer::hasNext(), insertionChecks, SUMOXMLDefinitions::InsertionChecks, and StringTokenizer::next().
Referenced by GNECalibratorFlow::setAttribute(), and GNEVehicle::setAttribute().
|
static |
parses parking type value
Definition at line 716 of file SUMOVehicleParameter.cpp.
References OFFROAD, ONROAD, OPPORTUNISTIC, StringUtils::toBool(), and toString().
Referenced by MSDevice_Taxi::prepareStop(), GNEStop::setAttribute(), and LIBSUMO_NAMESPACE::Vehicle::setStopParameter().
|
static |
Validates a given person modes value.
[in] | modes | The modes value to parse |
[in] | element | The name of the type of the parsed element, for building the error message |
[in] | id | The id of the parsed element, for building the error message |
[out] | modeSet | The parsed modes definition |
[out] | error | Error message, if an error occures |
Definition at line 667 of file SUMOVehicleParameter.cpp.
References StringTokenizer::hasNext(), SVC_BICYCLE, SVC_BUS, SVC_PASSENGER, and SVC_TAXI.
Referenced by MSRouteHandler::addPersonTrip(), GNEPersonTrip::isValid(), and RouteHandler::parsePersonTrip().
|
static |
Validates a given departEdge or arrivalEdge value.
[in] | val | The departEdge value to parse |
[in] | element | The name of the type of the parsed element, for building the error message |
[in] | id | The id of the parsed element, for building the error message |
[out] | edgeIndex | The parsed edge index, if given |
[out] | ded | The parsed departEdge definition |
[out] | error | Error message, if an error occures |
Definition at line 501 of file SUMOVehicleParameter.cpp.
References GIVEN, RANDOM, StringUtils::toInt(), and toString().
Referenced by SUMOVehicleParserHelper::parseCommonAttributes().
|
static |
parses stop trigger values
Definition at line 693 of file SUMOVehicleParameter.cpp.
References SUMOVehicleParameter::Stop::containerTriggered, SUMOVehicleParameter::Stop::joinTriggered, SUMO_ATTR_JOIN, SUMO_TAG_CONTAINER, SUMO_TAG_PERSON, TL, StringUtils::toBool(), toString(), SUMOVehicleParameter::Stop::triggered, and WRITE_ERROR.
Referenced by SUMORouteHandler::parseStop(), RouteHandler::parseStopParameters(), and LIBSUMO_NAMESPACE::Vehicle::setStopParameter().
|
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 NLHandler::addDistrict(), RONetHandler::addParam(), SUMORouteHandler::addParam(), ShapeHandler::addPOI(), NBEdge::append(), NBOwnTLDef::buildNemaPhases(), MSParkingArea::enter(), NIImporter_MATSim::EdgesHandler::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), MSLane::isInsertionSuccess(), NBNodeCont::joinNodeCluster(), NBEdge::Lane::Lane(), NWWriter_OpenDrive::mapmatchRoadObjects(), MSStateHandler::myStartElement(), NIXMLNodesHandler::myStartElement(), NIXMLTrafficLightsHandler::myStartElement(), ShapeHandler::myStartElement(), MSDevice_Bluelight::notifyMove(), GNEVType::setAttribute(), NBEdge::setJunctionPriority(), NIImporter_OpenDrive::setLaneAttributes(), MSRailCrossing::setParameter(), MSActuatedTrafficLightLogic::setParameter(), MSRailSignal::setParameter(), MSSimpleTrafficLightLogic::setParameter(), NEMALogic::setParameter(), LIBSUMO_NAMESPACE::Simulation::setParameter(), Parameterised::setParameters(), Parameterised::setParametersMap(), 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 148 of file Parameterised.cpp.
References Parameterised::getParametersMap(), Parameterised::myMap, and Parameterised::setParameter().
|
inherited |
set the inner key/value map in map<string, string> format
Definition at line 159 of file Parameterised.cpp.
References Parameterised::myMap, and Parameterised::setParameter().
Referenced by GNESingleParametersDialog::onCmdAccept().
|
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 170 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(), PCLoaderOSM::addPOI(), PCLoaderOSM::addPolygon(), NLHandler::closeEdge(), NLJunctionControlBuilder::closeJunction(), NLJunctionControlBuilder::closeTrafficLightLogic(), NBTrafficLightDefinition::compute(), NLDetectorBuilder::endE3Detector(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), NBEdge::NBEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), and LIBSUMO_NAMESPACE::TrafficLight::swapConstraints().
|
inline |
Returns whether the given parameter was set.
[in] | what | The parameter which one asks for |
Definition at line 472 of file SUMOVehicleParameter.h.
References parametersSet.
Referenced by MSRouteHandler::addStop(), MSRouteHandler::addVehicleStopsToImplicitRoute(), MSTransportableDevice_Routing::buildDevices(), GNERouteHandler::buildEmbeddedRoute(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowJunctions(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowTAZs(), GNERouteHandler::buildTrip(), GNERouteHandler::buildTripJunctions(), GNERouteHandler::buildTripTAZs(), MSDevice_Routing::buildVehicleDevices(), GNERouteHandler::buildVehicleOverRoute(), MSStageDriving::canLeaveVehicle(), MSRouteHandler::closeVehicle(), GUIBaseVehicle::drawStopLabels(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), GNECalibratorFlow::getAttribute(), GNEContainer::getAttribute(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), GNEVehicle::getAttributeDouble(), MSBaseVehicle::getRouteValidity(), MSLink::ignoreFoe(), MEVehicle::loadState(), MSVehicle::loadState(), LIBSUMO_NAMESPACE::Vehicle::moveTo(), MSBaseVehicle::MSBaseVehicle(), MSDevice_Routing::MSDevice_Routing(), MSTransportableDevice_Routing::MSTransportableDevice_Routing(), ROMARouteHandler::myEndElement(), ROMARouteHandler::myStartElement(), MSRouteHandler::parseFromViaTo(), RORouteHandler::parseFromViaTo(), MSBaseVehicle::saveState(), MSTransportable::saveState(), GNEVehicle::setColor(), GUIBaseVehicle::setFunctionalColor(), GUIPerson::setFunctionalColor(), GNEVehicle::updateGeometry(), MSEdge::validateDepartSpeed(), write(), MSDevice_Vehroutes::writeOutput(), and MSDevice_Vehroutes::writeXMLRoute().
void SUMOVehicleParameter::write | ( | OutputDevice & | dev, |
const OptionsCont & | oc, | ||
const SumoXMLTag | altTag = SUMO_TAG_VEHICLE , |
||
const std::string & | typeID = "" |
||
) | const |
Writes the parameters as a beginning element.
[in,out] | dev | The device to write into |
[in] | oc | The options to get defaults from |
[in] | altTag | The "root" tag to write (defaults to vehicle) |
[in] | typeID | The typeID to write (defaults to member vtypeid) |
IOError | not yet implemented |
Definition at line 75 of file SUMOVehicleParameter.cpp.
References ALL, arrivalEdge, calibratorSpeed, color, containerNumber, defaultOptionOverrides(), OptionsCont::exists(), fromTaz, getArrivalEdge(), getArrivalLane(), getArrivalPos(), getArrivalPosLat(), getArrivalSpeed(), getDepart(), getDepartEdge(), getDepartLane(), getDepartPos(), getDepartPosLat(), getDepartSpeed(), OptionsCont::getString(), StringBijection< T >::getValues(), GNE_TAG_FLOW_ROUTE, GNE_TAG_FLOW_WITHROUTE, gPrecisionRandom, insertionChecks, SUMOXMLDefinitions::InsertionChecks, OptionsCont::isSet(), line, MAX2(), NONE, OutputDevice::openTag(), personNumber, OutputDevice::precision(), OutputDevice::setPrecision(), speedFactor, SUMO_ATTR_ARRIVALEDGE, SUMO_ATTR_ARRIVALLANE, SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_ARRIVALPOS_LAT, SUMO_ATTR_ARRIVALSPEED, SUMO_ATTR_BEGIN, SUMO_ATTR_COLOR, SUMO_ATTR_CONTAINER_NUMBER, SUMO_ATTR_DEPART, SUMO_ATTR_DEPARTEDGE, SUMO_ATTR_DEPARTLANE, SUMO_ATTR_DEPARTPOS, SUMO_ATTR_DEPARTPOS_LAT, SUMO_ATTR_DEPARTSPEED, SUMO_ATTR_FROM_TAZ, SUMO_ATTR_ID, SUMO_ATTR_INSERTIONCHECKS, SUMO_ATTR_LINE, SUMO_ATTR_PERSON_NUMBER, SUMO_ATTR_SPEED, SUMO_ATTR_SPEEDFACTOR, SUMO_ATTR_TO_TAZ, SUMO_ATTR_TYPE, SUMO_TAG_CONTAINERFLOW, SUMO_TAG_FLOW, SUMO_TAG_FLOWSTATE, SUMO_TAG_PERSONFLOW, toString(), toTaz, VEHPARS_ARRIVALEDGE_SET, VEHPARS_ARRIVALLANE_SET, VEHPARS_ARRIVALPOS_SET, VEHPARS_ARRIVALPOSLAT_SET, VEHPARS_ARRIVALSPEED_SET, VEHPARS_CALIBRATORSPEED_SET, VEHPARS_COLOR_SET, VEHPARS_CONTAINER_NUMBER_SET, VEHPARS_DEPARTEDGE_SET, VEHPARS_DEPARTLANE_SET, VEHPARS_DEPARTPOS_SET, VEHPARS_DEPARTPOSLAT_SET, VEHPARS_DEPARTSPEED_SET, VEHPARS_FROM_TAZ_SET, VEHPARS_LINE_SET, VEHPARS_PERSON_NUMBER_SET, VEHPARS_SPEEDFACTOR_SET, VEHPARS_TO_TAZ_SET, VEHPARS_VTYPE_SET, vtypeid, wasSet(), OutputDevice::writeAttr(), and OutputDevice::writeNonEmptyAttr().
Referenced by MSTransportable::routeOutput(), ROPerson::saveAsXML(), ROVehicle::saveAsXML(), MSBaseVehicle::saveState(), MSTransportable::saveState(), GNECalibratorFlow::writeAdditional(), GNEContainer::writeDemandElement(), GNEPerson::writeDemandElement(), GNEVehicle::writeDemandElement(), and MSDevice_Vehroutes::writeOutput().
|
inherited |
write Params in the given outputdevice
Definition at line 185 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(), SUMOVTypeParameter::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().
int SUMOVehicleParameter::arrivalEdge |
(optional) The final edge within the route of the vehicle
Definition at line 725 of file SUMOVehicleParameter.h.
Referenced by MSBaseVehicle::calculateArrivalParams(), MSRouteHandler::closeFlow(), MSRouteHandler::closeVehicle(), GUIBaseVehicle::drawStopLabels(), MSDevice_Tripinfo::generateOutput(), getArrivalEdge(), GNEVehicle::getAttribute(), GNEVehicle::getLastPathLane(), MEVehicle::hasArrived(), MSVehicle::hasArrivedInternal(), MSRailSignal::initDriveWays(), MEVehicle::moveRoutePointer(), SUMOVehicleParserHelper::parseCommonAttributes(), MSVehicle::planMoveInternal(), GNEVehicle::setAttribute(), MSBaseVehicle::setDepartAndArrivalEdge(), and write().
RouteIndexDefinition SUMOVehicleParameter::arrivalEdgeProcedure |
Information how the vehicle's final edge shall be chosen.
Definition at line 728 of file SUMOVehicleParameter.h.
Referenced by MSRouteHandler::closeFlow(), MSRouteHandler::closeVehicle(), getArrivalEdge(), SUMOVehicleParserHelper::parseCommonAttributes(), GNEVehicle::setAttribute(), and MSBaseVehicle::setDepartAndArrivalEdge().
int SUMOVehicleParameter::arrivalLane |
Definition at line 701 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), MSBaseVehicle::calculateArrivalParams(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), getArrivalLane(), GNEVehicle::getAttributeDouble(), SUMOVehicleParserHelper::parseCommonAttributes(), GNECalibratorFlow::setAttribute(), and GNEVehicle::setAttribute().
ArrivalLaneDefinition SUMOVehicleParameter::arrivalLaneProcedure |
Information how the vehicle shall choose the lane to arrive on.
Definition at line 704 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), MSBaseVehicle::calculateArrivalParams(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), ROVehicle::computeRoute(), getArrivalLane(), GNEVehicle::getAttributeDouble(), SUMOVehicleParserHelper::parseCommonAttributes(), GNECalibratorFlow::setAttribute(), GNEVehicle::setAttribute(), and MSVehicle::updateBestLanes().
double SUMOVehicleParameter::arrivalPos |
(optional) The position the vehicle shall arrive on
Definition at line 707 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), MSBaseVehicle::calculateArrivalParams(), MSStageDriving::canLeaveVehicle(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), getArrivalPos(), GNECalibratorFlow::getAttributeDouble(), GNEVehicle::getAttributeDouble(), GNEVehicle::getAttributePosition(), MSTriggeredRerouter::notifyEnter(), SUMOVehicleParserHelper::parseCommonAttributes(), MSBaseVehicle::reroute(), MSVehicle::rerouteParkingArea(), GNECalibratorFlow::setAttribute(), GNEVehicle::setAttribute(), and GNEVehicle::setMoveShape().
double SUMOVehicleParameter::arrivalPosLat |
(optional) The lateral position the vehicle shall arrive on
Definition at line 713 of file SUMOVehicleParameter.h.
Referenced by MSLCM_SL2015::_wantsChangeSublane(), getArrivalPosLat(), SUMOVehicleParserHelper::parseCommonAttributes(), GNECalibratorFlow::setAttribute(), and GNEVehicle::setAttribute().
ArrivalPosLatDefinition SUMOVehicleParameter::arrivalPosLatProcedure |
Information how the vehicle shall choose the lateral arrival position.
Definition at line 716 of file SUMOVehicleParameter.h.
Referenced by MSLCM_SL2015::_wantsChangeSublane(), getArrivalPosLat(), SUMOVehicleParserHelper::parseCommonAttributes(), GNECalibratorFlow::setAttribute(), and GNEVehicle::setAttribute().
ArrivalPosDefinition SUMOVehicleParameter::arrivalPosProcedure |
Information how the vehicle shall choose the arrival position.
Definition at line 710 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), MSBaseVehicle::calculateArrivalParams(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), ROVehicle::computeRoute(), getArrivalPos(), GNECalibratorFlow::getAttributeDouble(), GNEVehicle::getAttributeDouble(), GNEVehicle::getAttributePosition(), MSTriggeredRerouter::notifyEnter(), SUMOVehicleParserHelper::parseCommonAttributes(), MSBaseVehicle::reroute(), MSVehicle::rerouteParkingArea(), GNECalibratorFlow::setAttribute(), GNEVehicle::setAttribute(), and GNEVehicle::setMoveShape().
double SUMOVehicleParameter::arrivalSpeed |
(optional) The final speed of the vehicle (not used yet)
Definition at line 719 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), MSBaseVehicle::calculateArrivalParams(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), getArrivalSpeed(), MSLane::isInsertionSuccess(), SUMOVehicleParserHelper::parseCommonAttributes(), MSVehicle::planMoveInternal(), GNECalibratorFlow::setAttribute(), and GNEVehicle::setAttribute().
ArrivalSpeedDefinition SUMOVehicleParameter::arrivalSpeedProcedure |
Information how the vehicle's end speed shall be chosen.
Definition at line 722 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), MSBaseVehicle::calculateArrivalParams(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), getArrivalSpeed(), MSLane::isInsertionSuccess(), SUMOVehicleParserHelper::parseCommonAttributes(), MSVehicle::planMoveInternal(), GNECalibratorFlow::setAttribute(), and GNEVehicle::setAttribute().
double SUMOVehicleParameter::calibratorSpeed |
speed (used by calibrator flows
Definition at line 779 of file SUMOVehicleParameter.h.
Referenced by GNECalibratorFlow::getAttribute(), AdditionalHandler::parseCalibratorFlowAttributes(), SUMOVehicleParserHelper::parseCommonAttributes(), GNECalibratorFlow::setAttribute(), and write().
|
mutable |
The vehicle's color, TraCI may change this.
Definition at line 656 of file SUMOVehicleParameter.h.
Referenced by GNEContainer::drawGL(), GNECalibratorFlow::getAttribute(), GNEContainer::getAttribute(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), GNEContainer::getColor(), GNEPerson::getColor(), GNEVehicle::getColor(), SUMOVehicleParserHelper::parseCommonAttributes(), GNECalibratorFlow::setAttribute(), GNEContainer::setAttribute(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNEVehicle::setColor(), GUIBaseVehicle::setFunctionalColor(), GUIPerson::setFunctionalColor(), MSDevice_ToC::setVehicleColor(), and write().
int SUMOVehicleParameter::containerNumber |
The static number of containers in the vehicle when it departs.
Definition at line 773 of file SUMOVehicleParameter.h.
Referenced by GNECalibratorFlow::getAttribute(), GNEVehicle::getAttribute(), MSBaseVehicle::getContainerNumber(), SUMOVehicleParserHelper::parseCommonAttributes(), GNECalibratorFlow::setAttribute(), GNEVehicle::setAttribute(), and write().
SUMOTime SUMOVehicleParameter::depart |
Definition at line 661 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Person::add(), LIBSUMO_NAMESPACE::Vehicle::add(), MSTransportableControl::add(), MSVehicleContainer::add(), RONet::addFlow(), RORouteHandler::addFlowPerson(), MSRouteHandler::addFlowTransportable(), MSRouteHandler::addPersonTrip(), RORouteHandler::addRide(), MSRouteHandler::addRideOrTransport(), IntermodalNetwork< E, L, N, V >::addSchedule(), MSRouteHandler::addStop(), MSBaseVehicle::addStops(), MSRouteHandler::addTranship(), RORouteHandler::addTransport(), MSBaseVehicle::addTransportable(), MSRouteHandler::addWalk(), RONet::checkFlows(), SUMORouteHandler::checkLastDepart(), MSTransportableControl::checkWaiting(), RORouteHandler::closeContainer(), RORouteHandler::closeContainerFlow(), MSRouteHandler::closeFlow(), RORouteHandler::closeFlow(), RORouteHandler::closePersonFlow(), MSRouteHandler::closeTransportable(), MSRouteHandler::closeTransportableFlow(), MSRouteHandler::closeVehicle(), MSStateHandler::closeVehicle(), RORouteHandler::closeVehicle(), ROPerson::computeRoute(), MSInsertionControl::determineCandidates(), MSTransportableControl::erase(), METriggeredCalibrator::execute(), MSCalibrator::execute(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), MSTransportableControl::fixLoadCount(), MSDevice_Tripinfo::generateOutput(), MSDevice_Tripinfo::generateOutputForUnfinished(), GNECalibratorFlow::getAttribute(), GNEContainer::getAttribute(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), GNECalibratorFlow::getAttributeDouble(), GNEContainer::getAttributeDouble(), GNEPerson::getAttributeDouble(), GNEVehicle::getAttributeDouble(), GNEContainer::getBegin(), GNEPerson::getBegin(), GNEVehicle::getBegin(), RORoutable::getDepart(), getDepart(), MSBaseVehicle::getDepartDelay(), MSTransportable::getDesiredDepart(), MSDevice_Routing::MSDevice_Routing(), MSDevice_Taxi::MSDevice_Taxi(), MSTransportableDevice_Routing::MSTransportableDevice_Routing(), ROMARouteHandler::myEndElement(), ROJTRTurnDefLoader::myStartElement(), MSDevice_Vehroutes::notifyEnter(), AdditionalHandler::parseCalibratorFlowAttributes(), parseDepart(), SUMOVehicleParserHelper::parseFlowAttributes(), SUMOVehicleParserHelper::parseVehicleAttributes(), SUMORouteHandler::registerLastDepart(), MSVehicleContainer::remove(), MSBaseVehicle::replaceRoute(), MSStageTrip::setArrived(), GNECalibratorFlow::setAttribute(), GNEContainer::setAttribute(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), RORoutable::setDepart(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), METriggeredCalibrator::tryEmit(), MSInsertionControl::tryInsert(), MSVehicleControl::vehicleDeparted(), and MSDevice_Vehroutes::writeOutput().
int SUMOVehicleParameter::departEdge |
(optional) The initial edge within the route of the vehicle
Definition at line 691 of file SUMOVehicleParameter.h.
Referenced by MSRouteHandler::closeFlow(), MSRouteHandler::closeVehicle(), GNEVehicle::getAttribute(), getDepartEdge(), GNEVehicle::getFirstPathLane(), MSVehicleControl::handleTriggeredDepart(), MSRailSignal::initDriveWays(), SUMOVehicleParserHelper::parseCommonAttributes(), GNEVehicle::setAttribute(), and MSBaseVehicle::setDepartAndArrivalEdge().
RouteIndexDefinition SUMOVehicleParameter::departEdgeProcedure |
Information how the vehicle's initial edge shall be chosen.
Definition at line 694 of file SUMOVehicleParameter.h.
Referenced by MSRouteHandler::closeFlow(), MSRouteHandler::closeVehicle(), getDepartEdge(), SUMOVehicleParserHelper::parseCommonAttributes(), GNEVehicle::setAttribute(), and MSBaseVehicle::setDepartAndArrivalEdge().
int SUMOVehicleParameter::departLane |
(optional) The lane the vehicle shall depart from (index in edge)
Definition at line 667 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), GNERouteHandler::buildEmbeddedRoute(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowJunctions(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowTAZs(), GNERouteHandler::buildTrip(), GNERouteHandler::buildTripJunctions(), GNERouteHandler::buildTripTAZs(), GNERouteHandler::buildVehicleOverRoute(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), GNEVehicle::getAttributeDouble(), getDepartLane(), MSEdge::getDepartLane(), MSEdge::getDepartLaneMeso(), MSVehicle::hasValidRouteStart(), MSCalibrator::myStartElement(), SUMOVehicleParserHelper::parseCommonAttributes(), GNECalibratorFlow::setAttribute(), GNEVehicle::setAttribute(), LIBSUMO_NAMESPACE::Calibrator::setFlow(), MSCalibrator::setFlow(), and MSDevice_Vehroutes::writeOutput().
DepartLaneDefinition SUMOVehicleParameter::departLaneProcedure |
Information how the vehicle shall choose the lane to depart from.
Definition at line 670 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), GNERouteHandler::buildEmbeddedRoute(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowJunctions(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowTAZs(), GNERouteHandler::buildTrip(), GNERouteHandler::buildTripJunctions(), GNERouteHandler::buildTripTAZs(), GNERouteHandler::buildVehicleOverRoute(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), ROVehicle::computeRoute(), MSCalibrator::execute(), GNEVehicle::getAttributeDouble(), getDepartLane(), MSEdge::getDepartLane(), MSEdge::getDepartLaneMeso(), MSVehicle::hasValidRouteStart(), MSEdge::insertVehicle(), LIBSUMO_NAMESPACE::Vehicle::moveTo(), MSCalibrator::myStartElement(), SUMOVehicleParserHelper::parseCommonAttributes(), MSDevice_Routing::preInsertionReroute(), GNECalibratorFlow::setAttribute(), GNEVehicle::setAttribute(), LIBSUMO_NAMESPACE::Calibrator::setFlow(), MSCalibrator::setFlow(), and MSDevice_Vehroutes::writeOutput().
double SUMOVehicleParameter::departPos |
(optional) The position the vehicle shall depart from
Definition at line 673 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Person::add(), LIBSUMO_NAMESPACE::Vehicle::add(), MSRouteHandler::addPersonTrip(), MSRouteHandler::addRideOrTransport(), MSRouteHandler::addStop(), MSBaseVehicle::addStop(), ROPerson::addTrip(), MSRouteHandler::addWalk(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), GNECalibratorFlow::getAttributeDouble(), GNEPerson::getAttributeDouble(), GNEVehicle::getAttributeDouble(), GNEContainer::getAttributePosition(), GNEPerson::getAttributePosition(), GNEVehicle::getAttributePosition(), getDepartPos(), MSEdge::getDepartPosBound(), MSVehicleControl::handleTriggeredDepart(), MSLane::insertVehicle(), MSEdge::insertVehicle(), SUMOVehicleParserHelper::parseCommonAttributes(), RORouteHandler::parseWalkPositions(), MSBaseVehicle::reroute(), MSStageTrip::setArrived(), GNECalibratorFlow::setAttribute(), GNEContainer::setAttribute(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNEContainer::setMoveShape(), GNEPerson::setMoveShape(), GNEVehicle::setMoveShape(), GNEVehicle::updateGeometry(), and MSDevice_Vehroutes::writeOutput().
double SUMOVehicleParameter::departPosLat |
(optional) The lateral position the vehicle shall depart from
Definition at line 679 of file SUMOVehicleParameter.h.
Referenced by getDepartPosLat(), MSLane::getDepartPosLat(), SUMOVehicleParserHelper::parseCommonAttributes(), GNECalibratorFlow::setAttribute(), GNEVehicle::setAttribute(), and MSDevice_Vehroutes::writeOutput().
DepartPosLatDefinition SUMOVehicleParameter::departPosLatProcedure |
Information how the vehicle shall choose the lateral departure position.
Definition at line 682 of file SUMOVehicleParameter.h.
Referenced by getDepartPosLat(), MSLane::getDepartPosLat(), MSLane::insertVehicle(), SUMOVehicleParserHelper::parseCommonAttributes(), GNECalibratorFlow::setAttribute(), GNEVehicle::setAttribute(), and MSDevice_Vehroutes::writeOutput().
DepartPosDefinition SUMOVehicleParameter::departPosProcedure |
Information how the vehicle shall choose the departure position.
Definition at line 676 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Person::add(), LIBSUMO_NAMESPACE::Vehicle::add(), MSRouteHandler::addFlowTransportable(), MSRouteHandler::addPersonTrip(), MSBaseVehicle::addStop(), ROPerson::addTrip(), MSRouteHandler::addWalk(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), ROVehicle::computeRoute(), GNECalibratorFlow::getAttributeDouble(), GNEPerson::getAttributeDouble(), GNEVehicle::getAttributeDouble(), GNEVehicle::getAttributePosition(), getDepartPos(), MSEdge::getDepartPosBound(), MSLane::insertVehicle(), MSEdge::insertVehicle(), SUMOVehicleParserHelper::parseCommonAttributes(), MSBaseVehicle::reroute(), MSStageTrip::setArrived(), GNECalibratorFlow::setAttribute(), GNEContainer::setAttribute(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNEContainer::setMoveShape(), GNEPerson::setMoveShape(), GNEVehicle::setMoveShape(), GNEVehicle::updateGeometry(), and MSDevice_Vehroutes::writeOutput().
DepartDefinition SUMOVehicleParameter::departProcedure |
Information how the vehicle shall choose the depart time.
Definition at line 664 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Person::add(), LIBSUMO_NAMESPACE::Vehicle::add(), RORouteHandler::addRide(), MSRouteHandler::addRideOrTransport(), RORouteHandler::addTransport(), MSBaseVehicle::addTransportable(), ROPerson::addTrip(), RONet::addVehicle(), SUMORouteHandler::checkLastDepart(), RORouteHandler::closePersonFlow(), MSRouteHandler::closeTransportableFlow(), MSRouteHandler::closeVehicle(), RORouteHandler::closeVehicle(), MSInsertionControl::determineCandidates(), MSDevice_Tripinfo::generateOutput(), GNEContainer::getAttribute(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), getDepart(), MSVehicleControl::handleTriggeredDepart(), MSLane::insertVehicle(), MSDevice_Taxi::MSDevice_Taxi(), MSRouteHandler::myStartElement(), RORouteHandler::myStartElement(), SUMOVehicleParserHelper::parseFlowAttributes(), SUMOVehicleParserHelper::parseVehicleAttributes(), MSStageDriving::proceed(), SUMORouteHandler::registerLastDepart(), GNEContainer::setAttribute(), GNEPerson::setAttribute(), and GNEVehicle::setAttribute().
double SUMOVehicleParameter::departSpeed |
(optional) The initial speed of the vehicle
Definition at line 685 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), GNERouteHandler::buildEmbeddedRoute(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowJunctions(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowTAZs(), GNERouteHandler::buildTrip(), GNERouteHandler::buildTripJunctions(), GNERouteHandler::buildTripTAZs(), GNERouteHandler::buildVehicleOverRoute(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), getDepartSpeed(), MSLane::getDepartSpeed(), MSVehicle::hasValidRouteStart(), MEVehicle::MEVehicle(), SUMOVehicleParserHelper::parseCommonAttributes(), GNECalibratorFlow::setAttribute(), GNEVehicle::setAttribute(), LIBSUMO_NAMESPACE::Calibrator::setFlow(), MSCalibrator::setFlow(), MSEdge::validateDepartSpeed(), and MSDevice_Vehroutes::writeOutput().
DepartSpeedDefinition SUMOVehicleParameter::departSpeedProcedure |
Information how the vehicle's initial speed shall be chosen.
Definition at line 688 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), GNERouteHandler::buildEmbeddedRoute(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowJunctions(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowTAZs(), GNERouteHandler::buildTrip(), GNERouteHandler::buildTripJunctions(), GNERouteHandler::buildTripTAZs(), GNERouteHandler::buildVehicleOverRoute(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), getDepartSpeed(), MSLane::getDepartSpeed(), MSVehicle::hasValidRouteStart(), MSLane::isInsertionSuccess(), MEVehicle::MEVehicle(), MSCalibrator::myStartElement(), SUMOVehicleParserHelper::parseCommonAttributes(), GNECalibratorFlow::setAttribute(), GNEVehicle::setAttribute(), LIBSUMO_NAMESPACE::Calibrator::setFlow(), MSCalibrator::setFlow(), MSEdge::validateDepartSpeed(), and MSDevice_Vehroutes::writeOutput().
std::string SUMOVehicleParameter::fromTaz |
The vehicle's origin zone (district)
Definition at line 758 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), ROMARouteHandler::myEndElement(), ROMARouteHandler::myStartElement(), SUMOVehicleParserHelper::parseCommonAttributes(), MSBaseVehicle::reroute(), GNEVehicle::setAttribute(), and write().
std::string SUMOVehicleParameter::id |
The vehicle's id.
Definition at line 647 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Person::add(), LIBSUMO_NAMESPACE::Vehicle::add(), MSTransportableControl::add(), MSInsertionControl::addFlow(), RONet::addFlow(), RORouteHandler::addFlowPerson(), MSRouteHandler::addFlowTransportable(), MSRouteHandler::addPersonTrip(), RORouteHandler::addPersonTrip(), RORouteHandler::addRide(), MSRouteHandler::addRideOrTransport(), IntermodalNetwork< E, L, N, V >::addSchedule(), MSRouteHandler::addStop(), RORouteHandler::addStop(), MSBaseVehicle::addStop(), MSRouteHandler::addTranship(), RORouteHandler::addTransport(), ROPerson::addTrip(), MSRouteHandler::addVehicleStopsToImplicitRoute(), MSRouteHandler::addWalk(), RORouteHandler::addWalk(), GNERouteHandler::buildContainer(), GNERouteHandler::buildContainerFlow(), GNERouteHandler::buildEmbeddedRoute(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowJunctions(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowTAZs(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildTrip(), GNERouteHandler::buildTripJunctions(), GNERouteHandler::buildTripTAZs(), GNERouteHandler::buildVehicleOverRoute(), RONet::checkFlows(), SUMORouteHandler::checkLastDepart(), MSRouteHandler::checkTransportableType(), RORouteHandler::closeContainer(), RORouteHandler::closeContainerFlow(), MSRouteHandler::closeFlow(), RORouteHandler::closeFlow(), RORouteHandler::closePerson(), RORouteHandler::closePersonFlow(), MSRouteHandler::closeRoute(), RORouteHandler::closeRoute(), MSRouteHandler::closeTransportable(), MSRouteHandler::closeTransportableFlow(), MSRouteHandler::closeVehicle(), MSStateHandler::closeVehicle(), RORouteHandler::closeVehicle(), MSInsertionControl::determineCandidates(), METriggeredCalibrator::execute(), MSCalibrator::execute(), LIBSUMO_NAMESPACE::Simulation::findRoute(), RORoutable::getID(), MSEdge::insertVehicle(), MSRouteHandler::interpretDepartPosLat(), MEVehicle::MEVehicle(), ROMARouteHandler::myEndElement(), MSRouteHandler::myStartElement(), MSStateHandler::myStartElement(), RORouteHandler::myStartElement(), SUMORouteHandler::myStartElement(), MSRouteHandler::openRoute(), RORouteHandler::openRoute(), MSRouteHandler::openRouteDistribution(), RORouteHandler::openRouteDistribution(), SUMOVehicleParserHelper::parseCommonAttributes(), RouteHandler::parseFlow(), SUMOVehicleParserHelper::parseFlowAttributes(), MSRouteHandler::parseFromViaTo(), RORouteHandler::parseFromViaTo(), RouteHandler::parseTrip(), SUMOVehicleParserHelper::parseVehicleAttributes(), GNERouteHandler::transformToContainer(), GNERouteHandler::transformToContainerFlow(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToPerson(), GNERouteHandler::transformToPersonFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), and MSEdge::validateDepartSpeed().
int SUMOVehicleParameter::insertionChecks |
bitset of InsertionCheck
Definition at line 782 of file SUMOVehicleParameter.h.
Referenced by MSLane::checkFailure(), MSLane::checkForPedestrians(), getInsertionChecks(), MSLane::isInsertionSuccess(), SUMOVehicleParserHelper::parseCommonAttributes(), parseInsertionChecks(), MSLane::safeInsertionSpeed(), and write().
|
mutable |
The vehicle's line (mainly for public transport)
Definition at line 755 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), IntermodalNetwork< E, L, N, V >::addSchedule(), MSVehicleControl::addVehicle(), MSDevice_Taxi::buildVehicleDevices(), MSDevice_Vehroutes::buildVehicleDevices(), RONet::checkFlows(), MSDevice_Taxi::compatibleLine(), GNEVehicle::drawGL(), GUIBaseVehicle::drawOnPos(), GNECalibratorFlow::getAttribute(), GNEVehicle::getAttribute(), LIBSUMO_NAMESPACE::Vehicle::getLine(), GUIVehicle::getParameterWindow(), GUIMEVehicle::getParameterWindow(), MSBaseVehicle::isLineStop(), RORoutable::isPublicTransport(), MSStageDriving::isWaitingFor(), GUIViewTraffic::onGamingClick(), SUMOVehicleParserHelper::parseCommonAttributes(), SUMORouteHandler::registerLastDepart(), GUIVehicle::rerouteDRTStop(), MSBaseVehicle::saveState(), GNECalibratorFlow::setAttribute(), GNEVehicle::setAttribute(), LIBSUMO_NAMESPACE::Vehicle::setLine(), MSStageDriving::setVehicle(), and write().
|
privateinherited |
The key->value map.
Definition at line 137 of file Parameterised.h.
Referenced by Parameterised::clearParameter(), Parameterised::getDouble(), Parameterised::getDoubles(), Parameterised::getParameter(), Parameterised::getParametersMap(), Parameterised::getParametersStr(), Parameterised::knowsParameter(), Parameterised::setParameter(), Parameterised::setParameters(), Parameterised::setParametersMap(), Parameterised::setParametersStr(), Parameterised::unsetParameter(), and Parameterised::writeParams().
|
mutable |
Information for the router which parameter were set, TraCI may modify this (when changing color)
Definition at line 785 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), MSRouteHandler::addPersonTrip(), ROPerson::addTrip(), GNEDemandElement::adjustDefaultFlowAttributes(), MSRouteHandler::closeFlow(), MSRouteHandler::closeTrip(), MSRouteHandler::closeVehicle(), GNEContainer::disableAttribute(), GNEPerson::disableAttribute(), GNEVehicle::disableAttribute(), GNEContainer::enableAttribute(), GNEPerson::enableAttribute(), GNEVehicle::enableAttribute(), GNECalibratorFlow::getAttribute(), GNEVehicle::getAttribute(), GNECalibratorFlow::isAttributeEnabled(), GNEContainer::isAttributeEnabled(), GNEPerson::isAttributeEnabled(), GNEVehicle::isAttributeEnabled(), MSTransportable::loadState(), MEVehicle::loadState(), MSVehicle::loadState(), MSBaseVehicle::MSBaseVehicle(), ROMARouteHandler::myStartElement(), MSCalibrator::myStartElement(), SUMORouteHandler::myStartElement(), AdditionalHandler::parseCalibratorFlowAttributes(), SUMOVehicleParserHelper::parseCommonAttributes(), SUMOVehicleParserHelper::parseFlowAttributes(), MEVehicle::saveState(), MSVehicle::saveState(), MSTransportable::saveState(), GNECalibratorFlow::setAttribute(), GNEContainer::setAttribute(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), MSBaseVehicle::setCarFollowModelParameter(), GNEDemandElement::setFlowParameters(), MSBaseVehicle::setJunctionModelParameter(), MSTransportable::setJunctionModelParameter(), MSDevice_ToC::setVehicleColor(), GNECalibratorFlow::toggleAttribute(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), wasSet(), GNEContainer::writeDemandElement(), GNEPerson::writeDemandElement(), GNEVehicle::writeDemandElement(), and MSDevice_Vehroutes::writeOutput().
int SUMOVehicleParameter::personNumber |
The static number of persons in the vehicle when it departs (not including boarding persons)
Definition at line 770 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), GNECalibratorFlow::getAttribute(), GNEVehicle::getAttribute(), MSBaseVehicle::getPersonNumber(), SUMOVehicleParserHelper::parseCommonAttributes(), GNECalibratorFlow::setAttribute(), GNEVehicle::setAttribute(), and write().
SUMOTime SUMOVehicleParameter::repetitionEnd |
The time at which the flow ends (only needed when using repetitionProbability)
Definition at line 750 of file SUMOVehicleParameter.h.
Referenced by RONet::checkFlows(), RORouteHandler::closePersonFlow(), MSRouteHandler::closeTransportableFlow(), MSInsertionControl::determineCandidates(), GNECalibratorFlow::getAttribute(), GNEContainer::getAttribute(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), ROJTRTurnDefLoader::myStartElement(), AdditionalHandler::parseCalibratorFlowAttributes(), SUMOVehicleParserHelper::parseFlowAttributes(), GNECalibratorFlow::setAttribute(), GNEContainer::setAttribute(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNEContainer::writeDemandElement(), GNEPerson::writeDemandElement(), and GNEVehicle::writeDemandElement().
int SUMOVehicleParameter::repetitionNumber |
Definition at line 735 of file SUMOVehicleParameter.h.
Referenced by RONet::addFlow(), IntermodalNetwork< E, L, N, V >::addSchedule(), MSVehicleControl::addVehicle(), RONet::checkFlows(), MSBaseVehicle::checkRouteRemoval(), MSRouteHandler::closeFlow(), RORouteHandler::closeFlow(), RORouteHandler::closePersonFlow(), MSRouteHandler::closeRoute(), MSRouteHandler::closeTransportableFlow(), MSInsertionControl::determineCandidates(), GNEContainer::getAttribute(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), RORoutable::isPartOfFlow(), SUMORouteHandler::myEndElement(), ROJTRTurnDefLoader::myStartElement(), SUMOVehicleParserHelper::parseFlowAttributes(), GNEContainer::setAttribute(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNEContainer::writeDemandElement(), GNEPerson::writeDemandElement(), GNEVehicle::writeDemandElement(), and MSBaseVehicle::~MSBaseVehicle().
SUMOTime SUMOVehicleParameter::repetitionOffset |
The time offset between vehicle reinsertions.
Definition at line 741 of file SUMOVehicleParameter.h.
Referenced by MSInsertionControl::addFlow(), RONet::addFlow(), IntermodalNetwork< E, L, N, V >::addSchedule(), MSBaseVehicle::addStops(), GNEDemandElement::adjustDefaultFlowAttributes(), RORouteHandler::closePersonFlow(), MSRouteHandler::closeTransportableFlow(), GNECalibratorFlow::getAttribute(), GNEContainer::getAttribute(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), incrementFlow(), AdditionalHandler::parseCalibratorFlowAttributes(), SUMOVehicleParserHelper::parseFlowAttributes(), GNECalibratorFlow::setAttribute(), GNEContainer::setAttribute(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNEContainer::writeDemandElement(), GNEPerson::writeDemandElement(), and GNEVehicle::writeDemandElement().
double SUMOVehicleParameter::repetitionProbability |
The probability for emitting a vehicle per second.
Definition at line 747 of file SUMOVehicleParameter.h.
Referenced by MSInsertionControl::addFlow(), RONet::checkFlows(), MSRouteHandler::closeFlow(), RORouteHandler::closePersonFlow(), MSRouteHandler::closeTransportableFlow(), MSInsertionControl::determineCandidates(), GNEContainer::getAttribute(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), incrementFlow(), ROJTRTurnDefLoader::myStartElement(), SUMOVehicleParserHelper::parseFlowAttributes(), GNEContainer::setAttribute(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNEContainer::writeDemandElement(), GNEPerson::writeDemandElement(), and GNEVehicle::writeDemandElement().
int SUMOVehicleParameter::repetitionsDone |
The number of times the vehicle was already inserted.
Definition at line 738 of file SUMOVehicleParameter.h.
Referenced by MSInsertionControl::addFlow(), MSBaseVehicle::addStops(), RONet::checkFlows(), MSRouteHandler::closeFlow(), RORouteHandler::closeFlow(), MSInsertionControl::determineCandidates(), incrementFlow(), and MSStateHandler::myStartElement().
SUMOTime SUMOVehicleParameter::repetitionTotalOffset |
The offset between depart and the time for the next vehicle insertions.
Definition at line 744 of file SUMOVehicleParameter.h.
Referenced by RONet::checkFlows(), MSRouteHandler::closeFlow(), RORouteHandler::closeFlow(), RORouteHandler::closePersonFlow(), MSRouteHandler::closeTransportableFlow(), MSInsertionControl::determineCandidates(), incrementFlow(), and MSStateHandler::myStartElement().
std::string SUMOVehicleParameter::routeid |
The vehicle's route id.
Definition at line 650 of file SUMOVehicleParameter.h.
Referenced by GNEAdditionalHandler::buildCalibratorFlow(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildVehicleOverRoute(), GNEVehicleFrame::buildVehicleOverRoute(), RONet::checkFlows(), MSRouteHandler::closeFlow(), RORouteHandler::closeFlow(), MSRouteHandler::closeVehicle(), RORouteHandler::closeVehicle(), MSInsertionControl::determineCandidates(), METriggeredCalibrator::execute(), MSCalibrator::execute(), LIBSUMO_NAMESPACE::Calibrator::getRouteID(), SUMORouteHandler::myStartElement(), RORouteHandler::openRoute(), MSRouteHandler::openRouteDistribution(), RORouteHandler::openRouteDistribution(), SUMOVehicleParserHelper::parseCommonAttributes(), MSRouteHandler::parseFromViaTo(), RORouteHandler::parseFromViaTo(), LIBSUMO_NAMESPACE::Calibrator::setFlow(), MSCalibrator::setFlow(), CommonXMLStructure::SumoBaseObject::setVehicleParameter(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToVehicle(), and MSBaseVehicle::~MSBaseVehicle().
double SUMOVehicleParameter::speedFactor |
individual speedFactor (overriding distribution from vType)
Definition at line 776 of file SUMOVehicleParameter.h.
Referenced by SUMOVehicleParserHelper::parseCommonAttributes(), write(), and MSDevice_Vehroutes::writeOutput().
|
mutable |
List of the stops the vehicle will make, TraCI may add entries here.
Definition at line 764 of file SUMOVehicleParameter.h.
Referenced by MSBaseVehicle::abortNextStop(), IntermodalNetwork< E, L, N, V >::addSchedule(), MSRouteHandler::addStop(), RORouteHandler::addStop(), ROVehicle::addStop(), MSBaseVehicle::addStops(), MSBaseVehicle::addTraciStop(), MSRouteHandler::addVehicleStopsToImplicitRoute(), RONet::checkFlows(), MSRouteHandler::closeFlow(), MSRouteHandler::closeVehicle(), ROVehicle::collectJumps(), MSBaseVehicle::insertStop(), MSBaseVehicle::isLineStop(), MSBaseVehicle::replaceStop(), GUIVehicle::rerouteDRTStop(), ROVehicle::ROVehicle(), and ROVehicle::saveAsXML().
SumoXMLTag SUMOVehicleParameter::tag |
The vehicle tag.
Definition at line 644 of file SUMOVehicleParameter.h.
Referenced by GNERouteHandler::buildContainer(), GNERouteHandler::buildContainerFlow(), GNERouteHandler::buildEmbeddedRoute(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowJunctions(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowTAZs(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildTrip(), GNERouteHandler::buildTripJunctions(), GNERouteHandler::buildTripTAZs(), GNERouteHandler::buildVehicleOverRoute(), SUMOVehicleParserHelper::parseFlowAttributes(), SUMOVehicleParserHelper::parseVehicleAttributes(), GNERouteHandler::transformToContainer(), GNERouteHandler::transformToContainerFlow(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToPerson(), GNERouteHandler::transformToPersonFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), and GNERouteHandler::transformToVehicle().
std::string SUMOVehicleParameter::toTaz |
The vehicle's destination zone (district)
Definition at line 761 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), ROMARouteHandler::myEndElement(), ROMARouteHandler::myStartElement(), SUMOVehicleParserHelper::parseCommonAttributes(), MSBaseVehicle::reroute(), GNEVehicle::setAttribute(), and write().
|
mutable |
List of the via-edges the vehicle must visit.
Definition at line 767 of file SUMOVehicleParameter.h.
Referenced by GNERouteHandler::buildFlow(), GNERouteHandler::buildTrip(), GNEVehicle::computePathElement(), MSVehicle::enterLaneAtMove(), GNEVehicle::getAttribute(), GNEContainer::getHierarchyName(), GNEVehicle::getHierarchyName(), LIBSUMO_NAMESPACE::Vehicle::getVia(), MEVehicle::moveRoutePointer(), MSRouteHandler::parseFromViaTo(), RORouteHandler::parseFromViaTo(), MSBaseVehicle::reroute(), ROVehicle::ROVehicle(), ROVehicle::saveAsXML(), GNEVehicle::setAttribute(), LIBSUMO_NAMESPACE::Vehicle::setVia(), and GNEVehicle::writeDemandElement().
std::string SUMOVehicleParameter::vtypeid |
The vehicle's type id.
Definition at line 653 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), MSInsertionControl::addFlow(), MSRouteHandler::addTranship(), ROPerson::addTrip(), GNEAdditionalHandler::buildCalibratorFlow(), GNERouteHandler::buildContainer(), GNERouteHandler::buildContainerFlow(), GNERouteHandler::buildEmbeddedRoute(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowJunctions(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowTAZs(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildTrip(), GNERouteHandler::buildTripJunctions(), GNERouteHandler::buildTripTAZs(), GNERouteHandler::buildVehicleOverRoute(), RONet::checkFlows(), MSRouteHandler::checkTransportableType(), MSRouteHandler::closeFlow(), RORouteHandler::closeFlow(), RORouteHandler::closePerson(), RORouteHandler::closePersonFlow(), MSRouteHandler::closeTransportable(), MSRouteHandler::closeTransportableFlow(), MSRouteHandler::closeVehicle(), RORouteHandler::closeVehicle(), MSInsertionControl::determineCandidates(), METriggeredCalibrator::execute(), MSCalibrator::execute(), GNECalibratorFlow::getAttribute(), GNEVehicle::getAttribute(), LIBSUMO_NAMESPACE::Calibrator::getTypeID(), ROMARouteHandler::myEndElement(), MSCalibrator::myStartElement(), MSCalibrator::VehicleRemover::notifyEnter(), MSRouteHandler::openRoute(), RORouteHandler::openRoute(), SUMOVehicleParserHelper::parseCommonAttributes(), SUMOVehicleParserHelper::parseFlowAttributes(), RORouteHandler::parseGeoEdges(), SUMOVehicleParserHelper::parseVehicleAttributes(), METriggeredCalibrator::remainingVehicleCapacity(), MSCalibrator::remainingVehicleCapacity(), MSBaseVehicle::saveState(), GNECalibratorFlow::setAttribute(), GNEContainer::setAttribute(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), LIBSUMO_NAMESPACE::Calibrator::setFlow(), MSCalibrator::setFlow(), and write().