vrpRouting  0.3
compatibleVehicles_driver.h
Go to the documentation of this file.
1 /*PGR-GNU*****************************************************************
2 File: compatibleVehicles_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_COMPATIBLEVEHICLES_DRIVER_H_
32 #define INCLUDE_DRIVERS_COMPATIBLEVEHICLES_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 typedef struct Vehicle_t Vehicle_t;
47 
48 #ifdef __cplusplus
49 extern "C" {
50 #endif
51 
54  PickDeliveryOrders_t customers_arr[], size_t total_customers,
55  Vehicle_t *vehicles_arr, size_t total_vehicles,
56  Matrix_cell_t *matrix_cells_arr, size_t total_cells,
57  Time_multipliers_t *multipliers_arr, size_t total_multipliers,
58 
59  double factor,
60 
61  CompatibleVehicles_rt **return_tuples,
62  size_t *return_count,
63 
64  char **log_msg,
65  char **notice_msg,
66  char **err_msg);
67 
68 
69 #ifdef __cplusplus
70 }
71 #endif
72 
73 #endif // INCLUDE_DRIVERS_COMPATIBLEVEHICLES_DRIVER_H_
PickDeliveryOrders_t
order's attributes
Definition: pickDeliveryOrders_t.h:56
Time_multipliers_t
Time Dependant Multipliers.
Definition: time_multipliers_t.h:46
Vehicle_t
vehicles's attributes
Definition: vehicle_t.h:50
Matrix_cell_t
traveling costs
Definition: matrix_cell_t.h:41
CompatibleVehicles_rt
order-vehicle compatability relationship
Definition: compatibleVehicles_rt.h:50
do_compatibleVehicles
void do_compatibleVehicles(PickDeliveryOrders_t customers_arr[], size_t total_customers, Vehicle_t *vehicles_arr, size_t total_vehicles, Matrix_cell_t *matrix_cells_arr, size_t total_cells, Time_multipliers_t *multipliers_arr, size_t total_multipliers, double factor, CompatibleVehicles_rt **return_tuples, size_t *return_count, char **log_msg, char **notice_msg, char **err_msg)
Driver for processing a "compatible vehicles" problem.
Definition: compatibleVehicles_driver.cpp:98