PGROUTING  3.2
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
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 
35 /* for size-t */
36 #ifdef __cplusplus
37 # include <cstddef>
38 #else
39 # include <stddef.h>
40 #endif
41 
44 #include "c_types/matrix_cell_t.h"
46 
47 #ifdef __cplusplus
48 extern "C" {
49 #endif
50 
51  /*********************************************************
52  orders_sql TEXT,
53  max_vehicles INTEGER,
54  capacity FLOAT,
55  max_cycles INTEGER,
56  ********************************************************/
57  void do_pgr_pickDeliver(
58  PickDeliveryOrders_t pd_orders_arr[], size_t total_pd_orders,
59  Vehicle_t *vehicles_arr, size_t total_vehicles,
60  Matrix_cell_t *matrix_cells_arr, size_t total_cells,
61 
62  double factor,
63  int max_cycles,
64  int initial_solution_id,
65 
66  General_vehicle_orders_t **return_tuples,
67  size_t *return_count,
68 
69  char **log_msg,
70  char **notice_msg,
71  char **err_msg);
72 
73 
74 #ifdef __cplusplus
75 }
76 #endif
77 
78 #endif // INCLUDE_DRIVERS_PICKDELIVER_PICKDELIVER_DRIVER_H_
pickDeliveryOrders_t.h
vehicle_t.h
PickDeliveryOrders_t
Definition: pickDeliveryOrders_t.h:43
general_vehicle_orders_t.h
Vehicle_t
Definition: vehicle_t.h:40
General_vehicle_orders_t
Definition: general_vehicle_orders_t.h:49
do_pgr_pickDeliver
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)
Definition: pickDeliver_driver.cpp:47
matrix_cell
Definition: matrix_cell_t.h:37
matrix_cell_t.h