PGROUTING  3.2
transitiveClosure_rt.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 File: contracted_rt.h
3 
4 Copyright (c) 2017 pgRouting developers
6 
7 Function's developer:
8 Copyright (c) 2019 Hang Wu
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_TRANSITIVECLOSURE_RT_H_
31 #define INCLUDE_C_TYPES_TRANSITIVECLOSURE_RT_H_
32 #pragma once
33 
34 /* for int64_t */
35 #ifdef __cplusplus
36 # include <cstdint>
37 #else
38 # include <stdint.h>
39 #endif
40 
41 /**************************************************************************
42  * return type for contraction
43  * ***********************************************************************/
44 typedef struct {
45  int seq;
46  int64_t vid;
47  int64_t *target_array;
48  int target_array_size;
50 
51 #endif // INCLUDE_C_TYPES_TRANSITIVECLOSURE_RT_H_
transitiveClosure_rt
Definition: transitiveClosure_rt.h:44