PGROUTING  2.6-dev
pickDeliverEuclidean_driver.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 File: pickDeliverEuclidean_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_PICKDELIVEREUCLIDEAN_DRIVER_H_
32 #define INCLUDE_DRIVERS_PICKDELIVER_PICKDELIVEREUCLIDEAN_DRIVER_H_
33 #pragma once
34 
38 
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 
43  /*********************************************************
44  orders_sql TEXT,
45  max_vehicles INTEGER,
46  capacity FLOAT,
47  max_cycles INTEGER,
48  ********************************************************/
50  PickDeliveryOrders_t *pd_orders_arr, size_t total_pd_orders,
51  Vehicle_t *vehicles_arr, size_t total_vehicles,
52 
53  double factor,
54  int max_cycles,
55  int initial_solution_id,
56 
57  General_vehicle_orders_t **return_tuples,
58  size_t *return_count,
59 
60  char **log_msg,
61  char **notice_msg,
62  char **err_msg);
63 
64 
65 #ifdef __cplusplus
66 }
67 #endif
68 
69 #endif // INCLUDE_DRIVERS_PICKDELIVER_PICKDELIVEREUCLIDEAN_DRIVER_H_
void do_pgr_pickDeliverEuclidean(PickDeliveryOrders_t *pd_orders_arr, size_t total_pd_orders, Vehicle_t *vehicles_arr, size_t total_vehicles, 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)