vrpRouting  0.3
vroom_rt.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 File: vroom_rt.h
3 
4 Copyright (c) 2021 pgRouting developers
6 
7 Function's developer:
8 Copyright (c) 2021 Ashish Kumar
10 
11 ------
12 
13 This program is free software; you can redistribute it and/or modify
14 it under the terms of the GNU General Public License as published by
15 the Free Software Foundation; either version 2 of the License, or
16 (at your option) any later version.
17 
18 This program is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 GNU General Public License for more details.
22 
23 You should have received a copy of the GNU General Public License
24 along with this program; if not, write to the Free Software
25 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
26 
27  ********************************************************************PGR-GNU*/
30 #ifndef INCLUDE_C_TYPES_VROOM_VROOM_RT_H_
31 #define INCLUDE_C_TYPES_VROOM_VROOM_RT_H_
32 #pragma once
33 
34 #include "c_types/typedefs.h"
35 
57 struct Vroom_rt {
60  char *vehicle_data;
66  char *task_data;
76  size_t load_size;
77 };
78 
79 #endif // INCLUDE_C_TYPES_VROOM_VROOM_RT_H_
Vroom_rt::step_type
StepType step_type
Step sequence of the vehicle.
Definition: vroom_rt.h:63
Vroom_rt::travel_time
Duration travel_time
Estimated time of arrival.
Definition: vroom_rt.h:69
Vroom_rt::load_size
size_t load_size
Vehicle's load after step completion array.
Definition: vroom_rt.h:76
Vroom_rt::vehicle_seq
Idx vehicle_seq
Definition: vroom_rt.h:58
typedefs.h
Vroom_rt::arrival_time
Duration arrival_time
The task's metadata information.
Definition: vroom_rt.h:68
Vroom_rt::service_time
Duration service_time
Setup time at this step.
Definition: vroom_rt.h:71
Vroom_rt::vehicle_id
Idx vehicle_id
Sequence for ordering a single vehicle.
Definition: vroom_rt.h:59
Amount
int64_t Amount
Definition: typedefs.h:74
Vroom_rt::waiting_time
Duration waiting_time
Service time at this step.
Definition: vroom_rt.h:72
Vroom_rt::vehicle_data
char * vehicle_data
The vehicle's identifier.
Definition: vroom_rt.h:60
Idx
uint64_t Idx
Definition: typedefs.h:79
Vroom_rt::task_id
Idx task_id
Type of the step.
Definition: vroom_rt.h:64
MatrixIndex
int64_t MatrixIndex
Definition: typedefs.h:80
Duration
uint32_t Duration
Definition: typedefs.h:81
Vroom_rt::task_data
char * task_data
Location id of task in matrix.
Definition: vroom_rt.h:66
Vroom_rt::location_id
MatrixIndex location_id
The task's identifier.
Definition: vroom_rt.h:65
Vroom_rt::departure_time
Duration departure_time
Waiting time upon arrival at this step.
Definition: vroom_rt.h:73
Vroom_rt::setup_time
Duration setup_time
Travel time from previous step_seq to current step_seq.
Definition: vroom_rt.h:70
Vroom_rt
Solution's attributes.
Definition: vroom_rt.h:57
Vroom_rt::step_seq
Idx step_seq
The vehicle's metadata information.
Definition: vroom_rt.h:62
Vroom_rt::load
Amount * load
Estimated time of departure.
Definition: vroom_rt.h:75
StepType
int32_t StepType
Definition: typedefs.h:86