Eclipse 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...

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 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 1604 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 3284 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 1613 of file MSLane.h.


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