SUMO - Simulation of Urban MObility
GNERerouter::rerouterInterval Class Reference

#include <GNERerouter.h>

Inheritance diagram for GNERerouter::rerouterInterval:
Inheritance graph
Collaboration diagram for GNERerouter::rerouterInterval:
Collaboration graph

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...
 

Detailed Description

Definition at line 163 of file GNERerouter.h.

Constructor & Destructor Documentation

§ rerouterInterval()

GNERerouter::rerouterInterval::rerouterInterval ( SUMOTime  begin,
SUMOTime  end 
)

constructor

Definition at line 229 of file GNERerouter.cpp.

§ ~rerouterInterval()

GNERerouter::rerouterInterval::~rerouterInterval ( )

destructor

Definition at line 234 of file GNERerouter.cpp.

Member Function Documentation

§ getBegin()

SUMOTime GNERerouter::rerouterInterval::getBegin ( ) const

get time begin

Definition at line 320 of file GNERerouter.cpp.

§ getClosingReroutes()

std::vector< GNERerouter::closingReroute * > GNERerouter::rerouterInterval::getClosingReroutes ( ) const

get closing reroutes

Definition at line 332 of file GNERerouter.cpp.

References myClosingReroutes.

§ getDestProbReroutes()

std::vector< GNERerouter::destProbReroute * > GNERerouter::rerouterInterval::getDestProbReroutes ( ) const

get destiny probability reroutes

Definition at line 338 of file GNERerouter.cpp.

References myDestProbReroutes.

§ getEnd()

SUMOTime GNERerouter::rerouterInterval::getEnd ( ) const

get time end

Definition at line 326 of file GNERerouter.cpp.

§ getRouteProbReroutes()

std::vector< GNERerouter::routeProbReroute * > GNERerouter::rerouterInterval::getRouteProbReroutes ( ) const

get reoute probability reroutes

Definition at line 344 of file GNERerouter.cpp.

References myRouteProbReroutes.

§ insertClosingReroutes()

void GNERerouter::rerouterInterval::insertClosingReroutes ( GNERerouter::closingReroute cr)

insert a new closing reroute

Exceptions
ProcessErrorif closing reroute was already inserted

Definition at line 239 of file GNERerouter.cpp.

References GNERerouter::closingReroute::getClosedEdgeId(), and myClosingReroutes.

§ insertDestProbReroutes()

void GNERerouter::rerouterInterval::insertDestProbReroutes ( GNERerouter::destProbReroute dpr)

insert destiny probability reroute

Exceptions
ProcessErrorif destiny probability reroute was already inserted

Definition at line 266 of file GNERerouter.cpp.

References GNERerouter::destProbReroute::getNewDestinationId(), and myDestProbReroutes.

§ insertRouteProbReroute()

void GNERerouter::rerouterInterval::insertRouteProbReroute ( GNERerouter::routeProbReroute rpr)

insert route probability reroute

Exceptions
ProcessErrorif route probability reroute was already inserted

Definition at line 293 of file GNERerouter.cpp.

References GNERerouter::routeProbReroute::getNewRouteId(), and myRouteProbReroutes.

§ removeClosingReroutes()

void GNERerouter::rerouterInterval::removeClosingReroutes ( GNERerouter::closingReroute cr)

remove a previously inserted closing reroute

Exceptions
ProcessErrorif closing reroute cannot be found in the container

Definition at line 252 of file GNERerouter.cpp.

References GNERerouter::closingReroute::getClosedEdgeId(), and myClosingReroutes.

§ removeDestProbReroutes()

void GNERerouter::rerouterInterval::removeDestProbReroutes ( GNERerouter::destProbReroute dpr)

remove a previously inserted destiny probability reroute

Exceptions
ProcessErrorif destiny probability reroute cannot be found in the container

Definition at line 279 of file GNERerouter.cpp.

References GNERerouter::destProbReroute::getNewDestinationId(), and myDestProbReroutes.

§ removeRouteProbReroute()

void GNERerouter::rerouterInterval::removeRouteProbReroute ( GNERerouter::routeProbReroute rpr)

remove a previously inserted route probability reroute

Exceptions
ProcessErrorif route probability reroute cannot be found in the container

Definition at line 306 of file GNERerouter.cpp.

References GNERerouter::routeProbReroute::getNewRouteId(), and myRouteProbReroutes.

Field Documentation

§ myClosingReroutes

std::vector<closingReroute*> GNERerouter::rerouterInterval::myClosingReroutes
private

vector with the closingReroutes

Definition at line 212 of file GNERerouter.h.

Referenced by getClosingReroutes(), insertClosingReroutes(), and removeClosingReroutes().

§ myDestProbReroutes

std::vector<destProbReroute*> GNERerouter::rerouterInterval::myDestProbReroutes
private

vector with the destProbReroutes

Definition at line 215 of file GNERerouter.h.

Referenced by getDestProbReroutes(), insertDestProbReroutes(), and removeDestProbReroutes().

§ myRouteProbReroutes

std::vector<routeProbReroute*> GNERerouter::rerouterInterval::myRouteProbReroutes
private

vector with the routeProbReroutes

Definition at line 218 of file GNERerouter.h.

Referenced by getRouteProbReroutes(), insertRouteProbReroute(), and removeRouteProbReroute().


The documentation for this class was generated from the following files: