PGROUTING  2.6
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 
31 #ifndef INCLUDE_DRIVERS_PICKDELIVER_PICKDELIVER_DRIVER_H_
32 #define INCLUDE_DRIVERS_PICKDELIVER_PICKDELIVER_DRIVER_H_
33 #pragma once
34 
37 #include "c_types/matrix_cell_t.h"
39 
40 #ifdef __cplusplus
41 extern "C" {
42 #endif
43 
44  /*********************************************************
45  orders_sql TEXT,
46  max_vehicles INTEGER,
47  capacity FLOAT,
48  max_cycles INTEGER,
49  ********************************************************/
50  void do_pgr_pickDeliver(
51  PickDeliveryOrders_t pd_orders_arr[], size_t total_pd_orders,
52  Vehicle_t *vehicles_arr, size_t total_vehicles,
53  Matrix_cell_t *matrix_cells_arr, size_t total_cells,
54 
55  double factor,
56  int max_cycles,
57  int initial_solution_id,
58 
59  General_vehicle_orders_t **return_tuples,
60  size_t *return_count,
61 
62  char **log_msg,
63  char **notice_msg,
64  char **err_msg);
65 
66 
67 #ifdef __cplusplus
68 }
69 #endif
70 
71 #endif // INCLUDE_DRIVERS_PICKDELIVER_PICKDELIVER_DRIVER_H_
void do_pgr_pickDeliver(PickDeliveryOrders_t pd_orders_arr[], size_t total_pd_orders, Vehicle_t *vehicles_arr, size_t total_vehicles, Matrix_cell_t *matrix_cells_arr, size_t total_cells, double factor, int max_cycles, int initial_solution_id, General_vehicle_orders_t **return_tuples, size_t *return_count, char **log_msg, char **notice_msg, char **err_msg)