GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-f63024f571
|
#include <grass/gis.h>
Go to the source code of this file.
Functions | |
int | DGL_ADD_EDGE_FUNC (dglGraph_s *pgraph, dglInt32_t nHead, dglInt32_t nTail, dglInt32_t nCost, dglInt32_t nEdge, void *pvHeadAttr, void *pvTailAttr, void *pvEdgeAttr, dglInt32_t nFlags) |
int | DGL_DEL_EDGE_FUNC (dglGraph_s *pgraph, dglInt32_t nEdge UNUSED) |
dglInt32_t * | DGL_GET_EDGE_FUNC (dglGraph_s *pgraph, dglInt32_t nEdge UNUSED) |
int DGL_ADD_EDGE_FUNC | ( | dglGraph_s * | pgraph, |
dglInt32_t | nHead, | ||
dglInt32_t | nTail, | ||
dglInt32_t | nCost, | ||
dglInt32_t | nEdge, | ||
void * | pvHeadAttr, | ||
void * | pvTailAttr, | ||
void * | pvEdgeAttr, | ||
dglInt32_t | nFlags | ||
) |
Definition at line 29 of file edgemgmt-template.c.
References _dglGraph::cAlone, _dglGraph::cEdge, _dglGraph::cHead, _dglGraph::cNode, _dglGraph::cTail, DGL_EDGE_ALLOC, DGL_EDGE_ATTR_PTR, DGL_EDGE_COST, DGL_EDGE_HEADNODE_OFFSET, DGL_EDGE_ID, dgl_edge_prioritizer_add(), DGL_EDGE_STATUS, DGL_EDGE_TAILNODE_OFFSET, DGL_EDGESET_ALLOC, DGL_EDGESET_EDGE_PTR, DGL_EDGESET_EDGECOUNT, DGL_EDGESET_REALLOC, DGL_ERR_BadOnFlatGraph, DGL_ERR_EdgeAlreadyExist, DGL_ERR_MemoryExhausted, DGL_ES_DIRECTED, DGL_GO_EdgePrioritize_COST, DGL_GS_FLAT, DGL_NODE_ALLOC, DGL_NODE_ATTR_PTR, DGL_NODE_EDGESET_OFFSET, DGL_NODE_ID, DGL_NODE_STATUS, DGL_NS_ALONE, DGL_NS_HEAD, DGL_NS_TAIL, DGL_STRONGCONNECT, DGL_T_NODEITEM_Add, DGL_T_NODEITEM_InEdgesetPTR, DGL_T_NODEITEM_NodePTR, DGL_T_NODEITEM_OutEdgesetPTR, DGL_T_NODEITEM_Set_InEdgesetPTR, DGL_T_NODEITEM_Set_NodePTR, DGL_T_NODEITEM_Set_OutEdgesetPTR, DGL_T_NODEITEM_TYPE, dglTreeEdgeAdd(), _dglGraph::EdgeAttrSize, _dglGraph::Flags, _dglGraph::iErrno, _dglGraph::nnCost, _dglGraph::NodeAttrSize, _dglGraph::nOptions, NULL, _dglGraph::pEdgeTree, _dglGraph::pNodeTree, and _dglTreeEdge::pv.
Referenced by DGL_SPAN_DEPTHFIRST_SPANNING_FUNC(), DGL_SPAN_MINIMUM_SPANNING_FUNC(), and DGL_UNFLATTEN_FUNC().
int DGL_DEL_EDGE_FUNC | ( | dglGraph_s * | pgraph, |
dglInt32_t nEdge | UNUSED | ||
) |
Definition at line 282 of file edgemgmt-template.c.
References avl_delete, avl_find, _dglGraph::cEdge, DGL_DEL_NODE_INEDGE_FUNC(), DGL_DEL_NODE_OUTEDGE_FUNC(), DGL_EDGE_COST, DGL_EDGE_HEADNODE_OFFSET, DGL_EDGE_ID, dgl_edge_prioritizer_del(), DGL_EDGE_TAILNODE_OFFSET, DGL_ERR_BadOnFlatGraph, DGL_ERR_EdgeNotFound, DGL_ERR_NotSupported, DGL_ERR_UnexpectedNullPointer, DGL_GO_EdgePrioritize_COST, DGL_GS_FLAT, dglTreeEdgeCancel(), _dglGraph::Flags, _dglGraph::iErrno, _dglTreeEdge::nKey, _dglGraph::nnCost, _dglGraph::nOptions, NULL, _dglGraph::pEdgeTree, and _dglTreeEdge::pv.
dglInt32_t* DGL_GET_EDGE_FUNC | ( | dglGraph_s * | pgraph, |
dglInt32_t nEdge | UNUSED | ||
) |
Definition at line 338 of file edgemgmt-template.c.
References avl_find, _dglGraph::cEdge, DGL_EDGE_ID, DGL_EDGE_WSIZE, DGL_ERR_NotSupported, DGL_GS_FLAT, _dglGraph::EdgeAttrSize, _dglGraph::Flags, _dglGraph::iErrno, _dglTreeEdge::nKey, NULL, _dglGraph::pEdgeBuffer, _dglGraph::pEdgeTree, and _dglTreeEdge::pv.
Referenced by DGL_EDGE_T_FIRST_FUNC(), DGL_EDGE_T_NEXT_FUNC(), and DGL_FLATTEN_FUNC().