
Go to the source code of this file.
Functions | |
| int | DGL_ADD_NODE_FUNC (dglGraph_s *pgraph, dglInt32_t nId, void *pvNodeAttr, dglInt32_t nFlags) |
| int | DGL_DEL_NODE_OUTEDGE_FUNC (dglGraph_s *pgraph, dglInt32_t nNode, dglInt32_t nEdge) |
| int | DGL_DEL_NODE_INEDGE_FUNC (dglGraph_s *pgraph, dglInt32_t nNode, dglInt32_t nEdge) |
| int | DGL_DEL_NODE_FUNC (dglGraph_s *pgraph, dglInt32_t nNodeId) |
| dglInt32_t * | DGL_GET_NODE_FUNC (dglGraph_s *pgraph, dglInt32_t nodeid) |
| dglInt32_t * | DGL_GET_NODE_OUTEDGESET_FUNC (dglGraph_s *pgraph, dglInt32_t *pnode) |
| dglInt32_t * | DGL_GET_NODE_INEDGESET_FUNC (dglGraph_s *pgraph, dglInt32_t *pnode) |
| int DGL_ADD_NODE_FUNC | ( | dglGraph_s * | pgraph, | |
| dglInt32_t | nId, | |||
| void * | pvNodeAttr, | |||
| dglInt32_t | nFlags | |||
| ) |
Definition at line 23 of file nodemgmt-template.c.
References dglGraph_s::cAlone, dglGraph_s::cNode, DGL_ERR_BadOnFlatGraph, DGL_ERR_MemoryExhausted, DGL_ERR_NodeAlreadyExist, DGL_GS_FLAT, DGL_NODE_ALLOC, DGL_NODE_ID, DGL_NODE_SIZEOF, DGL_NODE_STATUS, DGL_NS_ALONE, DGL_T_NODEITEM_Add, DGL_T_NODEITEM_NodePTR, DGL_T_NODEITEM_Set_NodePTR, DGL_T_NODEITEM_TYPE, dglGraph_s::Flags, dglGraph_s::iErrno, dglGraph_s::NodeAttrSize, and dglGraph_s::pNodeTree.
| int DGL_DEL_NODE_FUNC | ( | dglGraph_s * | pgraph, | |
| dglInt32_t | nNodeId | |||
| ) |
Definition at line 204 of file nodemgmt-template.c.
References avl_delete, avl_find, dglGraph_s::cAlone, dglGraph_s::cEdge, dglGraph_s::cHead, dglGraph_s::cNode, dglGraph_s::cTail, 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_EDGESET_T_FIRST_FUNC, DGL_EDGESET_T_INITIALIZE_FUNC, DGL_EDGESET_T_NEXT_FUNC, DGL_EDGESET_T_RELEASE_FUNC, DGL_ERR_BadOnFlatGraph, DGL_ERR_NodeNotFound, DGL_ERR_NotSupported, DGL_ERR_UnexpectedNullPointer, DGL_GO_EdgePrioritize_COST, DGL_GS_FLAT, DGL_NODE_ID, DGL_NODE_STATUS, DGL_NS_ALONE, DGL_NS_HEAD, DGL_NS_TAIL, DGL_T_NODEITEM_Cancel, DGL_T_NODEITEM_InEdgesetPTR, DGL_T_NODEITEM_NodePTR, DGL_T_NODEITEM_OutEdgesetPTR, DGL_T_NODEITEM_TYPE, dglTreeEdgeCancel(), dglGraph_s::Flags, dglGraph_s::iErrno, dglGraph_s::nnCost, dglGraph_s::nOptions, dglGraph_s::pEdgeTree, dglGraph_s::pNodeTree, and dglEdgesetTraverser_s::pvCurrentItem.
| int DGL_DEL_NODE_INEDGE_FUNC | ( | dglGraph_s * | pgraph, | |
| dglInt32_t | nNode, | |||
| dglInt32_t | nEdge | |||
| ) |
Definition at line 137 of file nodemgmt-template.c.
References avl_find, dglGraph_s::cAlone, dglGraph_s::cHead, dglGraph_s::cTail, DGL_EDGE_ID, DGL_EDGESET_EDGECOUNT, DGL_EDGESET_T_FIRST_FUNC, DGL_EDGESET_T_INITIALIZE_FUNC, DGL_EDGESET_T_NEXT_FUNC, DGL_ERR_MemoryExhausted, DGL_NODE_STATUS, DGL_NS_ALONE, DGL_NS_HEAD, DGL_NS_TAIL, DGL_T_NODEITEM_InEdgesetPTR, DGL_T_NODEITEM_NodePTR, DGL_T_NODEITEM_OutEdgesetPTR, DGL_T_NODEITEM_Set_InEdgesetPTR, DGL_T_NODEITEM_TYPE, dglGraph_s::iErrno, and dglGraph_s::pNodeTree.
| int DGL_DEL_NODE_OUTEDGE_FUNC | ( | dglGraph_s * | pgraph, | |
| dglInt32_t | nNode, | |||
| dglInt32_t | nEdge | |||
| ) |
Definition at line 71 of file nodemgmt-template.c.
References avl_find, dglGraph_s::cAlone, dglGraph_s::cHead, dglGraph_s::cTail, DGL_EDGE_ID, DGL_EDGESET_EDGECOUNT, DGL_EDGESET_T_FIRST_FUNC, DGL_EDGESET_T_INITIALIZE_FUNC, DGL_EDGESET_T_NEXT_FUNC, DGL_ERR_MemoryExhausted, DGL_NODE_STATUS, DGL_NS_ALONE, DGL_NS_HEAD, DGL_NS_TAIL, DGL_T_NODEITEM_InEdgesetPTR, DGL_T_NODEITEM_NodePTR, DGL_T_NODEITEM_OutEdgesetPTR, DGL_T_NODEITEM_Set_OutEdgesetPTR, DGL_T_NODEITEM_TYPE, dglGraph_s::iErrno, and dglGraph_s::pNodeTree.
| dglInt32_t* DGL_GET_NODE_FUNC | ( | dglGraph_s * | pgraph, | |
| dglInt32_t | nodeid | |||
| ) |
Definition at line 319 of file nodemgmt-template.c.
References avl_find, dglGraph_s::cNode, DGL_GS_FLAT, DGL_NODE_ID, DGL_NODE_WSIZE, dglGraph_s::Flags, dglGraph_s::iErrno, dglTreeNode_s::nKey, dglGraph_s::NodeAttrSize, dglGraph_s::pNodeBuffer, dglGraph_s::pNodeTree, and dglTreeNode_s::pv.
| dglInt32_t* DGL_GET_NODE_INEDGESET_FUNC | ( | dglGraph_s * | pgraph, | |
| dglInt32_t * | pnode | |||
| ) |
Definition at line 404 of file nodemgmt-template.c.
References avl_find, DGL_EDGEBUFFER_SHIFT, DGL_EDGESET_EDGECOUNT, DGL_EDGESET_WSIZE, DGL_ERR_NodeIsAComponent, DGL_ERR_NotSupported, DGL_ERR_UnexpectedNullPointer, DGL_GS_FLAT, DGL_NODE_EDGESET_OFFSET, DGL_NODE_ID, DGL_NODE_STATUS, DGL_NS_ALONE, DGL_T_NODEITEM_InEdgesetPTR, DGL_T_NODEITEM_TYPE, dglGraph_s::EdgeAttrSize, dglGraph_s::Flags, dglGraph_s::iErrno, and dglGraph_s::pNodeTree.
| dglInt32_t* DGL_GET_NODE_OUTEDGESET_FUNC | ( | dglGraph_s * | pgraph, | |
| dglInt32_t * | pnode | |||
| ) |
Definition at line 373 of file nodemgmt-template.c.
References avl_find, DGL_EDGEBUFFER_SHIFT, DGL_ERR_NodeIsAComponent, DGL_ERR_UnexpectedNullPointer, DGL_GS_FLAT, DGL_NODE_EDGESET_OFFSET, DGL_NODE_ID, DGL_NODE_STATUS, DGL_NS_ALONE, DGL_T_NODEITEM_OutEdgesetPTR, DGL_T_NODEITEM_TYPE, dglGraph_s::Flags, dglGraph_s::iErrno, and dglGraph_s::pNodeTree.
1.5.3