Eclipse SUMO - Simulation of Urban MObility
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
MSTriggeredRerouter::RerouteInterval Struct Reference

#include <MSTriggeredRerouter.h>

Collaboration diagram for MSTriggeredRerouter::RerouteInterval:
[legend]

Data Fields

SUMOTime begin
 The begin time these definitions are valid.
 
std::map< MSEdge *, std::pair< SVCPermissions, double > > closed
 The map of closed edges to their permissions and expected end of closing.
 
std::map< MSLane *, SVCPermissionsclosedLanes
 The list of closed lanes to their permissions.
 
MSEdgeVector closedLanesAffected
 The list of edges that are affected by closed lanes.
 
RandomDistributor< MSEdge * > edgeProbs
 The distributions of new destinations or vias to use.
 
SUMOTime end
 The end time these definitions are valid.
 
long long int id
 unique ID for this interval
 
bool isVia = false
 The edge probs are vias and not destinations.
 
RandomDistributor< MSStoppingPlaceRerouter::StoppingPlaceVisibleparkProbs
 The distributions of new parking areas to use as destinations.
 
bool permissionsAllowAll = false
 The permissions are all SVCAll.
 
RandomDistributor< ConstMSRoutePtrrouteProbs
 The distributions of new routes to use.
 
overtakingReroute

The list of main edges (const and non-const for different usage)

MSEdgeVector main
 
ConstMSEdgeVector cMain
 
MSEdgeVector siding
 The list of siding edges.
 
ConstMSEdgeVector cSiding
 
MSRailSignalsidingExit = nullptr
 The rail signal at the end of the siding.
 
double sidingLength = 0
 The usable length of the siding.
 
double minSaving
 The threshold in savings for triggering reroute.
 

stationReroute

std::vector< MSStoppingPlaceRerouter::StoppingPlaceVisiblestopAlternatives
 
Prohibitions getClosed () const
 
MSEdgeVector getClosedEdges () const
 

Detailed Description

Describes the rerouting definitions valid for an interval

Definition at line 90 of file MSTriggeredRerouter.h.

Member Function Documentation

◆ getClosed()

Prohibitions MSTriggeredRerouter::RerouteInterval::getClosed ( ) const
inline

Definition at line 135 of file MSTriggeredRerouter.h.

References closed.

Referenced by GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUITriggeredRerouter::myEndElement(), MSTriggeredRerouter::rerouteParkingArea(), and MSTriggeredRerouter::triggerRouting().

Here is the caller graph for this function:

◆ getClosedEdges()

MSEdgeVector MSTriggeredRerouter::RerouteInterval::getClosedEdges ( ) const
inline

Definition at line 143 of file MSTriggeredRerouter.h.

References closed.

Referenced by MSTriggeredRerouter::triggerRouting().

Here is the caller graph for this function:

Field Documentation

◆ begin

SUMOTime MSTriggeredRerouter::RerouteInterval::begin

The begin time these definitions are valid.

Definition at line 94 of file MSTriggeredRerouter.h.

Referenced by GUIEdge::addRerouter(), MSTriggeredRerouter::myEndElement(), and MSTriggeredRerouter::myStartElement().

◆ closed

std::map<MSEdge*, std::pair<SVCPermissions, double> > MSTriggeredRerouter::RerouteInterval::closed

The map of closed edges to their permissions and expected end of closing.

Definition at line 98 of file MSTriggeredRerouter.h.

Referenced by getClosed(), getClosedEdges(), MSTriggeredRerouter::myEndElement(), MSTriggeredRerouter::myStartElement(), and MSTriggeredRerouter::triggerRouting().

◆ closedLanes

std::map<MSLane*, SVCPermissions> MSTriggeredRerouter::RerouteInterval::closedLanes

The list of closed lanes to their permissions.

Definition at line 100 of file MSTriggeredRerouter.h.

Referenced by MSTriggeredRerouter::myEndElement(), MSTriggeredRerouter::myStartElement(), and MSTriggeredRerouter::triggerRouting().

◆ closedLanesAffected

MSEdgeVector MSTriggeredRerouter::RerouteInterval::closedLanesAffected

The list of edges that are affected by closed lanes.

Definition at line 102 of file MSTriggeredRerouter.h.

Referenced by MSTriggeredRerouter::myEndElement().

◆ cMain

ConstMSEdgeVector MSTriggeredRerouter::RerouteInterval::cMain

◆ cSiding

ConstMSEdgeVector MSTriggeredRerouter::RerouteInterval::cSiding

◆ edgeProbs

RandomDistributor<MSEdge*> MSTriggeredRerouter::RerouteInterval::edgeProbs

The distributions of new destinations or vias to use.

Definition at line 104 of file MSTriggeredRerouter.h.

Referenced by GUIEdge::addRerouter(), MSTriggeredRerouter::myStartElement(), and MSTriggeredRerouter::triggerRouting().

◆ end

SUMOTime MSTriggeredRerouter::RerouteInterval::end

The end time these definitions are valid.

Definition at line 96 of file MSTriggeredRerouter.h.

Referenced by GUIEdge::addRerouter(), and MSTriggeredRerouter::myStartElement().

◆ id

long long int MSTriggeredRerouter::RerouteInterval::id

unique ID for this interval

Definition at line 92 of file MSTriggeredRerouter.h.

◆ isVia

bool MSTriggeredRerouter::RerouteInterval::isVia = false

The edge probs are vias and not destinations.

Definition at line 110 of file MSTriggeredRerouter.h.

Referenced by MSTriggeredRerouter::myStartElement(), and MSTriggeredRerouter::triggerRouting().

◆ main

MSEdgeVector MSTriggeredRerouter::RerouteInterval::main

◆ minSaving

double MSTriggeredRerouter::RerouteInterval::minSaving

The threshold in savings for triggering reroute.

Definition at line 127 of file MSTriggeredRerouter.h.

Referenced by MSTriggeredRerouter::myStartElement(), and MSTriggeredRerouter::overtakingTrain().

◆ parkProbs

◆ permissionsAllowAll

bool MSTriggeredRerouter::RerouteInterval::permissionsAllowAll = false

The permissions are all SVCAll.

Definition at line 112 of file MSTriggeredRerouter.h.

Referenced by MSTriggeredRerouter::myEndElement(), and MSTriggeredRerouter::triggerRouting().

◆ routeProbs

◆ siding

MSEdgeVector MSTriggeredRerouter::RerouteInterval::siding

The list of siding edges.

Definition at line 120 of file MSTriggeredRerouter.h.

Referenced by MSTriggeredRerouter::myStartElement(), and MSTriggeredRerouter::triggerRouting().

◆ sidingExit

MSRailSignal* MSTriggeredRerouter::RerouteInterval::sidingExit = nullptr

The rail signal at the end of the siding.

Definition at line 123 of file MSTriggeredRerouter.h.

Referenced by MSTriggeredRerouter::myStartElement(), and MSTriggeredRerouter::triggerRouting().

◆ sidingLength

double MSTriggeredRerouter::RerouteInterval::sidingLength = 0

The usable length of the siding.

Definition at line 125 of file MSTriggeredRerouter.h.

Referenced by MSTriggeredRerouter::myStartElement(), and MSTriggeredRerouter::triggerRouting().

◆ stopAlternatives

std::vector<MSStoppingPlaceRerouter::StoppingPlaceVisible> MSTriggeredRerouter::RerouteInterval::stopAlternatives

The documentation for this struct was generated from the following file: