vrpRouting
0.3
vroom_matrix_t.h
Go to the documentation of this file.
1
/*PGR-GNU*****************************************************************
2
File: vroom_matrix_t.h
3
4
Copyright (c) 2021 pgRouting developers
5
Mail:
[email protected]
6
7
Function's developer:
8
Copyright (c) 2021 Ashish Kumar
9
Mail:
[email protected]
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_MATRIX_T_H_
31
#define INCLUDE_C_TYPES_VROOM_VROOM_MATRIX_T_H_
32
#pragma once
33
34
#include "
c_types/typedefs.h
"
35
46
struct
Vroom_matrix_t
{
47
MatrixIndex
start_id
;
48
MatrixIndex
end_id
;
50
Duration
duration
;
51
TravelCost
cost
;
52
};
53
54
#endif // INCLUDE_C_TYPES_VROOM_VROOM_MATRIX_T_H_
Vroom_matrix_t::start_id
MatrixIndex start_id
Definition:
vroom_matrix_t.h:47
Vroom_matrix_t::end_id
MatrixIndex end_id
Start node identifier.
Definition:
vroom_matrix_t.h:48
typedefs.h
TravelCost
uint32_t TravelCost
Definition:
typedefs.h:82
Vroom_matrix_t
Matrix's attributes.
Definition:
vroom_matrix_t.h:46
Vroom_matrix_t::cost
TravelCost cost
Duration to travel from start to end.
Definition:
vroom_matrix_t.h:51
MatrixIndex
int64_t MatrixIndex
Definition:
typedefs.h:80
Duration
uint32_t Duration
Definition:
typedefs.h:81
Vroom_matrix_t::duration
Duration duration
End node identifier.
Definition:
vroom_matrix_t.h:50
include
c_types
vroom
vroom_matrix_t.h
Generated on Tue Nov 15 2022 03:49:52 for vrpRouting by
1.8.17