20 #ifndef GNERouteProbReroute_h 21 #define GNERouteProbReroute_h SumoXMLTag
Numbers representing SUMO-XML - element names.
std::string getNewRouteId() const
get new route id
GNERouteProbReroute(GNERerouterInterval &rerouterIntervalParent, std::string newRouteId, SUMOReal probability)
constructor
bool setProbability(SUMOReal probability)
set probability, if the new probability is valid
std::string myNewRouteId
id of new route
SumoXMLTag myTag
XML Tag of route probability reroute.
SUMOReal getProbability() const
get probability
SumoXMLTag getTag() const
get tag
~GNERouteProbReroute()
destructor
void setNewRouteId(std::string newRouteId)
set new route id
GNERerouterInterval * myRerouterIntervalParent
reference to rerouter interval parent
const GNERerouterInterval & getRerouterIntervalParent() const
get rerouter interval parent
A road/street connecting two junctions (netedit-version)
SUMOReal myProbability
probability with which a vehicle will use the given edge as destination
bool operator==(const GNERouteProbReroute &routeProbReroute)
overload == operator