PGROUTING
3.2
johnson_driver.h
Go to the documentation of this file.
1
/*PGR-GNU*****************************************************************
2
File: johnson_driver.h
3
4
Generated with Template by:
5
Copyright (c) 2015 pgRouting developers
6
Mail:
[email protected]
7
8
Function's developer:
9
Copyright (c) 2015 Celia Virginia Vergara Castillo
10
Mail:
[email protected]
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*/
29
#ifndef INCLUDE_DRIVERS_ALLPAIRS_JOHNSON_DRIVER_H_
30
#define INCLUDE_DRIVERS_ALLPAIRS_JOHNSON_DRIVER_H_
31
#pragma once
32
33
/* for size-t */
34
#ifdef __cplusplus
35
# include <cstddef>
36
#else
37
# include <stddef.h>
38
#endif
39
40
#include "
c_types/pgr_edge_t.h
"
41
#include "
c_types/matrix_cell_t.h
"
42
43
#ifdef __cplusplus
44
extern
"C"
{
45
#endif
46
47
// CREATE OR REPLACE FUNCTION pgr_johnson(edges_sql TEXT, directed BOOLEAN,
48
void
49
do_pgr_johnson
(
50
pgr_edge_t
*data_edges,
51
size_t
total_tuples,
52
bool
directed,
53
Matrix_cell_t
**return_tuples,
54
size_t
*return_count,
55
char
** log_msg,
56
char
** err_msg);
57
58
59
#ifdef __cplusplus
60
}
61
#endif
62
63
#endif // INCLUDE_DRIVERS_ALLPAIRS_JOHNSON_DRIVER_H_
pgr_edge_t
Definition:
pgr_edge_t.h:37
do_pgr_johnson
void do_pgr_johnson(pgr_edge_t *data_edges, size_t total_tuples, bool directed, Matrix_cell_t **return_tuples, size_t *return_count, char **log_msg, char **err_msg)
Definition:
johnson_driver.cpp:42
matrix_cell
Definition:
matrix_cell_t.h:37
pgr_edge_t.h
matrix_cell_t.h
include
drivers
allpairs
johnson_driver.h
Generated on Tue May 25 2021 15:09:47 for PGROUTING by
1.8.17