PGROUTING  3.2
bdAstar_driver.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 File: bdAstar_driver.h
3 
4 Generated with Template by:
5 Copyright (c) 2015 pgRouting developers
7 
8 Function's developer:
9 Copyright (c) 2015 Celia Virginia Vergara Castillo
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 
30 #ifndef INCLUDE_DRIVERS_BDASTAR_BDASTAR_DRIVER_H_
31 #define INCLUDE_DRIVERS_BDASTAR_BDASTAR_DRIVER_H_
32 #pragma once
33 
34 /* for size-t */
35 #ifdef __cplusplus
36 # include <cstddef>
37 #else
38 # include <stddef.h>
39 #endif
40 
41 #include "c_types/pgr_edge_xy_t.h"
44 
45 
46 #ifdef __cplusplus
47 extern "C" {
48 #endif
49 
50  /*********************************************************
51  edges_sql TEXT,
52  start_vid BIGINT,
53  end_vid BIGINT,
54  directed BOOLEAN DEFAULT true,
55  only_cost BOOLEAN DEFAULT false,
56  ********************************************************/
57 
58 
59  void do_pgr_bdAstar(
60  Pgr_edge_xy_t *data_edges,
61  size_t total_edges,
62 
63  pgr_combination_t *combinations,
64  size_t total_combinations,
65 
66  int64_t *start_vidsArr,
67  size_t size_start_vidsArr,
68  int64_t *end_vidsArr,
69  size_t size_end_vidsArr,
70 
71  bool directed,
72  int heuristic,
73  double factor,
74  double epsilon,
75  bool only_cost,
76 
77  General_path_element_t **return_tuples,
78  size_t *return_count,
79 
80  char** log_msg,
81  char** notice_msg,
82  char** err_msg);
83 
84 
85 #ifdef __cplusplus
86 }
87 #endif
88 
89 #endif // INCLUDE_DRIVERS_BDASTAR_BDASTAR_DRIVER_H_
do_pgr_bdAstar
void do_pgr_bdAstar(Pgr_edge_xy_t *data_edges, size_t total_edges, pgr_combination_t *combinations, size_t total_combinations, int64_t *start_vidsArr, size_t size_start_vidsArr, int64_t *end_vidsArr, size_t size_end_vidsArr, bool directed, int heuristic, double factor, double epsilon, bool only_cost, General_path_element_t **return_tuples, size_t *return_count, char **log_msg, char **notice_msg, char **err_msg)
Definition: bdAstar_driver.cpp:141
pgr_combination_t.h
pgr_edge_xy_t.h
pgr_combination_t
Definition: pgr_combination_t.h:43
General_path_element_t
Definition: general_path_element_t.h:37
general_path_element_t.h
Pgr_edge_xy_t
Definition: pgr_edge_xy_t.h:38