Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
MSStopOptimizer::StopPathNode Struct Reference

information used during skip/alternative optimization More...

Inheritance diagram for MSStopOptimizer::StopPathNode:
[legend]
Collaboration diagram for MSStopOptimizer::StopPathNode:
[legend]

Public Member Functions

std::shared_ptr< StopPathNodegetSuccessor (const std::vector< StopEdgeInfo > &stops, double minSkipped)
 
bool operator!= (const StopEdgeInfo &o) const
 
bool operator== (const StopEdgeInfo &o) const
 
 StopPathNode (const MSStopOptimizer &_so, const StopEdgeInfo &o)
 

Data Fields

int altIndex = 0
 
SUMOTime arrival
 
bool backtracked = false
 
bool checked = false
 
double cost = 0
 
SUMOTime delay = 0
 
const MSEdgeedge
 
ConstMSEdgeVector edges
 
bool isSink
 
std::pair< std::string, SumoXMLTagnameTag
 optional info about stopping place
 
int numSkipped = 0
 
const MSEdgeorigEdge = nullptr
 set when replacing stop with an alternative
 
double pos
 
std::shared_ptr< StopPathNodeprev = nullptr
 
double priority
 
double reachedPrio = 0
 
int routeIndex = -1
 values set during routing and used during optimization
 
bool skipped = false
 
double skippedPrio = 0
 
const MSStopOptimizerso
 
int stopIndex
 
const SUMOVehicleParameter::StopstopPar = nullptr
 
int trackChanges = 0
 

Detailed Description

information used during skip/alternative optimization

Definition at line 76 of file MSStopOptimizer.h.

Constructor & Destructor Documentation

◆ StopPathNode()

MSStopOptimizer::StopPathNode::StopPathNode ( const MSStopOptimizer _so,
const StopEdgeInfo o 
)
inline

Member Function Documentation

◆ getSuccessor()

◆ operator!=()

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

Definition at line 1080 of file MSBaseVehicle.h.

◆ operator==()

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

Definition at line 1077 of file MSBaseVehicle.h.

References MSBaseVehicle::StopEdgeInfo::edge.

Field Documentation

◆ altIndex

int MSStopOptimizer::StopPathNode::altIndex = 0

Definition at line 96 of file MSStopOptimizer.h.

Referenced by getSuccessor().

◆ arrival

SUMOTime MSBaseVehicle::StopEdgeInfo::arrival
inherited

Definition at line 1064 of file MSBaseVehicle.h.

Referenced by getSuccessor().

◆ backtracked

bool MSBaseVehicle::StopEdgeInfo::backtracked = false
inherited

Definition at line 1070 of file MSBaseVehicle.h.

◆ checked

bool MSStopOptimizer::StopPathNode::checked = false

Definition at line 97 of file MSStopOptimizer.h.

Referenced by getSuccessor().

◆ cost

double MSStopOptimizer::StopPathNode::cost = 0

Definition at line 92 of file MSStopOptimizer.h.

◆ delay

SUMOTime MSBaseVehicle::StopEdgeInfo::delay = 0
inherited

Definition at line 1071 of file MSBaseVehicle.h.

Referenced by StopPathNode().

◆ edge

const MSEdge* MSBaseVehicle::StopEdgeInfo::edge
inherited

Definition at line 1061 of file MSBaseVehicle.h.

Referenced by getSuccessor(), and MSBaseVehicle::StopEdgeInfo::operator==().

◆ edges

ConstMSEdgeVector MSStopOptimizer::StopPathNode::edges

Definition at line 98 of file MSStopOptimizer.h.

Referenced by getSuccessor().

◆ isSink

bool MSBaseVehicle::StopEdgeInfo::isSink
inherited

Definition at line 1065 of file MSBaseVehicle.h.

◆ nameTag

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

optional info about stopping place

Definition at line 1073 of file MSBaseVehicle.h.

Referenced by getSuccessor(), and StopPathNode().

◆ numSkipped

int MSStopOptimizer::StopPathNode::numSkipped = 0

Definition at line 95 of file MSStopOptimizer.h.

Referenced by getSuccessor().

◆ origEdge

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

set when replacing stop with an alternative

Definition at line 1075 of file MSBaseVehicle.h.

◆ pos

double MSBaseVehicle::StopEdgeInfo::pos
inherited

Definition at line 1062 of file MSBaseVehicle.h.

Referenced by getSuccessor().

◆ prev

std::shared_ptr<StopPathNode> MSStopOptimizer::StopPathNode::prev = nullptr

Definition at line 99 of file MSStopOptimizer.h.

Referenced by getSuccessor().

◆ priority

double MSBaseVehicle::StopEdgeInfo::priority
inherited

Definition at line 1063 of file MSBaseVehicle.h.

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

◆ reachedPrio

double MSStopOptimizer::StopPathNode::reachedPrio = 0

Definition at line 89 of file MSStopOptimizer.h.

Referenced by getSuccessor().

◆ routeIndex

int MSBaseVehicle::StopEdgeInfo::routeIndex = -1
inherited

values set during routing and used during optimization

Definition at line 1068 of file MSBaseVehicle.h.

◆ skipped

bool MSBaseVehicle::StopEdgeInfo::skipped = false
inherited

Definition at line 1069 of file MSBaseVehicle.h.

Referenced by MSStopOptimizer::optimizeSkipped().

◆ skippedPrio

double MSStopOptimizer::StopPathNode::skippedPrio = 0

Definition at line 87 of file MSStopOptimizer.h.

Referenced by getSuccessor().

◆ so

const MSStopOptimizer& MSStopOptimizer::StopPathNode::so

Definition at line 85 of file MSStopOptimizer.h.

Referenced by getSuccessor().

◆ stopIndex

int MSStopOptimizer::StopPathNode::stopIndex

Definition at line 94 of file MSStopOptimizer.h.

Referenced by getSuccessor().

◆ stopPar

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

Definition at line 1066 of file MSBaseVehicle.h.

◆ trackChanges

int MSStopOptimizer::StopPathNode::trackChanges = 0

Definition at line 91 of file MSStopOptimizer.h.

Referenced by getSuccessor().


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