105 const bool removeLoops,
MsgHandler* errorHandler);
SUMOTime getDepartureTime() const
Returns the time the vehicle starts at, 0 for triggered vehicles.
SUMOVehicleParameter myParameter
The vehicle's parameter.
void saveAsXML(OutputDevice &os, OutputDevice *const typeos, bool asAlternatives, OptionsCont &options) const
Saves the complete vehicle description.
double getMax() const
Returns the maximum value of this distribution.
Structure representing possible vehicle parameter.
std::vector< const ROEdge * > ConstROEdgeVector
const ROEdge * getDepartEdge() const
Returns the first edge the vehicle takes.
ROVehicle(const SUMOVehicleParameter &pars, RORouteDef *route, const SUMOVTypeParameter *type, const RONet *net, MsgHandler *errorHandler=0)
Constructor.
RORouteDef *const myRoute
The route the vehicle takes.
void addStop(const SUMOVehicleParameter::Stop &stopPar, const RONet *net, MsgHandler *errorHandler)
Adds a stop to this vehicle.
A routable thing such as a vehicle or person.
A vehicle as used by router.
ROVehicle & operator=(const ROVehicle &src)
Invalidated assignment operator.
const SUMOVTypeParameter * getType() const
Returns the type of the vehicle.
SUMOTime depart
The vehicle's departure time.
A basic edge for routing applications.
The router's network representation.
Structure representing possible vehicle parameter.
double getChosenSpeedFactor() const
Returns an upper bound for the speed factor of this vehicle.
ConstROEdgeVector myStopEdges
The edges where the vehicle stops.
const ConstROEdgeVector & getStopEdges() const
Definition of vehicle stop (position and duration)
A storage for options typed value containers)
void computeRoute(const RORouterProvider &provider, const bool removeLoops, MsgHandler *errorHandler)
Base class for a vehicle's route definition.
Static storage of an output device and its base (abstract) implementation.
virtual ~ROVehicle()
Destructor.
RORouteDef * getRouteDefinition() const
Returns the definition of the route the vehicle takes.
const SUMOVehicleParameter & getParameter() const
Returns the definition of the vehicle parameter.
Distribution_Parameterized speedFactor
The factor by which the maximum speed may deviate from the allowed max speed on the street...