GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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

#define DGL_DEFINE_FLAT_PROCS   1

Definition at line 59 of file graph_v1.c.

#define DGL_DEFINE_TREE_PROCS   1

Definition at line 50 of file graph_v1.c.

Function Documentation

int dgl_depthfirst_spanning_V1 ( dglGraph_s pgraphIn,
dglGraph_s pgraphOut,
dglInt32_t  nVertex,
void *  pvVisited,
dglSpanClip_fn  fnClip,
void *  pvClipArg 
)
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_minimum_spanning_V1 ( dglGraph_s pgraphIn,
dglGraph_s pgraphOut,
dglInt32_t  nVertex,
dglSpanClip_fn  fnClip,
void *  pvClipArg 
)