![]() |
vrpRouting
0.3
|
#include <stddef.h>
#include "c_common/get_check_data.h"
#include "c_types/column_info_t.h"
#include "c_types/vroom/vroom_matrix_t.h"
Go to the source code of this file.
Functions | |
void | get_vroom_matrix (char *matrix_sql, Vroom_matrix_t **matrix, size_t *total_matrix_rows, bool is_plain) |
Reads the VROOM matrix. More... | |
void get_vroom_matrix | ( | char * | sql, |
Vroom_matrix_t ** | rows, | ||
size_t * | total_rows, | ||
bool | is_plain | ||
) |
Reads the VROOM matrix.
[in] | sql | SQL query that has the following columns: start_id, end_id, duration, cost |
[in] | is_plain | Whether the plain or timestamp function is used |
[out] | rows | C Container that holds all the matrix rows |
[out] | total_rows | Total rows recieved |
cost is not mandatory
Definition at line 159 of file matrix_input.c.
References ANY_INTEGER, Column_info_t::colNumber, db_get_matrix(), Column_info_t::eType, INTEGER, INTERVAL, Column_info_t::name, Column_info_t::strict, and Column_info_t::type.
Referenced by process().