Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
NIVissimEdge::connection_cluster_position_sorter Class Reference

Public Member Functions

 connection_cluster_position_sorter (int edgeid)
 constructor
int operator() (NIVissimConnectionCluster *cc1, NIVissimConnectionCluster *cc2) const
 comparing operation

Private Attributes

int myEdgeID
 The id of the edge.

Detailed Description

Sorts connection clusters the edge participates in by their position along the given edge

Definition at line 230 of file NIVissimEdge.h.

Constructor & Destructor Documentation

◆ connection_cluster_position_sorter()

NIVissimEdge::connection_cluster_position_sorter::connection_cluster_position_sorter ( int edgeid)
explicit

constructor

Definition at line 85 of file NIVissimEdge.cpp.

References myEdgeID.

Member Function Documentation

◆ operator()()

int NIVissimEdge::connection_cluster_position_sorter::operator() ( NIVissimConnectionCluster * cc1,
NIVissimConnectionCluster * cc2 ) const

comparing operation

Definition at line 90 of file NIVissimEdge.cpp.

References NIVissimConnectionCluster::getPositionForEdge(), and myEdgeID.

Field Documentation

◆ myEdgeID

int NIVissimEdge::connection_cluster_position_sorter::myEdgeID
private

The id of the edge.

Definition at line 241 of file NIVissimEdge.h.

Referenced by connection_cluster_position_sorter(), and operator()().


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