PGROUTING  3.2
line_graph_rt.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 File: line_graph_rt.h
3 
4 Generated with Template by:
5 Copyright (c) 2015 pgRouting developers
7 
8 Function's developer:
9 Copyright (c) 2017 Vidhan Jain
11 
12 ------
13 
14 This program is free software; you can redistribute it and/or modify
15 it under the terms of the GNU General Public License as published by
16 the Free Software Foundation; either version 2 of the License, or
17 (at your option) any later version.
18 
19 This program is distributed in the hope that it will be useful,
20 but WITHOUT ANY WARRANTY; without even the implied warranty of
21 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 GNU General Public License for more details.
23 
24 You should have received a copy of the GNU General Public License
25 along with this program; if not, write to the Free Software
26 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
27 
28  ********************************************************************PGR-GNU*/
31 #ifndef INCLUDE_C_TYPES_LINE_GRAPH_RT_H_
32 #define INCLUDE_C_TYPES_LINE_GRAPH_RT_H_
33 #pragma once
34 
35 /* for int64_t */
36 #ifdef __cplusplus
37 # include <cstdint>
38 #else
39 # include <stdint.h>
40 #endif
41 
42 typedef struct {
43  int64_t id;
44  int64_t source;
45  int64_t target;
46  double cost;
47  double reverse_cost;
49 
50 #endif // INCLUDE_C_TYPES_LINE_GRAPH_RT_H_
Line_graph_rt::reverse_cost
double reverse_cost
Definition: line_graph_rt.h:47
Line_graph_rt::id
int64_t id
Definition: line_graph_rt.h:43
Line_graph_rt::cost
double cost
Definition: line_graph_rt.h:46
Line_graph_rt
Definition: line_graph_rt.h:42
Line_graph_rt::target
int64_t target
Definition: line_graph_rt.h:45
Line_graph_rt::source
int64_t source
Definition: line_graph_rt.h:44