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