SUMO - Simulation of Urban MObility
MSLane::outgoing_lane_priority_sorter Class Reference

Sorts lanes (their origin link) by the priority of their noninternal target edges or, if this doesn't yield an unambiguous result, wrt. the angle difference magnitude relative to the target lane's angle (straight comes first) More...

Collaboration diagram for MSLane::outgoing_lane_priority_sorter:
Collaboration graph

Public Member Functions

int operator() (const MSLink *link1, const MSLink *link2) const
 comparing operator More...
 
 outgoing_lane_priority_sorter (const MSLane *sourceLane)
 constructor More...
 

Private Member Functions

outgoing_lane_priority_sorteroperator= (const outgoing_lane_priority_sorter &)
 

Private Attributes

const MSLane *const myLane
 
double myLaneDir
 

Detailed Description

Sorts lanes (their origin link) by the priority of their noninternal target edges or, if this doesn't yield an unambiguous result, wrt. the angle difference magnitude relative to the target lane's angle (straight comes first)

Definition at line 1445 of file MSLane.h.

Constructor & Destructor Documentation

◆ outgoing_lane_priority_sorter()

MSLane::outgoing_lane_priority_sorter::outgoing_lane_priority_sorter ( const MSLane sourceLane)
explicit

constructor

Definition at line 2831 of file MSLane.cpp.

Member Function Documentation

◆ operator()()

int MSLane::outgoing_lane_priority_sorter::operator() ( const MSLink link1,
const MSLink link2 
) const

◆ operator=()

outgoing_lane_priority_sorter& MSLane::outgoing_lane_priority_sorter::operator= ( const outgoing_lane_priority_sorter )
private

Field Documentation

◆ myLane

const MSLane* const MSLane::outgoing_lane_priority_sorter::myLane
private

Definition at line 1456 of file MSLane.h.

Referenced by operator()().

◆ myLaneDir

double MSLane::outgoing_lane_priority_sorter::myLaneDir
private

Definition at line 1457 of file MSLane.h.

Referenced by operator()().


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