Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
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...

Public Member Functions

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

Private Attributes

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 1670 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 3427 of file MSLane.cpp.

Member Function Documentation

◆ operator()()

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

Field Documentation

◆ myLaneDir

double MSLane::outgoing_lane_priority_sorter::myLaneDir
private

Definition at line 1679 of file MSLane.h.


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