PGROUTING  3.2
edges_input.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 File: edges_input.h
3 
4 Copyright (c) 2015 Celia Virginia Vergara Castillo
6 
7 ------
8 
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
13 
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18 
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 
23  ********************************************************************PGR-GNU*/
24 
25 #ifndef INCLUDE_C_COMMON_EDGES_INPUT_H_
26 #define INCLUDE_C_COMMON_EDGES_INPUT_H_
27 #pragma once
28 
29 /* for size-t */
30 #include <stddef.h>
31 #include "c_types/pgr_costFlow_t.h"
32 #include "c_types/pgr_flow_t.h"
34 #include "c_types/pgr_edge_t.h"
35 #include "c_types/pgr_edge_xy_t.h"
36 
37 
52  char *edges_sql,
53  pgr_edge_t **edges,
54  size_t *total_edges);
55 
56 
57 
70 void pgr_get_edges(
71  char *edges_sql,
72  pgr_edge_t **edges,
73  size_t *total_edges);
75  char *edges_sql,
76  pgr_edge_t **edges,
77  size_t *total_edges);
78 
79 
80 
93 void pgr_get_edges_xy(
94  char *edges_sql,
95  Pgr_edge_xy_t **edges,
96  size_t *total_edges);
97 
119  char *edges_sql,
120  Pgr_edge_xy_t **edges,
121  size_t *total_edges);
122 
123 
138 void pgr_get_flow_edges(
139  char *sql,
140  pgr_edge_t **edges,
141  size_t *total_edges);
142 
160  char *sql,
161  pgr_costFlow_t **edges,
162  size_t *total_edges);
163 
177  char *sql,
178  pgr_basic_edge_t **edges,
179  size_t *total_edges);
180 
181 
182 
183 #endif // INCLUDE_C_COMMON_EDGES_INPUT_H_
pgr_get_edges_xy
void pgr_get_edges_xy(char *edges_sql, Pgr_edge_xy_t **edges, size_t *total_edges)
Edges with x, y vertices values.
Definition: edges_input.c:744
pgr_edge_t
Definition: pgr_edge_t.h:37
pgr_get_edges_no_id
void pgr_get_edges_no_id(char *edges_sql, pgr_edge_t **edges, size_t *total_edges)
edges_sql without id parameter
Definition: edges_input.c:733
pgr_edge_xy_t.h
pgr_get_flow_edges
void pgr_get_flow_edges(char *sql, pgr_edge_t **edges, size_t *total_edges)
read edges for flow
Definition: edges_input.c:691
pgr_get_costFlow_edges
void pgr_get_costFlow_edges(char *sql, pgr_costFlow_t **edges, size_t *total_edges)
read edges for cost flow
Definition: edges_input.c:701
pgr_get_edges_reversed
void pgr_get_edges_reversed(char *edges_sql, pgr_edge_t **edges, size_t *total_edges)
Definition: edges_input.c:722
pgr_flow_t.h
pgr_costFlow_t.h
pgr_basic_edge_t
Definition: pgr_basic_edge_t.h:38
pgr_get_edges
void pgr_get_edges(char *edges_sql, pgr_edge_t **edges, size_t *total_edges)
basic edge_sql
Definition: edges_input.c:711
pgr_get_edges_xy_reversed
void pgr_get_edges_xy_reversed(char *edges_sql, Pgr_edge_xy_t **edges, size_t *total_edges)
for many to 1 on aStar
Definition: edges_input.c:757
pgr_costFlow_t
Definition: pgr_costFlow_t.h:38
pgr_basic_edge_t.h
pgr_edge_t.h
pgr_get_basic_edges
void pgr_get_basic_edges(char *sql, pgr_basic_edge_t **edges, size_t *total_edges)
read basic edges
Definition: edges_input.c:766
Pgr_edge_xy_t
Definition: pgr_edge_xy_t.h:38