GRASS GIS 8 Programmer's Manual  8.2.2dev(2023)-3d2c704037
graph_v2.c File Reference
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <stdlib.h>
#include <errno.h>
#include "type.h"
#include "tree.h"
#include "graph.h"
#include "graph_v2.h"
#include "helpers.h"
#include "v2-defs.h"
#include "sp-template.c"
#include "nodemgmt-template.c"
#include "edgemgmt-template.c"
#include "misc-template.c"
#include "span-template.c"
Include dependency graph for graph_v2.c:

Go to the source code of this file.

Macros

#define DGL_DEFINE_TREE_PROCS   1
 
#define DGL_DEFINE_FLAT_PROCS   1
 

Functions

int dgl_dijkstra_V2 (dglGraph_s *pgraph, dglSPReport_s **ppReport, dglInt32_t *pDistance, dglInt32_t nStart, dglInt32_t nDestination, dglSPClip_fn fnClip, void *pvClipArg, dglSPCache_s *pCache)
 
int dgl_depthfirst_spanning_V2 (dglGraph_s *pgraphIn, dglGraph_s *pgraphOut, dglInt32_t nVertex, void *pvVisited, dglSpanClip_fn fnClip, void *pvClipArg)
 
int dgl_minimum_spanning_V2 (dglGraph_s *pgraphIn, dglGraph_s *pgraphOut, dglInt32_t nVertex, dglSpanClip_fn fnClip, void *pvClipArg)
 
int dgl_initialize_V2 (dglGraph_s *pgraph)
 
int dgl_release_V2 (dglGraph_s *pgraph)
 
int dgl_write_V2 (dglGraph_s *pgraph, int fd)
 
int dgl_read_V2 (dglGraph_s *pgraph, int fd, int version)
 

Macro Definition Documentation

◆ DGL_DEFINE_FLAT_PROCS

#define DGL_DEFINE_FLAT_PROCS   1

Definition at line 59 of file graph_v2.c.

◆ DGL_DEFINE_TREE_PROCS

#define DGL_DEFINE_TREE_PROCS   1

Definition at line 50 of file graph_v2.c.

Function Documentation

◆ dgl_depthfirst_spanning_V2()

int dgl_depthfirst_spanning_V2 ( dglGraph_s pgraphIn,
dglGraph_s pgraphOut,
dglInt32_t  nVertex,
void *  pvVisited,
dglSpanClip_fn  fnClip,
void *  pvClipArg 
)

◆ dgl_dijkstra_V2()

int dgl_dijkstra_V2 ( dglGraph_s pgraph,
dglSPReport_s **  ppReport,
dglInt32_t pDistance,
dglInt32_t  nStart,
dglInt32_t  nDestination,
dglSPClip_fn  fnClip,
void *  pvClipArg,
dglSPCache_s pCache 
)

◆ dgl_initialize_V2()

◆ dgl_minimum_spanning_V2()

int dgl_minimum_spanning_V2 ( dglGraph_s pgraphIn,
dglGraph_s pgraphOut,
dglInt32_t  nVertex,
dglSpanClip_fn  fnClip,
void *  pvClipArg 
)

◆ dgl_read_V2()

◆ dgl_release_V2()

◆ dgl_write_V2()