pgRouting
pgRouting extends the PostGIS / PostgreSQL geospatial database to provide geospatial routing functionality.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
structs.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 File: structs.h
3 
4 Copyright (c) 2015 pgRouting developers
5 Mail: project@pgrouting.org
6 
7 Function's developer:
8 Copyright (c) 2016 Rohith Reddy
9 Mail:
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 #ifndef SRC_CONTRACTION_SRC_STRUCTS_H_
29 #define SRC_CONTRACTION_SRC_STRUCTS_H_
30 
31 #ifndef __cplusplus
32 #include "postgres.h"
33 #endif
34 #include <stdint.h>
35 
36 typedef struct {
37  int64_t seq;
38  int64_t id;
39  char *type;
40  int64_t source;
41  int64_t target;
42  double cost;
46 
47 
48 #endif // SRC_CONTRACTION_SRC_STRUCTS_H_
int64_t * contracted_vertices
Definition: structs.h:43
int64_t source
Definition: structs.h:40
int contracted_vertices_size
Definition: structs.h:44
int64_t target
Definition: structs.h:41