vrpRouting  0.3
vroom_job_t.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 File: vroom_job_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_JOB_T_H_
31 #define INCLUDE_C_TYPES_VROOM_VROOM_JOB_T_H_
32 #pragma once
33 
34 #include "c_types/typedefs.h"
35 
54 struct Vroom_job_t {
55  Idx id;
62  size_t delivery_size;
65  size_t pickup_size;
68  size_t skills_size;
72  char *data;
73 };
74 
75 #endif // INCLUDE_C_TYPES_VROOM_VROOM_JOB_T_H_
Vroom_job_t::pickup_size
size_t pickup_size
Quantities for pickup.
Definition: vroom_job_t.h:65
Vroom_job_t::delivery
Amount * delivery
Job service duration.
Definition: vroom_job_t.h:61
Skill
uint32_t Skill
Definition: typedefs.h:85
Vroom_job_t::priority
Priority priority
Number of mandatory skills.
Definition: vroom_job_t.h:70
typedefs.h
Vroom_job_t::service
Duration service
Job setup duration.
Definition: vroom_job_t.h:59
Vroom_job_t::skills
Skill * skills
Number of pickup quantities.
Definition: vroom_job_t.h:67
Vroom_job_t::location_id
MatrixIndex location_id
The job's identifier.
Definition: vroom_job_t.h:56
Vroom_job_t::pickup
Amount * pickup
Number of delivery quantities.
Definition: vroom_job_t.h:64
Vroom_job_t::setup
Duration setup
Location index of job in matrix.
Definition: vroom_job_t.h:58
Vroom_job_t
Job's attributes.
Definition: vroom_job_t.h:54
Amount
int64_t Amount
Definition: typedefs.h:74
Vroom_job_t::data
char * data
Priority level of job.
Definition: vroom_job_t.h:72
Idx
uint64_t Idx
Definition: typedefs.h:79
MatrixIndex
int64_t MatrixIndex
Definition: typedefs.h:80
Duration
uint32_t Duration
Definition: typedefs.h:81
Priority
uint32_t Priority
Definition: typedefs.h:83
Vroom_job_t::delivery_size
size_t delivery_size
Quantities for delivery.
Definition: vroom_job_t.h:62
Vroom_job_t::skills_size
size_t skills_size
Mandatory skills.
Definition: vroom_job_t.h:68
Vroom_job_t::id
Idx id
Definition: vroom_job_t.h:55