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 SUMOVehicleParameter & getParameter() const
Returns the definition of the vehicle / person parameter.
const SUMOVTypeParameter * getType() const
Returns the type of the routable.
Base class for a vehicle's route definition.
A vehicle as used by router.
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
const ConstROEdgeVector & getStopEdges() const
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.
RORouteDef * getRouteDefinition() const
Returns the definition of the route 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.
void saveAsXML(OutputDevice &os, OutputDevice *const typeos, bool asAlternatives, OptionsCont &options) const
Saves the complete vehicle description.
double getLength() const
Returns the vehicle's length.
ConstROEdgeVector myStopEdges
The edges where the vehicle stops.
ROVehicle(const SUMOVehicleParameter &pars, RORouteDef *route, const SUMOVTypeParameter *type, const RONet *net, MsgHandler *errorHandler=0)
Constructor.
virtual ~ROVehicle()
Destructor.
ROVehicle & operator=(const ROVehicle &src)
Invalidated assignment operator.
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)
RORouteDef *const myRoute
The route the vehicle takes.
const SUMOVTypeParameter & getVehicleType() const
Returns the vehicle's type definition.
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.