PGROUTING  2.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
pickDeliver_driver.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 File: pickDeliver_driver.h
3 
4 Copyright (c) 2015 pgRouting developers
5 Mail: project@pgrouting.org
6 
7 Function's developer:
8 Copyright (c) 2015 Celia Virginia Vergara Castillo
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 #pragma once
29 #ifndef SRC_PICKDELIVER_SRC_PICKDELIVER_DRIVER_H_
30 #define SRC_PICKDELIVER_SRC_PICKDELIVER_DRIVER_H_
31 
32 #include "./../../common/src/pgr_types.h"
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
38  /*********************************************************
39  orders_sql TEXT,
40  max_vehicles INTEGER,
41  capacity FLOAT,
42  max_cycles INTEGER,
43  ********************************************************/
44  void do_pgr_pickDeliver(
45  Customer_t *customers_arr, size_t total_customers,
46  int max_vehicles,
47  double capacity,
48  double speed,
49  int max_cycles,
50  General_vehicle_orders_t **return_tuples,
51  size_t *return_count,
52  char ** log_msg,
53  char ** err_msg);
54 
55 
56 #ifdef __cplusplus
57 }
58 #endif
59 
60 #endif // SRC_PICKDELIVER_SRC_PICKDELIVER_DRIVER_H_
void do_pgr_pickDeliver(Customer_t *customers_arr, size_t total_customers, int max_vehicles, double capacity, double speed, int max_cycles, General_vehicle_orders_t **return_tuples, size_t *return_count, char **log_msg, char **err_msg)
char * err_msg
Definition: BDATester.cpp:50