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