Eclipse SUMO - Simulation of Urban MObility
NIVissimEdge::connection_cluster_position_sorter Class Reference

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

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

Field Documentation

◆ myEdgeID

int NIVissimEdge::connection_cluster_position_sorter::myEdgeID
private

The id of the edge.

Definition at line 241 of file NIVissimEdge.h.


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