PGROUTING  3.2
combinations_input.h File Reference
#include <stddef.h>
#include "c_types/pgr_combination_t.h"
Include dependency graph for combinations_input.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void pgr_get_combinations (char *combinations_sql, pgr_combination_t **combinations, size_t *total_combinations)
 combinations_sql More...
 

Function Documentation

◆ pgr_get_combinations()

void pgr_get_combinations ( char *  combinations_sql,
pgr_combination_t **  combinations,
size_t *  total_combinations 
)

combinations_sql

SELECT source, target
FROM combinations_table;
Parameters
[in]combinations_sql
[out]combinations
[out]combinations_edges

Definition at line 147 of file combinations_input.c.

150  {
151  get_combinations_2_columns(combinations_sql, combinations, total_combinations);
152 }

References get_combinations_2_columns().

Referenced by process(), and process_combinations().

get_combinations_2_columns
static void get_combinations_2_columns(char *sql, pgr_combination_t **combinations, size_t *totalTuples)
Definition: combinations_input.c:66