PGROUTING  2.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
bdastar.c File Reference
#include "./../../common/src/postgres_connection.h"
#include "catalog/pg_type.h"
#include <stdio.h>
#include <stdlib.h>
#include <search.h>
#include "../../common/src/pgr_types.h"
#include "./bdastar_driver.h"
#include "../../common/src/debug_macro.h"

Go to the source code of this file.

Classes

struct  edge_astar_columns
 

Macros

#define TUPLIMIT   1000
 

Typedefs

typedef struct edge_astar_columns edge_astar_columns_t
 

Functions

PGDLLEXPORT Datum bidir_astar_shortest_path (PG_FUNCTION_ARGS)
 
static int compute_shortest_path_astar (char *sql, int source_vertex_id, int target_vertex_id, bool directed, bool has_reverse_cost, path_element_t **path, size_t *path_count)
 
static void fetch_edge_astar (HeapTuple *tuple, TupleDesc *tupdesc, edge_astar_columns_t *edge_columns, edge_astar_t *target_edge)
 
static int fetch_edge_astar_columns (SPITupleTable *tuptable, edge_astar_columns_t *edge_columns, bool has_reverse_cost)
 
 PG_FUNCTION_INFO_V1 (bidir_astar_shortest_path)
 

Macro Definition Documentation

#define TUPLIMIT   1000

Definition at line 46 of file bdastar.c.

Referenced by compute_shortest_path_astar().

Typedef Documentation

Function Documentation

PGDLLEXPORT Datum bidir_astar_shortest_path ( PG_FUNCTION_ARGS  )
static int compute_shortest_path_astar ( char *  sql,
int  source_vertex_id,
int  target_vertex_id,
bool  directed,
bool  has_reverse_cost,
path_element_t **  path,
size_t *  path_count 
)
static
static int fetch_edge_astar_columns ( SPITupleTable *  tuptable,
edge_astar_columns_t edge_columns,
bool  has_reverse_cost 
)
static
PG_FUNCTION_INFO_V1 ( bidir_astar_shortest_path  )