86 const bool removeLoops,
MsgHandler* errorHandler);
std::vector< const ROEdge * > ConstROEdgeVector
double getMax() const
Returns the maximum value of this distribution.
A storage for options typed value containers)
Static storage of an output device and its base (abstract) implementation.
A basic edge for routing applications.
The router's network representation.
A routable thing such as a vehicle or person.
const SUMOVTypeParameter * getType() const
Returns the type of the routable.
const SUMOVehicleParameter & getParameter() const
Returns the definition of the vehicle / person parameter.
Base class for a vehicle's route definition.
A vehicle as used by router.
ROVehicle & operator=(const ROVehicle &src)
Invalidated assignment operator.
double getChosenSpeedFactor() const
Returns an upper bound for the speed factor of this vehicle.
void collectJumps(const ConstROEdgeVector &mandatory, std::set< ConstROEdgeVector::const_iterator > &jumpStarts) const
collect mandatory-edge iterators that define jumps in the route
static std::map< ConstROEdgeVector, std::string > mySavedRoutes
map of all routes that were already saved with a name
SUMOTime getJumpTime() const
const ROEdge * getDepartEdge() const
Returns the first edge the vehicle takes.
SUMOTime getDepartureTime() const
Returns the time the vehicle starts at, 0 for triggered vehicles.
ConstROEdgeVector getMandatoryEdges(const ROEdge *requiredStart, const ROEdge *requiredEnd) const
compute mandatory edges
ROVehicle(const ROVehicle &src)
Invalidated copy constructor.
double getLength() const
Returns the vehicle's length.
RORouteDef * getRouteDefinition() const
Returns the definition of the route the vehicle takes.
void saveAsXML(OutputDevice &os, OutputDevice *const typeos, bool asAlternatives, OptionsCont &options, int cloneIndex=0) const
Saves the complete vehicle description.
ConstROEdgeVector myStopEdges
The edges where the vehicle stops.
const ConstROEdgeVector & getStopEdges() const
virtual ~ROVehicle()
Destructor.
SUMOTime myJumpTime
Whether this vehicle has any jumps defined.
void addStop(const SUMOVehicleParameter::Stop &stopPar, const RONet *net, MsgHandler *errorHandler)
Adds a stop to this vehicle.
void computeRoute(const RORouterProvider &provider, const bool removeLoops, MsgHandler *errorHandler)
const SUMOVTypeParameter & getVehicleType() const
Returns the vehicle's type definition.
RORouteDef *const myRoute
The route the vehicle takes.
Structure representing possible vehicle parameter.
double length
The physical vehicle length.
Distribution_Parameterized speedFactor
The factor by which the maximum speed may deviate from the allowed max speed on the street.
Definition of vehicle stop (position and duration)
Structure representing possible vehicle parameter.