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