SUMO - Simulation of Urban MObility
NIVissimEdge::connection_cluster_position_sorter Class Reference
Collaboration diagram for NIVissimEdge::connection_cluster_position_sorter:
Collaboration graph

Public Member Functions

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

Private Attributes

int myEdgeID
 The id of the edge. More...
 

Detailed Description

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

Definition at line 242 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 94 of file NIVissimEdge.cpp.

Member Function Documentation

◆ operator()()

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

comparing operation

Definition at line 99 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 253 of file NIVissimEdge.h.

Referenced by operator()().


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