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

#include <vehicles.h>

Public Attributes

unsigned long next_tour_id
 0, if there is no new tour
 
short day_of_week
 The day of the week a tour starts. Note: 0 is Monday (like in Python, not like tm_wday where 0 is a Sunday)
 
unsigned long departure_ts_of_day
 Number of time steps after midnight where the tour starts.
 
unsigned long ts_duration
 Tour duration in time steps, arrival at the beginning of a new time step (i.e., ts_duration = 1 --> arrival after one time step)
 
double tour_length_km
 Total length of the tour in km.
 
bool with_work
 

Detailed Description

This struct represents one weekly-repeating vehicle tour. All time related parameters have to be aligned with the time step size of the simulation.

Member Data Documentation

◆ day_of_week

short WeeklyVehicleTour::day_of_week

The day of the week a tour starts. Note: 0 is Monday (like in Python, not like tm_wday where 0 is a Sunday)

◆ departure_ts_of_day

unsigned long WeeklyVehicleTour::departure_ts_of_day

Number of time steps after midnight where the tour starts.

◆ next_tour_id

unsigned long WeeklyVehicleTour::next_tour_id

0, if there is no new tour

◆ tour_length_km

double WeeklyVehicleTour::tour_length_km

Total length of the tour in km.

◆ ts_duration

unsigned long WeeklyVehicleTour::ts_duration

Tour duration in time steps, arrival at the beginning of a new time step (i.e., ts_duration = 1 --> arrival after one time step)

◆ with_work

bool WeeklyVehicleTour::with_work

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