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 1069 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 1071 of file MSBaseVehicle.h.

References arrival, edge, isSink, pos, and priority.

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

Here is the caller graph for this function:

Member Function Documentation

◆ operator!=()

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

Definition at line 1096 of file MSBaseVehicle.h.

References StopEdgeInfo().

◆ operator==()

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

Definition at line 1093 of file MSBaseVehicle.h.

References edge, and StopEdgeInfo().

Field Documentation

◆ arrival

SUMOTime MSBaseVehicle::StopEdgeInfo::arrival

◆ backtracked

bool MSBaseVehicle::StopEdgeInfo::backtracked = false

Definition at line 1086 of file MSBaseVehicle.h.

◆ delay

SUMOTime MSBaseVehicle::StopEdgeInfo::delay = 0

Definition at line 1087 of file MSBaseVehicle.h.

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

◆ edge

const MSEdge* MSBaseVehicle::StopEdgeInfo::edge

◆ isSink

bool MSBaseVehicle::StopEdgeInfo::isSink

Definition at line 1081 of file MSBaseVehicle.h.

Referenced by StopEdgeInfo().

◆ nameTag

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

optional info about stopping place

Definition at line 1089 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 1091 of file MSBaseVehicle.h.

◆ pos

double MSBaseVehicle::StopEdgeInfo::pos

◆ priority

◆ routeIndex

int MSBaseVehicle::StopEdgeInfo::routeIndex = -1

values set during routing and used during optimization

Definition at line 1084 of file MSBaseVehicle.h.

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

◆ skipped

bool MSBaseVehicle::StopEdgeInfo::skipped = false

Definition at line 1085 of file MSBaseVehicle.h.

Referenced by MSStopOptimizer::optimizeSkipped().

◆ stopPar

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

Definition at line 1082 of file MSBaseVehicle.h.


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