57 ROJTREdge(
const std::string&
id,
RONode* from,
RONode* to,
int index,
const int priority,
const std::string& type,
const std::string& routingType);
85 double begTime,
double endTime,
double probability);
const std::string invalid_return< std::string >::value
ROEdge(const std::string &id, RONode *from, RONode *to, int index, const int priority, const std::string &type, const std::string &routingType)
Constructor.
std::map< ROJTREdge *, ValueTimeLine< double > *, ComparatorIdLess > FollowerUsageCont
Definition of a map that stores the probabilities of using a certain follower over time.
void addFollowerProbability(ROJTREdge *follower, double begTime, double endTime, double probability)
adds the information about the percentage of using a certain follower
void setTurnDefaults(const std::vector< double > &defs)
Sets the turning definition defaults.
ROJTREdge(const std::string &id, RONode *from, RONode *to, int index, const int priority, const std::string &type, const std::string &routingType)
Constructor.
long long int mySourceFlows
the flows departing from this edge in the given time
ROJTREdge * chooseNext(const ROVehicle *const veh, double time, const std::set< const ROEdge * > &avoid) const
Returns the next edge to use.
FollowerUsageCont myFollowingDefs
Storage for the probabilities of using a certain follower over time.
ROJTREdge(const ROJTREdge &src)
invalidated copy constructor
void changeSourceFlow(long long int value)
register flow on this edge
void addSuccessor(ROEdge *s, ROEdge *via=nullptr, std::string dir="")
Adds information about a connected edge.
long long int getSourceFlow() const
register source flow on this edge
ROJTREdge & operator=(const ROJTREdge &src)
invalidated assignment operator
std::vector< double > myParsedTurnings
The defaults for turnings.
A single lane the router may use.
Base class for nodes used by the router.
A vehicle as used by router.
Function-object for stable sorting of objects acting like Named without being derived (SUMOVehicle).