GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-38f5cf43d1
graph_v1.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_v1.h"
#include "helpers.h"
#include "v1-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_v1.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_V1 (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_V1 (dglGraph_s *pgraphIn, dglGraph_s *pgraphOut, dglInt32_t nVertex, void *pvVisited, dglSpanClip_fn fnClip, void *pvClipArg)
 
int dgl_minimum_spanning_V1 (dglGraph_s *pgraphIn, dglGraph_s *pgraphOut, dglInt32_t nVertex, dglSpanClip_fn fnClip, void *pvClipArg)
 
int dgl_initialize_V1 (dglGraph_s *pgraph)
 
int dgl_release_V1 (dglGraph_s *pgraph)
 
int dgl_write_V1 (dglGraph_s *pgraph, int fd)
 
int dgl_read_V1 (dglGraph_s *pgraph, int fd)
 

Macro Definition Documentation

◆ DGL_DEFINE_FLAT_PROCS

#define DGL_DEFINE_FLAT_PROCS   1

Definition at line 55 of file graph_v1.c.

◆ DGL_DEFINE_TREE_PROCS

#define DGL_DEFINE_TREE_PROCS   1

Definition at line 47 of file graph_v1.c.

Function Documentation

◆ dgl_depthfirst_spanning_V1()

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

◆ dgl_dijkstra_V1()

int dgl_dijkstra_V1 ( 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_V1()

◆ dgl_minimum_spanning_V1()

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

◆ dgl_read_V1()

◆ dgl_release_V1()

◆ dgl_write_V1()