 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
18 #ifndef SUMOVTypeParameter_h
19 #define SUMOVTypeParameter_h
const int VTYPEPARS_LATALIGNMENT_SET
std::map< SumoXMLAttr, std::string > SubParams
sub-model parameters
void cacheParamRestrictions(const std::vector< std::string > &restrictionKeys)
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types.
SubParams lcParameter
Lane-changing parameter.
double carriageLength
the length of train carriages
const int VTYPEPARS_CARRIAGE_LENGTH_SET
SUMOTime getExitManoeuvreTime(const int angle) const
Returns the time that will be needed for the vehicle type to execute the (exit) manoeuvre (and be blo...
SUMOVTypeParameter(const std::string &vtid, const SUMOVehicleClass vc=SVC_IGNORING)
Constructor.
double length
The physical vehicle length.
const int VTYPEPARS_MINGAP_SET
An upper class for objects with additional parameters.
Static storage of an output device and its base (abstract) implementation.
SUMOTime actionStepLength
The vehicle type's default actionStepLength [ms], i.e. the interval between two control actions....
SUMOEmissionClass emissionClass
The emission class of this vehicle.
LateralAlignment
Numbers representing special SUMO-XML-attribute values Information how vehicles align themselves with...
SumoXMLTag cfModel
The enum-representation of the car-following model to use.
const int VTYPEPARS_BOARDING_DURATION
double impatience
The vehicle's impatience (willingness to obstruct others)
virtual ~SUMOVTypeParameter()
virtual destructor
std::string osgFile
3D model file for this class
const int VTYPEPARS_MINGAP_LAT_SET
bool saved
Information whether this type was already saved (needed by routers)
const int VTYPEPARS_OSGFILE_SET
double carriageLength
the length of train carriages and locomotive
const int VTYPEPARS_DEFAULT_EMERGENCYDECEL_DECEL
std::map< int, std::pair< SUMOTime, SUMOTime > > myManoeuverAngleTimes
Map of manoeuver angles versus the times (entry, exit) to execute the manoeuver.
SUMOVehicleShape shape
This class' shape.
const int VTYPEPARS_PROBABILITY_SET
static double getDefaultImperfection(const SUMOVehicleClass vc=SVC_IGNORING)
Returns the default driver's imperfection (sigma or epsilon in Krauss' model) for the given vehicle c...
double length
The physical vehicle length.
const int VTYPEPARS_LOCOMOTIVE_LENGTH_SET
int containerCapacity
The container capacity of the vehicle.
SumoXMLTag
Numbers representing SUMO-XML - element names.
const SubParams & getLCParams() const
Returns the LC parameter.
const int VTYPEPARS_CAR_FOLLOW_MODEL
bool onlyReferenced
Information whether this is a type-stub, being only referenced but not defined (needed by routers)
bool wasSet(int what) const
Returns whether the given parameter was set.
int parametersSet
Information for the router which parameter were set.
const int VTYPEPARS_MAXSPEED_LAT_SET
const int VTYPEPARS_LANE_CHANGE_MODEL_SET
std::string imgFile
Image file for this class.
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.
int containerCapacity
The container capacity of the vehicle.
double height
This class' height.
Structure representing possible vehicle parameter.
SubParams jmParameter
Junction-model parameter.
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 ...
SUMOVehicleShape
Definition of vehicle classes to differ between different appearences.
SubParams cfParameter
Car-following parameter.
double defaultProbability
The probability when being added to a distribution without an explicit probability.
double maxSpeed
The vehicle type's maximum speed [m/s].
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 ...
const int VTYPEPARS_ACTIONSTEPLENGTH_SET
std::vector< double > paramRestrictions
cached value of parameters which may restrict access to certain edges
double width
This class' width.
const int VTYPEPARS_CARRIAGE_GAP_SET
SUMOTime boardingDuration
The time a person needs to board the vehicle.
double minGap
This class' free space in front of the vehicle itself.
double minGap
This class' free space in front of the vehicle itself.
std::string getJMParamString(const SumoXMLAttr attr, const std::string defaultValue) const
Returns the named value from the map, or the default if it is not contained there.
double width
This class' width.
A storage for options typed value containers)
double maxSpeedLat
The vehicle type's maximum lateral speed [m/s].
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.
double maxSpeed
The vehicle type's maximum speed [m/s].
SUMOTime getEntryManoeuvreTime(const int angle) const
Returns the time that will be needed for the vehicle type to execute the (entry) manoeuvre (and be bl...
int personCapacity
The person capacity of the vehicle.
SUMOVehicleShape shape
This class' shape.
const int VTYPEPARS_SPEEDFACTOR_SET
void write(OutputDevice &dev) const
Writes the vtype.
Distribution_Parameterized speedFactor
The factor by which the maximum speed may deviate from the allowed max speed on the street.
std::string osgFile
3D model file for this class
const int VTYPEPARS_LOADING_DURATION
double locomotiveLength
the length of train locomotive
const int VTYPEPARS_CONTAINER_CAPACITY
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.
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 be...
LateralAlignment latAlignment
The vehicles desired lateral alignment.
std::string id
The vehicle type's id.
struct for default values that depend of VClass
const int VTYPEPARS_DEFAULT_EMERGENCYDECEL_DEFAULT
const int VTYPEPARS_PERSON_CAPACITY
const int VTYPEPARS_HEIGHT_SET
int personCapacity
The person capacity of the vehicle.
LaneChangeModel lcModel
The lane-change model to use.
const int VTYPEPARS_IMGFILE_SET
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.
void setManoeuverAngleTimes(const SUMOVehicleClass vclass)
Initialise the default mapping between manoeuver angle and times dependant on vehicle class.
SUMOTime loadingDuration
The time a container needs to get loaded on the vehicle.
const int VTYPEPARS_LENGTH_SET
const int VTYPEPARS_MANEUVER_ANGLE_TIMES_SET
SUMOEmissionClass emissionClass
The emission class of this vehicle.
const int VTYPEPARS_EMISSIONCLASS_SET
const int VTYPEPARS_COLOR_SET
const int VTYPEPARS_SHAPE_SET
double height
This class' height.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
@ SVC_IGNORING
vehicles ignoring classes
const int VTYPEPARS_WIDTH_SET
SUMOVehicleClass vehicleClass
The vehicle's class.
const int VTYPEPARS_IMPATIENCE_SET
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.
Distribution_Parameterized speedFactor
The factor by which the maximum speed may deviate from the allowed max speed on the street.
const int VTYPEPARS_MAXSPEED_SET
const int VTYPEPARS_VEHICLECLASS_SET
static const SUMOVTypeParameter & getDefault()
return the default parameters, this is a function due to the http://www.parashift....
double minGapLat
The vehicle type's minimum lateral gap [m].
std::string getManoeuverAngleTimesS() const
Returns myManoeuverAngleTimes as a string for xml output.
VClassDefaultValues()
default constructor