pgRouting extends the PostGIS / PostgreSQL geospatial database to provide geospatial routing functionality.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
VRP.h File Reference
#include <stddef.h>

Go to the source code of this file.


struct  vrp_cost_element
struct  vrp_orders
struct  vrp_result_element
struct  vrp_vehicles


typedef struct vrp_cost_element vrp_cost_element_t
typedef struct vrp_orders vrp_orders_t
typedef struct vrp_result_element vrp_result_element_t
typedef struct vrp_vehicles vrp_vehicles_t


int find_vrp_solution (vrp_vehicles_t *vehicles, size_t vehicle_count, vrp_orders_t *orders, size_t order_count, vrp_cost_element_t *costmatrix, size_t cost_count, int depot_id, vrp_result_element_t **result, size_t *result_count, char **err_msg)

Typedef Documentation

typedef struct vrp_orders vrp_orders_t
typedef struct vrp_vehicles vrp_vehicles_t

Function Documentation

int find_vrp_solution ( vrp_vehicles_t vehicles,
size_t  vehicle_count,
vrp_orders_t orders,
size_t  order_count,
vrp_cost_element_t costmatrix,
size_t  cost_count,
int  depot_id,
vrp_result_element_t **  result,
size_t *  result_count,
char **  err_msg