
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) |
| dglInt32_t * | DGL_GET_EDGE_FUNC (dglGraph_s *pgraph, dglInt32_t nEdge) |
| 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 28 of file edgemgmt-template.c.
References dglGraph_s::cAlone, dglGraph_s::cEdge, dglGraph_s::cHead, dglGraph_s::cNode, dglGraph_s::cTail, DGL_ADD_EDGE_FUNC, 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_s::EdgeAttrSize, dglGraph_s::Flags, dglGraph_s::iErrno, dglTreeEdge_s::nKey, dglGraph_s::nnCost, dglGraph_s::NodeAttrSize, dglGraph_s::nOptions, dglGraph_s::pEdgeTree, dglGraph_s::pNodeTree, and dglTreeEdge_s::pv.
| int DGL_DEL_EDGE_FUNC | ( | dglGraph_s * | pgraph, | |
| dglInt32_t | nEdge | |||
| ) |
Definition at line 294 of file edgemgmt-template.c.
References avl_delete, avl_find, dglGraph_s::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_s::Flags, dglGraph_s::iErrno, dglTreeEdge_s::nKey, dglGraph_s::nnCost, dglGraph_s::nOptions, dglGraph_s::pEdgeTree, and dglTreeEdge_s::pv.
| dglInt32_t* DGL_GET_EDGE_FUNC | ( | dglGraph_s * | pgraph, | |
| dglInt32_t | nEdge | |||
| ) |
Definition at line 349 of file edgemgmt-template.c.
References avl_find, dglGraph_s::cEdge, DGL_EDGE_ID, DGL_EDGE_WSIZE, DGL_ERR_NotSupported, DGL_GS_FLAT, dglGraph_s::EdgeAttrSize, dglGraph_s::Flags, dglGraph_s::iErrno, dglTreeEdge_s::nKey, dglGraph_s::pEdgeBuffer, dglGraph_s::pEdgeTree, and dglTreeEdge_s::pv.
1.5.3