Eclipse SUMO - Simulation of Urban MObility
FareZones.h File Reference
#include <config.h>
#include <unordered_map>
#include <cstdint>
Include dependency graph for FareZones.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int getOverlayZone (int zoneNumber)
 

Variables

static std::unordered_map< int, long long int > fareZoneToRep
 
static std::unordered_map< long long int, int > repToFareZone
 

Detailed Description

Author
Ricardo Euler
Date
Thu, 17 August 2018

Definition in file FareZones.h.

Function Documentation

◆ getOverlayZone()

int getOverlayZone ( int  zoneNumber)
inline

Returns the zone the specified lower rank zones is a part of

Returns

Definition at line 162 of file FareZones.h.

Referenced by ZoneCounter::addZone().

Here is the caller graph for this function:

Variable Documentation

◆ fareZoneToRep

std::unordered_map<int, long long int> fareZoneToRep
static

Definition at line 92 of file FareZones.h.

Referenced by ZoneCounter::addZone().

◆ repToFareZone

std::unordered_map<long long int, int> repToFareZone
static

Definition at line 27 of file FareZones.h.