vrpRouting  0.3
matrix_input.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 File: matrix_input.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*/
28 
29 #ifndef INCLUDE_C_COMMON_VROOM_MATRIX_INPUT_H_
30 #define INCLUDE_C_COMMON_VROOM_MATRIX_INPUT_H_
31 #pragma once
32 
33 #include <stddef.h>
34 
36 #include "c_types/column_info_t.h"
38 
39 #ifdef PROFILE
40 #include "c_common/debug_macro.h"
41 #include "c_common/time_msg.h"
42 #endif
43 
45 void
47  char *matrix_sql,
48  Vroom_matrix_t **matrix,
49  size_t *total_matrix_rows,
50  bool is_plain);
51 
52 #endif // INCLUDE_C_COMMON_VROOM_MATRIX_INPUT_H_
time_msg.h
get_vroom_matrix
void get_vroom_matrix(char *matrix_sql, Vroom_matrix_t **matrix, size_t *total_matrix_rows, bool is_plain)
Reads the VROOM matrix.
Definition: matrix_input.c:159
debug_macro.h
vroom_matrix_t.h
Vroom_matrix_t
Matrix's attributes.
Definition: vroom_matrix_t.h:46
column_info_t.h
get_check_data.h