89 const bool removeLoops,
MsgHandler* errorHandler);
Structure representing possible vehicle parameter.
const SUMOVehicleParameter & getParameter() const
Returns the definition of the vehicle / person parameter.
std::vector< const ROEdge * > ConstROEdgeVector
ROVehicle(const SUMOVehicleParameter &pars, RORouteDef *route, const SUMOVTypeParameter *type, const RONet *net, MsgHandler *errorHandler=0)
Constructor.
RORouteDef *const myRoute
The route the vehicle takes.
double getMax() const
Returns the maximum value of this distribution.
double getChosenSpeedFactor() const
Returns an upper bound for the speed factor of this vehicle.
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.
const ROEdge * getDepartEdge() const
Returns the first edge the vehicle takes.
A vehicle as used by router.
ROVehicle & operator=(const ROVehicle &src)
Invalidated assignment operator.
ConstROEdgeVector getMandatoryEdges(const ROEdge *requiredStart, const ROEdge *requiredEnd) const
compute mandatory edges
const ConstROEdgeVector & getStopEdges() const
SUMOTime getDepartureTime() const
Returns the time the vehicle starts at, 0 for triggered vehicles.
A basic edge for routing applications.
RORouteDef * getRouteDefinition() const
Returns the definition of the route the vehicle takes.
The router's network representation.
Structure representing possible vehicle parameter.
const SUMOVTypeParameter * getType() const
Returns the type of the routable.
ConstROEdgeVector myStopEdges
The edges where the vehicle stops.
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.
Distribution_Parameterized speedFactor
The factor by which the maximum speed may deviate from the allowed max speed on the street...
void saveAsXML(OutputDevice &os, OutputDevice *const typeos, bool asAlternatives, OptionsCont &options) const
Saves the complete vehicle description.