86 const bool removeLoops,
MsgHandler* errorHandler);
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.
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.
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.
virtual ~ROVehicle()
Destructor.
SUMOTime myJumpTime
Whether this vehicle has any jumps defined.
std::vector< Mandatory > getMandatoryEdges(const ROEdge *requiredStart, const ROEdge *requiredEnd) const
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 & getVTypeParameter() 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.
Definition of vehicle stop (position and duration)
Structure representing possible vehicle parameter.
information for mandatory edges
Mandatory(const ROEdge *e, double p, SUMOTime jump=-1)