![]() |
Documentation of UrbanFireXDT
Documentation of UrbanFireXDT
|
#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 |
This struct represents one weekly-repeating vehicle tour. All time related parameters have to be aligned with the time step size of the simulation.
| 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)
| unsigned long WeeklyVehicleTour::departure_ts_of_day |
Number of time steps after midnight where the tour starts.
| unsigned long WeeklyVehicleTour::next_tour_id |
0, if there is no new tour
| double WeeklyVehicleTour::tour_length_km |
Total length of the tour in km.
| 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)
| bool WeeklyVehicleTour::with_work |