![]() |
SUMO - Simulation of Urban MObility
|
#include <GNERerouter.h>
Public Member Functions | |
SUMOTime | getBegin () const |
get time begin More... | |
std::vector< closingReroute * > | getClosingReroutes () const |
get closing reroutes More... | |
std::vector< destProbReroute * > | getDestProbReroutes () const |
get destiny probability reroutes More... | |
SUMOTime | getEnd () const |
get time end More... | |
std::vector< routeProbReroute * > | getRouteProbReroutes () const |
get reoute probability reroutes More... | |
void | insertClosingReroutes (closingReroute *cr) |
insert a new closing reroute More... | |
void | insertDestProbReroutes (destProbReroute *dpr) |
insert destiny probability reroute More... | |
void | insertRouteProbReroute (routeProbReroute *rpr) |
insert route probability reroute More... | |
void | removeClosingReroutes (closingReroute *cr) |
remove a previously inserted closing reroute More... | |
void | removeDestProbReroutes (destProbReroute *dpr) |
remove a previously inserted destiny probability reroute More... | |
void | removeRouteProbReroute (routeProbReroute *rpr) |
remove a previously inserted route probability reroute More... | |
rerouterInterval (SUMOTime begin, SUMOTime end) | |
constructor More... | |
~rerouterInterval () | |
destructor More... | |
Private Attributes | |
std::vector< closingReroute * > | myClosingReroutes |
vector with the closingReroutes More... | |
std::vector< destProbReroute * > | myDestProbReroutes |
vector with the destProbReroutes More... | |
std::vector< routeProbReroute * > | myRouteProbReroutes |
vector with the routeProbReroutes More... | |
Definition at line 163 of file GNERerouter.h.
constructor
Definition at line 229 of file GNERerouter.cpp.
GNERerouter::rerouterInterval::~rerouterInterval | ( | ) |
destructor
Definition at line 234 of file GNERerouter.cpp.
SUMOTime GNERerouter::rerouterInterval::getBegin | ( | ) | const |
get time begin
Definition at line 320 of file GNERerouter.cpp.
std::vector< GNERerouter::closingReroute * > GNERerouter::rerouterInterval::getClosingReroutes | ( | ) | const |
std::vector< GNERerouter::destProbReroute * > GNERerouter::rerouterInterval::getDestProbReroutes | ( | ) | const |
get destiny probability reroutes
Definition at line 338 of file GNERerouter.cpp.
References myDestProbReroutes.
SUMOTime GNERerouter::rerouterInterval::getEnd | ( | ) | const |
get time end
Definition at line 326 of file GNERerouter.cpp.
std::vector< GNERerouter::routeProbReroute * > GNERerouter::rerouterInterval::getRouteProbReroutes | ( | ) | const |
get reoute probability reroutes
Definition at line 344 of file GNERerouter.cpp.
References myRouteProbReroutes.
void GNERerouter::rerouterInterval::insertClosingReroutes | ( | GNERerouter::closingReroute * | cr | ) |
insert a new closing reroute
ProcessError | if closing reroute was already inserted |
Definition at line 239 of file GNERerouter.cpp.
References GNERerouter::closingReroute::getClosedEdgeId(), and myClosingReroutes.
void GNERerouter::rerouterInterval::insertDestProbReroutes | ( | GNERerouter::destProbReroute * | dpr | ) |
insert destiny probability reroute
ProcessError | if destiny probability reroute was already inserted |
Definition at line 266 of file GNERerouter.cpp.
References GNERerouter::destProbReroute::getNewDestinationId(), and myDestProbReroutes.
void GNERerouter::rerouterInterval::insertRouteProbReroute | ( | GNERerouter::routeProbReroute * | rpr | ) |
insert route probability reroute
ProcessError | if route probability reroute was already inserted |
Definition at line 293 of file GNERerouter.cpp.
References GNERerouter::routeProbReroute::getNewRouteId(), and myRouteProbReroutes.
void GNERerouter::rerouterInterval::removeClosingReroutes | ( | GNERerouter::closingReroute * | cr | ) |
remove a previously inserted closing reroute
ProcessError | if closing reroute cannot be found in the container |
Definition at line 252 of file GNERerouter.cpp.
References GNERerouter::closingReroute::getClosedEdgeId(), and myClosingReroutes.
void GNERerouter::rerouterInterval::removeDestProbReroutes | ( | GNERerouter::destProbReroute * | dpr | ) |
remove a previously inserted destiny probability reroute
ProcessError | if destiny probability reroute cannot be found in the container |
Definition at line 279 of file GNERerouter.cpp.
References GNERerouter::destProbReroute::getNewDestinationId(), and myDestProbReroutes.
void GNERerouter::rerouterInterval::removeRouteProbReroute | ( | GNERerouter::routeProbReroute * | rpr | ) |
remove a previously inserted route probability reroute
ProcessError | if route probability reroute cannot be found in the container |
Definition at line 306 of file GNERerouter.cpp.
References GNERerouter::routeProbReroute::getNewRouteId(), and myRouteProbReroutes.
|
private |
vector with the closingReroutes
Definition at line 212 of file GNERerouter.h.
Referenced by getClosingReroutes(), insertClosingReroutes(), and removeClosingReroutes().
|
private |
vector with the destProbReroutes
Definition at line 215 of file GNERerouter.h.
Referenced by getDestProbReroutes(), insertDestProbReroutes(), and removeDestProbReroutes().
|
private |
vector with the routeProbReroutes
Definition at line 218 of file GNERerouter.h.
Referenced by getRouteProbReroutes(), insertRouteProbReroute(), and removeRouteProbReroute().