 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
55 bool acceptAllDestinations,
int maxEdges,
bool ignoreClasses,
~ROJTRRouter()
Destructor.
The router's network representation.
A vehicle as used by router.
bool compute(const ROEdge *from, const ROEdge *to, const ROVehicle *const vehicle, SUMOTime time, ConstROEdgeVector &into, bool silent=false)
Computes a route.
virtual SUMOAbstractRouter< ROEdge, ROVehicle > * clone()
An edge the jtr-router may route through.
ROJTRRouter(bool unbuildIsWarningOnly, bool acceptAllDestinations, int maxEdges, bool ignoreClasses, bool allowLoops)
Constructor.
const int myMaxEdges
The maximum number of edges a route may have.
const bool myIgnoreClasses
Whether vehicle class information shall be ignored.
A basic edge for routing applications.
const bool myAllowLoops
Whether a vehicle may reuse a road.
const bool myUnbuildIsWarningOnly
Whether unbuildable routes shall be reported as warniings, not errors.
double recomputeCosts(const ConstROEdgeVector &edges, const ROVehicle *const v, SUMOTime msTime) const
Recomputes the costs of a route.
Computes routes using junction turning percentages.
const bool myAcceptAllDestination
Whether all edges may be used as route end.
std::vector< const ROEdge * > ConstROEdgeVector