19 #ifndef SUMOVTypeParameter_h 20 #define SUMOVTypeParameter_h std::string osgFile
3D model file for this class
const int VTYPEPARS_MAXSPEED_SET
const int VTYPEPARS_MINGAP_SET
const SubParams & getLCParams() const
Returns the LC parameter.
SumoXMLTag
Numbers representing SUMO-XML - element names.
SumoXMLTag cfModel
The enum-representation of the car-following model to use.
const int VTYPEPARS_LATALIGNMENT_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.
double impatience
The vehicle's impatience (willingness to obstruct others)
const int VTYPEPARS_HASDRIVERSTATE_SET
virtual ~SUMOVTypeParameter()
virtual destructor
std::map< SumoXMLAttr, std::string > SubParams
sub-model parameters
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types...
double carriageLength
the length of train carriages and locomotive
SUMOVehicleShape shape
This class' shape.
double maxSpeed
The vehicle type's maximum speed [m/s].
Structure representing possible vehicle parameter.
const int VTYPEPARS_MINGAP_LAT_SET
bool saved
Information whether this type was already saved (needed by routers)
SUMOVTypeParameter(const std::string &vtid, const SUMOVehicleClass vc=SVC_IGNORING)
Constructor.
double defaultProbability
The probability when being added to a distribution without an explicit probability.
const int VTYPEPARS_DEFAULT_EMERGENCYDECEL_DECEL
int containerCapacity
The container capacity of the vehicle.
double width
This class' width.
const int VTYPEPARS_BOARDING_DURATION
SUMOVehicleClass vehicleClass
The vehicle's class.
const int VTYPEPARS_LOCOMOTIVE_LENGTH_SET
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
const int VTYPEPARS_CAR_FOLLOW_MODEL
const int VTYPEPARS_OSGFILE_SET
const int VTYPEPARS_MAXSPEED_LAT_SET
const int VTYPEPARS_PROBABILITY_SET
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.
LateralAlignment
Numbers representing special SUMO-XML-attribute values Information how vehicles align themselves with...
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 ...
double height
This class' height.
const int VTYPEPARS_LANE_CHANGE_MODEL_SET
int personCapacity
The person capacity of the vehicle.
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 getLCParam(const SumoXMLAttr attr, const double defaultValue) const
Returns the named value from the map, or the default if it is not contained there.
SUMOVehicleShape shape
This class' shape.
bool wasSet(int what) const
Returns whether the given parameter was set.
double maxSpeed
The vehicle type's maximum speed [m/s].
double width
This class' width.
SUMOTime boardingDuration
The time a person needs to board the vehicle.
const int VTYPEPARS_ACTIONSTEPLENGTH_SET
std::string osgFile
3D model file for this class
double locomotiveLength
the length of train locomotive
struct for default values that depend of VClass
std::string imgFile
Image file for this class.
double length
The physical vehicle length.
const int VTYPEPARS_CARRIAGE_GAP_SET
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_LOADING_DURATION
double carriageLength
the length of train carriages
const int VTYPEPARS_CONTAINER_CAPACITY
An upper class for objects with additional parameters.
bool onlyReferenced
Information whether this is a type-stub, being only referenced but not defined (needed by routers) ...
const int VTYPEPARS_SPEEDFACTOR_SET
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.
int parametersSet
Information for the router which parameter were set.
double height
This class' height.
int personCapacity
The person capacity of the vehicle.
bool hasDriverState
Whether vehicles of this type are equipped with a driver (i.e. MSDriverState))
double minGapLat
The vehicle type's minimum lateral gap [m].
void write(OutputDevice &dev) const
Writes the vtype.
int containerCapacity
The container capacity of the vehicle.
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.
Distribution_Parameterized speedFactor
The factor by which the maximum speed may deviate from the allowed max speed on the street...
SUMOVehicleShape
Definition of vehicle classes to differ between different appearences.
VClassDefaultValues()
default constructor
SubParams jmParameter
Junction-model parameter.
const int VTYPEPARS_IMGFILE_SET
SubParams cfParameter
Car-following parameter.
SUMOTime loadingDuration
The time a container needs to get loaded on the vehicle.
A storage for options typed value containers)
std::string id
The vehicle type's id.
const int VTYPEPARS_DEFAULT_EMERGENCYDECEL_DEFAULT
SUMOEmissionClass emissionClass
The emission class of this vehicle.
const int VTYPEPARS_PERSON_CAPACITY
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.
SUMOTime actionStepLength
The vehicle type's default actionStepLength [ms], i.e. the interval between two control actions...
double minGap
This class' free space in front of the vehicle itself.
const int VTYPEPARS_HEIGHT_SET
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.
Static storage of an output device and its base (abstract) implementation.
const int VTYPEPARS_WIDTH_SET
LaneChangeModel lcModel
The lane-change model to use.
static const SUMOVTypeParameter & getDefault()
return the default parameters, this is a function due to the http://www.parashift.com/c++-faq/static-init-order.html
const int VTYPEPARS_LENGTH_SET
const int VTYPEPARS_VEHICLECLASS_SET
const int VTYPEPARS_EMISSIONCLASS_SET
const int VTYPEPARS_COLOR_SET
Distribution_Parameterized speedFactor
The factor by which the maximum speed may deviate from the allowed max speed on the street...
const int VTYPEPARS_SHAPE_SET
double length
The physical vehicle length.
SubParams lcParameter
Lane-changing parameter.
SUMOEmissionClass emissionClass
The emission class of this vehicle.
vehicles ignoring classes
double minGap
This class' free space in front of the vehicle itself.
const int VTYPEPARS_IMPATIENCE_SET
const int VTYPEPARS_CARRIAGE_LENGTH_SET