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

Collaboration diagram for MSLane::outgoing_lane_priority_sorter:
[legend]

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 1560 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 3019 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 1571 of file MSLane.h.

◆ myLaneDir

double MSLane::outgoing_lane_priority_sorter::myLaneDir
private

Definition at line 1572 of file MSLane.h.


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