Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
NBContHelper::edge_by_priority_sorter Class Reference

#include <NBContHelper.h>

Public Member Functions

 edge_by_priority_sorter (SVCPermissions permissions)
 
int operator() (NBEdge *e1, NBEdge *e2) const
 comparing operator
 

Private Attributes

SVCPermissions myPermissions
 

Detailed Description

edge_by_priority_sorter Class to sort edges by their priority

Definition at line 119 of file NBContHelper.h.

Constructor & Destructor Documentation

◆ edge_by_priority_sorter()

NBContHelper::edge_by_priority_sorter::edge_by_priority_sorter ( SVCPermissions  permissions)
inline

Definition at line 121 of file NBContHelper.h.

Member Function Documentation

◆ operator()()

int NBContHelper::edge_by_priority_sorter::operator() ( NBEdge e1,
NBEdge e2 
) const
inline

comparing operator

Definition at line 123 of file NBContHelper.h.

References NBEdge::getNumLanesThatAllow(), NBEdge::getPriority(), NBEdge::getSpeed(), and myPermissions.

Field Documentation

◆ myPermissions

SVCPermissions NBContHelper::edge_by_priority_sorter::myPermissions
private

Definition at line 134 of file NBContHelper.h.

Referenced by operator()().


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