20 #ifndef GNEDestProbReroute_h 21 #define GNEDestProbReroute_h 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
~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