Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
Prices Struct Reference

#include <FareModul.h>

Data Fields

double halle = 2.3
 
double leipzig = 2.7
 
double maxPrice = 10.6
 
double shortTrip = 1.6
 
double shortTripHalle = 1.7
 
double shortTripLeipzig = 1.9
 
double t1 = 1.5
 
double t2 = 1.6
 
double t3 = 1.6
 
std::vector< double > zonePrices = std::vector<double> {1.9, 3.4, 4.9, 6.2, 7.7, 9.2}
 

Detailed Description

Definition at line 138 of file FareModul.h.

Field Documentation

◆ halle

double Prices::halle = 2.3

Definition at line 144 of file FareModul.h.

Referenced by FareModul::computePrice().

◆ leipzig

double Prices::leipzig = 2.7

Definition at line 145 of file FareModul.h.

Referenced by FareModul::computePrice().

◆ maxPrice

double Prices::maxPrice = 10.6

Definition at line 152 of file FareModul.h.

Referenced by FareModul::computePrice().

◆ shortTrip

double Prices::shortTrip = 1.6

Definition at line 149 of file FareModul.h.

Referenced by FareModul::computePrice().

◆ shortTripHalle

double Prices::shortTripHalle = 1.7

Definition at line 151 of file FareModul.h.

Referenced by FareModul::computePrice().

◆ shortTripLeipzig

double Prices::shortTripLeipzig = 1.9

Definition at line 150 of file FareModul.h.

Referenced by FareModul::computePrice().

◆ t1

double Prices::t1 = 1.5

Definition at line 146 of file FareModul.h.

Referenced by FareModul::computePrice().

◆ t2

double Prices::t2 = 1.6

Definition at line 147 of file FareModul.h.

Referenced by FareModul::computePrice().

◆ t3

double Prices::t3 = 1.6

Definition at line 148 of file FareModul.h.

Referenced by FareModul::computePrice().

◆ zonePrices

std::vector<double> Prices::zonePrices = std::vector<double> {1.9, 3.4, 4.9, 6.2, 7.7, 9.2}

Prices for zones

Definition at line 143 of file FareModul.h.

Referenced by FareModul::computePrice().


The documentation for this struct was generated from the following file: