PGROUTING
3.2
|
#include "c_common/combinations_input.h"
#include <math.h>
#include <float.h>
#include <limits.h>
#include <stddef.h>
#include "c_types/column_info_t.h"
#include "c_types/pgr_combination_t.h"
#include "c_common/debug_macro.h"
#include "c_common/get_check_data.h"
#include "c_common/time_msg.h"
Go to the source code of this file.
Functions | |
static void | fetch_combination (HeapTuple *tuple, TupleDesc *tupdesc, Column_info_t info[2], pgr_combination_t *combination, size_t *valid_combinations) |
static void | get_combinations_2_columns (char *sql, pgr_combination_t **combinations, size_t *totalTuples) |
void | pgr_get_combinations (char *combinations_sql, pgr_combination_t **combinations, size_t *total_combinations) |
combinations_sql More... | |
|
static |
Definition at line 50 of file combinations_input.c.
References pgr_SPI_getBigInt(), pgr_combination_t::source, and pgr_combination_t::target.
Referenced by get_combinations_2_columns().
|
static |
Definition at line 66 of file combinations_input.c.
References ANY_INTEGER, Column_info_t::colNumber, Column_info_t::eType, fetch_combination(), Column_info_t::name, PGR_DBG, pgr_fetch_column_info(), pgr_SPI_cursor_open(), pgr_SPI_prepare(), Column_info_t::strict, time_msg(), and Column_info_t::type.
Referenced by pgr_get_combinations().
void pgr_get_combinations | ( | char * | combinations_sql, |
pgr_combination_t ** | combinations, | ||
size_t * | total_combinations | ||
) |
combinations_sql
[in] | combinations_sql | |
[out] | combinations | |
[out] | combinations_edges |
Definition at line 147 of file combinations_input.c.
References get_combinations_2_columns().
Referenced by process(), and process_combinations().