GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-36359e2344
|
#include "tavl.h"
Go to the source code of this file.
Data Structures | |
struct | _dglTreeNode |
struct | _dglTreeNode2 |
struct | _dglTreeEdge |
struct | _dglTreeTouchI32 |
struct | _dglTreePredist |
struct | _dglTreeNodePri32 |
struct | _dglTreeEdgePri32 |
Macros | |
#define | USE_THREADED_AVL |
#define | avl_table tavl_table |
#define | avl_traverser tavl_traverser |
#define | avl_create tavl_create |
#define | avl_copy tavl_copy |
#define | avl_destroy tavl_destroy |
#define | avl_probe tavl_probe |
#define | avl_insert tavl_insert |
#define | avl_replace tavl_replace |
#define | avl_delete tavl_delete |
#define | avl_find tavl_find |
#define | avl_assert_insert tavl_assert_insert |
#define | avl_assert_delete tavl_assert_delete |
#define | avl_t_init tavl_t_init |
#define | avl_t_first tavl_t_first |
#define | avl_t_last tavl_t_last |
#define | avl_t_find tavl_t_find |
#define | avl_t_insert tavl_t_insert |
#define | avl_t_copy tavl_t_copy |
#define | avl_t_next tavl_t_next |
#define | avl_t_prev tavl_t_prev |
#define | avl_t_cur tavl_t_cur |
#define | avl_t_replace tavl_t_replace |
Typedefs | |
typedef struct _dglTreeNode | dglTreeNode_s |
typedef struct _dglTreeNode2 | dglTreeNode2_s |
typedef struct _dglTreeEdge | dglTreeEdge_s |
typedef struct _dglTreeTouchI32 | dglTreeTouchI32_s |
typedef struct _dglTreePredist | dglTreePredist_s |
typedef struct _dglTreeNodePri32 | dglTreeNodePri32_s |
typedef struct _dglTreeEdgePri32 | dglTreeEdgePri32_s |
Functions | |
void * | dglTreeGetAllocator (void) |
dglTreeNode_s * | dglTreeNodeAlloc (void) |
void | dglTreeNodeCancel (void *pvNode, void *pvParam) |
int | dglTreeNodeCompare (const void *pvNodeA, const void *pvNodeB, void *pvParam) |
dglTreeNode_s * | dglTreeNodeAdd (void *pvAVL, dglInt32_t nKey) |
dglTreeNode2_s * | dglTreeNode2Alloc (void) |
void | dglTreeNode2Cancel (void *pvNode, void *pvParam) |
int | dglTreeNode2Compare (const void *pvNodeA, const void *pvNodeB, void *pvParam) |
dglTreeNode2_s * | dglTreeNode2Add (void *pvAVL, dglInt32_t nKey) |
dglTreeEdge_s * | dglTreeEdgeAlloc (void) |
void | dglTreeEdgeCancel (void *pvEdge, void *pvParam) |
int | dglTreeEdgeCompare (const void *pvEdgeA, const void *pvEdgeB, void *pvParam) |
dglTreeEdge_s * | dglTreeEdgeAdd (void *pvAVL, dglInt32_t nKey) |
dglTreeTouchI32_s * | dglTreeTouchI32Alloc (void) |
void | dglTreeTouchI32Cancel (void *pvTouchI32, void *pvParam) |
int | dglTreeTouchI32Compare (const void *pvTouchI32A, const void *pvTouchI32B, void *pvParam) |
dglTreeTouchI32_s * | dglTreeTouchI32Add (void *pvAVL, dglInt32_t nKey) |
dglTreePredist_s * | dglTreePredistAlloc (void) |
void | dglTreePredistCancel (void *pvPredist, void *pvParam) |
int | dglTreePredistCompare (const void *pvPredistA, const void *pvPredistB, void *pvParam) |
dglTreePredist_s * | dglTreePredistAdd (void *pvAVL, dglInt32_t nKey) |
dglTreeNodePri32_s * | dglTreeNodePri32Alloc (void) |
void | dglTreeNodePri32Cancel (void *pvNodePri32, void *pvParam) |
int | dglTreeNodePri32Compare (const void *pvNodePri32A, const void *pvNodePri32B, void *pvParam) |
dglTreeNodePri32_s * | dglTreeNodePri32Add (void *pvAVL, dglInt32_t nKey) |
dglTreeEdgePri32_s * | dglTreeEdgePri32Alloc (void) |
void | dglTreeEdgePri32Cancel (void *pvEdgePri32, void *pvParam) |
int | dglTreeEdgePri32Compare (const void *pvEdgePri32A, const void *pvEdgePri32B, void *pvParam) |
dglTreeEdgePri32_s * | dglTreeEdgePri32Add (void *pvAVL, dglInt32_t nKey) |
#define avl_assert_delete tavl_assert_delete |
#define avl_assert_insert tavl_assert_insert |
#define avl_create tavl_create |
#define avl_delete tavl_delete |
#define avl_destroy tavl_destroy |
#define avl_insert tavl_insert |
#define avl_probe tavl_probe |
#define avl_replace tavl_replace |
#define avl_t_copy tavl_t_copy |
#define avl_t_cur tavl_t_cur |
#define avl_t_find tavl_t_find |
#define avl_t_first tavl_t_first |
#define avl_t_init tavl_t_init |
#define avl_t_insert tavl_t_insert |
#define avl_t_last tavl_t_last |
#define avl_t_next tavl_t_next |
#define avl_t_prev tavl_t_prev |
#define avl_t_replace tavl_t_replace |
#define avl_table tavl_table |
#define avl_traverser tavl_traverser |
typedef struct _dglTreeEdge dglTreeEdge_s |
typedef struct _dglTreeEdgePri32 dglTreeEdgePri32_s |
typedef struct _dglTreeNode2 dglTreeNode2_s |
typedef struct _dglTreeNode dglTreeNode_s |
typedef struct _dglTreeNodePri32 dglTreeNodePri32_s |
typedef struct _dglTreePredist dglTreePredist_s |
typedef struct _dglTreeTouchI32 dglTreeTouchI32_s |
dglTreeEdge_s* dglTreeEdgeAdd | ( | void * | pvAVL, |
dglInt32_t | nKey | ||
) |
Definition at line 171 of file tree.c.
References avl_probe, dglTreeEdgeAlloc(), free(), _dglTreeEdge::nKey, and NULL.
Referenced by DGL_ADD_EDGE_FUNC().
dglTreeEdge_s* dglTreeEdgeAlloc | ( | void | ) |
void dglTreeEdgeCancel | ( | void * | pvEdge, |
void * | pvParam | ||
) |
int dglTreeEdgeCompare | ( | const void * | pvEdgeA, |
const void * | pvEdgeB, | ||
void * | pvParam | ||
) |
dglTreeEdgePri32_s* dglTreeEdgePri32Add | ( | void * | pvAVL, |
dglInt32_t | nKey | ||
) |
Definition at line 373 of file tree.c.
References avl_probe, dglTreeEdgePri32Alloc(), free(), _dglTreeEdgePri32::nKey, and NULL.
Referenced by dgl_edge_prioritizer_add().
dglTreeEdgePri32_s* dglTreeEdgePri32Alloc | ( | void | ) |
void dglTreeEdgePri32Cancel | ( | void * | pvEdgePri32, |
void * | pvParam | ||
) |
int dglTreeEdgePri32Compare | ( | const void * | pvEdgePri32A, |
const void * | pvEdgePri32B, | ||
void * | pvParam | ||
) |
void* dglTreeGetAllocator | ( | void | ) |
Definition at line 406 of file tree.c.
Referenced by dgl_edge_prioritizer_add(), dgl_initialize_V1(), dgl_initialize_V2(), DGL_SP_CACHE_INITIALIZE_FUNC(), DGL_UNFLATTEN_FUNC(), dglDepthComponents(), and dglDepthSpanning().
dglTreeNode2_s* dglTreeNode2Add | ( | void * | pvAVL, |
dglInt32_t | nKey | ||
) |
Definition at line 120 of file tree.c.
References avl_probe, dglTreeNode2Alloc(), free(), _dglTreeNode2::nKey, and NULL.
dglTreeNode2_s* dglTreeNode2Alloc | ( | void | ) |
void dglTreeNode2Cancel | ( | void * | pvNode, |
void * | pvParam | ||
) |
int dglTreeNode2Compare | ( | const void * | pvNodeA, |
const void * | pvNodeB, | ||
void * | pvParam | ||
) |
dglTreeNode_s* dglTreeNodeAdd | ( | void * | pvAVL, |
dglInt32_t | nKey | ||
) |
Definition at line 66 of file tree.c.
References avl_probe, dglTreeNodeAlloc(), free(), _dglTreeNode::nKey, and NULL.
Referenced by DGL_SPAN_DEPTHFIRST_SPANNING_FUNC().
dglTreeNode_s* dglTreeNodeAlloc | ( | void | ) |
void dglTreeNodeCancel | ( | void * | pvNode, |
void * | pvParam | ||
) |
int dglTreeNodeCompare | ( | const void * | pvNodeA, |
const void * | pvNodeB, | ||
void * | pvParam | ||
) |
dglTreeNodePri32_s* dglTreeNodePri32Add | ( | void * | pvAVL, |
dglInt32_t | nKey | ||
) |
Definition at line 320 of file tree.c.
References avl_probe, dglTreeNodePri32Alloc(), free(), _dglTreeNodePri32::nKey, and NULL.
dglTreeNodePri32_s* dglTreeNodePri32Alloc | ( | void | ) |
void dglTreeNodePri32Cancel | ( | void * | pvNodePri32, |
void * | pvParam | ||
) |
int dglTreeNodePri32Compare | ( | const void * | pvNodePri32A, |
const void * | pvNodePri32B, | ||
void * | pvParam | ||
) |
dglTreePredist_s* dglTreePredistAdd | ( | void * | pvAVL, |
dglInt32_t | nKey | ||
) |
Definition at line 270 of file tree.c.
References avl_probe, dglTreePredistAlloc(), free(), _dglTreePredist::nKey, and NULL.
dglTreePredist_s* dglTreePredistAlloc | ( | void | ) |
void dglTreePredistCancel | ( | void * | pvPredist, |
void * | pvParam | ||
) |
int dglTreePredistCompare | ( | const void * | pvPredistA, |
const void * | pvPredistB, | ||
void * | pvParam | ||
) |
dglTreeTouchI32_s* dglTreeTouchI32Add | ( | void * | pvAVL, |
dglInt32_t | nKey | ||
) |
Definition at line 220 of file tree.c.
References avl_probe, dglTreeTouchI32Alloc(), free(), _dglTreeTouchI32::nKey, and NULL.
dglTreeTouchI32_s* dglTreeTouchI32Alloc | ( | void | ) |
Definition at line 194 of file tree.c.
References malloc(), and _dglTreeTouchI32::nKey.
Referenced by dglTreeTouchI32Add().
void dglTreeTouchI32Cancel | ( | void * | pvTouchI32, |
void * | pvParam | ||
) |
int dglTreeTouchI32Compare | ( | const void * | pvTouchI32A, |
const void * | pvTouchI32B, | ||
void * | pvParam | ||
) |