Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
MSBaseVehicle::StopEdgeInfo Struct Reference

#include <MSBaseVehicle.h>

Inheritance diagram for MSBaseVehicle::StopEdgeInfo:
[legend]
Collaboration diagram for MSBaseVehicle::StopEdgeInfo:
[legend]

Public Member Functions

bool operator!= (const StopEdgeInfo &o) const
 
bool operator== (const StopEdgeInfo &o) const
 
 StopEdgeInfo (const MSEdge *_edge, double _priority, SUMOTime _arrival, double _pos, bool _isSink=false)
 

Data Fields

SUMOTime arrival
 
bool backtracked = false
 
SUMOTime delay = 0
 
const MSEdgeedge
 
bool isSink
 
std::pair< std::string, SumoXMLTagnameTag
 optional info about stopping place
 
const MSEdgeorigEdge = nullptr
 set when replacing stop with an alternative
 
double pos
 
double priority
 
int routeIndex = -1
 values set during routing and used during optimization
 
bool skipped = false
 
const SUMOVehicleParameter::StopstopPar = nullptr
 

Detailed Description

Definition at line 1053 of file MSBaseVehicle.h.

Constructor & Destructor Documentation

◆ StopEdgeInfo()

MSBaseVehicle::StopEdgeInfo::StopEdgeInfo ( const MSEdge _edge,
double  _priority,
SUMOTime  _arrival,
double  _pos,
bool  _isSink = false 
)
inline

Definition at line 1055 of file MSBaseVehicle.h.

Member Function Documentation

◆ operator!=()

bool MSBaseVehicle::StopEdgeInfo::operator!= ( const StopEdgeInfo o) const
inline

Definition at line 1080 of file MSBaseVehicle.h.

◆ operator==()

bool MSBaseVehicle::StopEdgeInfo::operator== ( const StopEdgeInfo o) const
inline

Definition at line 1077 of file MSBaseVehicle.h.

References edge.

Field Documentation

◆ arrival

SUMOTime MSBaseVehicle::StopEdgeInfo::arrival

Definition at line 1064 of file MSBaseVehicle.h.

Referenced by MSStopOptimizer::StopPathNode::getSuccessor().

◆ backtracked

bool MSBaseVehicle::StopEdgeInfo::backtracked = false

Definition at line 1070 of file MSBaseVehicle.h.

◆ delay

SUMOTime MSBaseVehicle::StopEdgeInfo::delay = 0

Definition at line 1071 of file MSBaseVehicle.h.

Referenced by MSStopOptimizer::StopPathNode::StopPathNode().

◆ edge

const MSEdge* MSBaseVehicle::StopEdgeInfo::edge

Definition at line 1061 of file MSBaseVehicle.h.

Referenced by MSStopOptimizer::StopPathNode::getSuccessor(), and operator==().

◆ isSink

bool MSBaseVehicle::StopEdgeInfo::isSink

Definition at line 1065 of file MSBaseVehicle.h.

◆ nameTag

std::pair<std::string, SumoXMLTag> MSBaseVehicle::StopEdgeInfo::nameTag

optional info about stopping place

Definition at line 1073 of file MSBaseVehicle.h.

Referenced by MSStopOptimizer::StopPathNode::getSuccessor(), and MSStopOptimizer::StopPathNode::StopPathNode().

◆ origEdge

const MSEdge* MSBaseVehicle::StopEdgeInfo::origEdge = nullptr

set when replacing stop with an alternative

Definition at line 1075 of file MSBaseVehicle.h.

◆ pos

double MSBaseVehicle::StopEdgeInfo::pos

Definition at line 1062 of file MSBaseVehicle.h.

Referenced by MSStopOptimizer::StopPathNode::getSuccessor().

◆ priority

double MSBaseVehicle::StopEdgeInfo::priority

◆ routeIndex

int MSBaseVehicle::StopEdgeInfo::routeIndex = -1

values set during routing and used during optimization

Definition at line 1068 of file MSBaseVehicle.h.

◆ skipped

bool MSBaseVehicle::StopEdgeInfo::skipped = false

Definition at line 1069 of file MSBaseVehicle.h.

Referenced by MSStopOptimizer::optimizeSkipped().

◆ stopPar

const SUMOVehicleParameter::Stop* MSBaseVehicle::StopEdgeInfo::stopPar = nullptr

Definition at line 1066 of file MSBaseVehicle.h.


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