vrpRouting  0.3
vroom_vehicle_t.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 File: vroom_vehicle_t.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_VEHICLE_T_H_
31 #define INCLUDE_C_TYPES_VROOM_VROOM_VEHICLE_T_H_
32 #pragma once
33 
34 #include "c_types/typedefs.h"
35 
55  Idx id;
60  size_t capacity_size;
63  size_t skills_size;
68  double speed_factor;
70  int32_t max_tasks;
72  char *data;
73 };
74 
75 
76 #endif // INCLUDE_C_TYPES_VROOM_VROOM_VEHICLE_T_H_
Vroom_vehicle_t::end_id
MatrixIndex end_id
Start location index in matrix.
Definition: vroom_vehicle_t.h:57
Vroom_vehicle_t::tw_open
Duration tw_open
Number of vehicle's skills.
Definition: vroom_vehicle_t.h:65
Vroom_vehicle_t::capacity_size
size_t capacity_size
Vehicle's capacity array.
Definition: vroom_vehicle_t.h:60
Skill
uint32_t Skill
Definition: typedefs.h:85
Vroom_vehicle_t::speed_factor
double speed_factor
Time window end time.
Definition: vroom_vehicle_t.h:68
Vroom_vehicle_t::skills
Skill * skills
Vehicle's capacity array size.
Definition: vroom_vehicle_t.h:62
typedefs.h
Vroom_vehicle_t::max_tasks
int32_t max_tasks
Vehicle travel time multiplier.
Definition: vroom_vehicle_t.h:70
Amount
int64_t Amount
Definition: typedefs.h:74
Idx
uint64_t Idx
Definition: typedefs.h:79
MatrixIndex
int64_t MatrixIndex
Definition: typedefs.h:80
Duration
uint32_t Duration
Definition: typedefs.h:81
Vroom_vehicle_t::data
char * data
Max number of tasks in a route for the vehicle.
Definition: vroom_vehicle_t.h:72
Vroom_vehicle_t::id
Idx id
Definition: vroom_vehicle_t.h:55
Vroom_vehicle_t::tw_close
Duration tw_close
Time window start time.
Definition: vroom_vehicle_t.h:66
Vroom_vehicle_t::skills_size
size_t skills_size
Vehicle's skills.
Definition: vroom_vehicle_t.h:63
Vroom_vehicle_t
Vehicles's attributes.
Definition: vroom_vehicle_t.h:54
Vroom_vehicle_t::start_id
MatrixIndex start_id
The vehicle's identifier.
Definition: vroom_vehicle_t.h:56
Vroom_vehicle_t::capacity
Amount * capacity
End location index in matrix.
Definition: vroom_vehicle_t.h:59