FollowerUsageCont myFollowingDefs
Storage for the probabilities of using a certain follower over time.
A single lane the router may use.
void setTurnDefaults(const std::vector< SUMOReal > &defs)
Sets the turning definition defaults.
ROJTREdge & operator=(const ROJTREdge &src)
invalidated assignment operator
std::vector< SUMOReal > myParsedTurnings
The defaults for turnings.
A vehicle as used by router.
An edge the jtr-router may route through.
void addSuccessor(ROEdge *s, std::string dir="")
Adds information about a connected edge.
A basic edge for routing applications.
std::map< ROJTREdge *, ValueTimeLine< SUMOReal > *, Named::ComparatorIdLess > FollowerUsageCont
Definition of a map that stores the probabilities of using a certain follower over time...
ROJTREdge(const std::string &id, RONode *from, RONode *to, int index, const int priority)
Constructor.
Base class for nodes used by the router.
void addFollowerProbability(ROJTREdge *follower, SUMOReal begTime, SUMOReal endTime, SUMOReal probability)
adds the information about the percentage of using a certain follower
Function-object for stable sorting in containers.
ROJTREdge * chooseNext(const ROVehicle *const veh, SUMOReal time, const std::set< const ROEdge *> &avoid) const
Returns the next edge to use.