Documentation of UrbanFireXDT
Documentation of UrbanFireXDT
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
SingleVehicleTour Struct Reference

#include <vehicles.h>

Public Member Functions

 SingleVehicleTour (unsigned long ts_start, unsigned long ts_arrival, double econs, struct WeeklyVehicleTour *weekly_tour)
 

Public Attributes

unsigned long ts_start
 Time step, when tour starts.
 
unsigned long ts_arrival
 Time step, when tour ends (i.e., arrival of the car at the beginning of the time step)
 
double energy_consumption_kWh
 Energy consumption for this trip.
 
struct WeeklyVehicleTourweekly_tour
 Reference to the corresponding weekly tour.
 

Detailed Description

Representation of one individual tour that happens only once in a simulation span.

Constructor & Destructor Documentation

◆ SingleVehicleTour()

SingleVehicleTour::SingleVehicleTour ( unsigned long  ts_start,
unsigned long  ts_arrival,
double  econs,
struct WeeklyVehicleTour weekly_tour 
)
inline

Member Data Documentation

◆ energy_consumption_kWh

double SingleVehicleTour::energy_consumption_kWh

Energy consumption for this trip.

◆ ts_arrival

unsigned long SingleVehicleTour::ts_arrival

Time step, when tour ends (i.e., arrival of the car at the beginning of the time step)

◆ ts_start

unsigned long SingleVehicleTour::ts_start

Time step, when tour starts.

◆ weekly_tour

struct WeeklyVehicleTour* SingleVehicleTour::weekly_tour

Reference to the corresponding weekly tour.


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