![]() |
SUMO - Simulation of Urban MObility
|
#include <GNERouteProbReroute.h>

Public Member Functions | |
| std::string | getNewRouteId () const |
| get new route id More... | |
| double | getProbability () const |
| get probability More... | |
| const GNERerouterInterval & | getRerouterIntervalParent () const |
| get rerouter interval parent More... | |
| SumoXMLTag | getTag () const |
| get tag More... | |
| GNERouteProbReroute (GNERerouterInterval &rerouterIntervalParent, std::string newRouteId, double probability) | |
| constructor More... | |
| bool | operator== (const GNERouteProbReroute &routeProbReroute) const |
| overload == operator More... | |
| void | setNewRouteId (std::string newRouteId) |
| set new route id More... | |
| bool | setProbability (double probability) |
| set probability, if the new probability is valid More... | |
| ~GNERouteProbReroute () | |
| destructor More... | |
Protected Attributes | |
| std::string | myNewRouteId |
| id of new route More... | |
| double | myProbability |
| probability with which a vehicle will use the given edge as destination More... | |
| GNERerouterInterval * | myRerouterIntervalParent |
| reference to rerouter interval parent More... | |
| SumoXMLTag | myTag |
| XML Tag of route probability reroute. More... | |
Definition at line 52 of file GNERouteProbReroute.h.
| GNERouteProbReroute::GNERouteProbReroute | ( | GNERerouterInterval & | rerouterIntervalParent, |
| std::string | newRouteId, | ||
| double | probability | ||
| ) |
| GNERouteProbReroute::~GNERouteProbReroute | ( | ) |
destructor
Definition at line 50 of file GNERouteProbReroute.cpp.
| std::string GNERouteProbReroute::getNewRouteId | ( | ) | const |
get new route id
Definition at line 55 of file GNERouteProbReroute.cpp.
References myNewRouteId.
Referenced by GNERerouterInterval::insertRouteProbReroute(), and GNERerouterInterval::removeRouteProbReroute().
| double GNERouteProbReroute::getProbability | ( | ) | const |
| const GNERerouterInterval & GNERouteProbReroute::getRerouterIntervalParent | ( | ) | const |
get rerouter interval parent
Definition at line 90 of file GNERouteProbReroute.cpp.
References myRerouterIntervalParent.
| SumoXMLTag GNERouteProbReroute::getTag | ( | ) | const |
get tag
Definition at line 84 of file GNERouteProbReroute.cpp.
References myTag.
Referenced by GNERerouterInterval::insertRouteProbReroute(), and GNERerouterInterval::removeRouteProbReroute().
| bool GNERouteProbReroute::operator== | ( | const GNERouteProbReroute & | routeProbReroute | ) | const |
overload == operator
Definition at line 96 of file GNERouteProbReroute.cpp.
References myNewRouteId, myProbability, and myRerouterIntervalParent.
| void GNERouteProbReroute::setNewRouteId | ( | std::string | newRouteId | ) |
| bool GNERouteProbReroute::setProbability | ( | double | probability | ) |
set probability, if the new probability is valid
Definition at line 73 of file GNERouteProbReroute.cpp.
References myProbability.
Referenced by GNERouteProbReroute().
|
protected |
id of new route
Definition at line 87 of file GNERouteProbReroute.h.
Referenced by getNewRouteId(), operator==(), and setNewRouteId().
|
protected |
probability with which a vehicle will use the given edge as destination
Definition at line 90 of file GNERouteProbReroute.h.
Referenced by getProbability(), operator==(), and setProbability().
|
protected |
reference to rerouter interval parent
Definition at line 83 of file GNERouteProbReroute.h.
Referenced by getRerouterIntervalParent(), and operator==().
|
protected |
XML Tag of route probability reroute.
Definition at line 93 of file GNERouteProbReroute.h.
Referenced by getTag().