PGROUTING  2.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
VRP_core.cpp File Reference
#include "../../common/src/pgr_alloc.hpp"
#include "VRP.h"
#include "VRP_Solver.h"
#include <vector>
#include <string>
#include <exception>
#include "../../common/src/pgr_logger.h"

Go to the source code of this file.

Macros

#define PGR_LOGGER_FILE   "/tmp/vrp-debug.log"
 
#define PGR_LOGGER_LOC
 

Functions

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 **results, size_t *result_count, char **err_msg)
 
void loadDistanceMatrix (vrp_cost_element_t *costmatrix, int cost_count, int depotId)
 
void loadOrders (vrp_orders_t *orders, int order_count, int depotId)
 
void loadVehicles (vrp_vehicles_t *vehicles, int vehicle_count)
 

Variables

CVRPSolver solver
 

Macro Definition Documentation

#define PGR_LOGGER_FILE   "/tmp/vrp-debug.log"

Definition at line 39 of file VRP_core.cpp.

#define PGR_LOGGER_LOC

Definition at line 38 of file VRP_core.cpp.

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 **  results,
size_t *  result_count,
char **  err_msg 
)
void loadVehicles ( vrp_vehicles_t vehicles,
int  vehicle_count 
)

Variable Documentation

CVRPSolver solver

Definition at line 42 of file VRP_core.cpp.