35 #ifdef CHECK_MEMORY_LEAKS 44 myRerouterIntervalParent(&rerouterIntervalParent),
45 myNewEdgeDestination(newEdgeDestination),
77 if (probability >= 0 && probability <= 1) {
SumoXMLTag
Numbers representing SUMO-XML - element names.
SumoXMLTag myTag
XML Tag of destiny probability reroute.
GNEEdge * myNewEdgeDestination
id of new edge destination
SUMOReal myProbability
probability with which a vehicle will use the given edge as destination
GNERerouterInterval * myRerouterIntervalParent
reference to rerouter interval parent
bool operator==(const GNEDestProbReroute &destProbReroute)
overload operator ==
void setNewDestination(GNEEdge *edge)
set edge destination
SumoXMLTag getTag() const
get tag
GNEEdge * getNewDestination() const
get edge destination
probability of destiny of a reroute
~GNEDestProbReroute()
destructor
bool setProbability(SUMOReal probability)
set probability, if new probability is valid
A road/street connecting two junctions (netedit-version)
SUMOReal getProbability() const
get probability
const GNERerouterInterval & getRerouterIntervalParent() const
get rerouter interval parent
GNEDestProbReroute(GNERerouterInterval &rerouterIntervalParent, GNEEdge *newEdgeDestination, SUMOReal probability)
constructor