70 findNodeItem.nKey = nNode;
84 register int i1, i2, c;
94 for (i1 = 0, i2 = 0; i2 < c; i2++) {
95 if (pnEdgeset[1 + i2] != nEdge) {
96 pnSet[1 + i1++] = pnEdgeset[1 + i2];
136 findNodeItem.nKey = nNode;
150 register int i1, i2, c;
160 for (i1 = 0, i2 = 0; i2 < c; i2++) {
161 if (pnEdgeset[1 + i2] != nEdge) {
162 pnSet[1 + i1++] = pnEdgeset[1 + i2];
220 findNodeItem.nKey = nNodeId;
339 pos = top + (bot - top) / 2;
344 else if (nodeid <
id) {
347 else if (nodeid >
id) {
354 return &pref[pos * cwords];
357 findnode.
nKey = nodeid;
359 if (ptreenode && ptreenode->
pv) {
360 return ptreenode->
pv;
int DGL_DEL_NODE_FUNC(dglGraph_s *pgraph, dglInt32_t nNodeId)
int DGL_EDGESET_T_INITIALIZE_FUNC(dglGraph_s *pGraph, dglEdgesetTraverser_s *pT, dglInt32_t *pnEdgeset)
int DGL_DEL_NODE_OUTEDGE_FUNC(dglGraph_s *pgraph, dglInt32_t nNode, dglInt32_t nEdge)
#define DGL_T_NODEITEM_Add
void dglTreeEdgeCancel(void *pvEdge, void *pvParam)
#define DGL_T_NODEITEM_NodePTR(p)
#define DGL_T_NODEITEM_Set_OutEdgesetPTR(p, ptr)
#define DGL_EDGEBUFFER_SHIFT
#define DGL_ERR_NodeAlreadyExist
#define DGL_T_NODEITEM_InEdgesetPTR(p)
#define DGL_T_NODEITEM_TYPE
int DGL_DEL_NODE_INEDGE_FUNC(dglGraph_s *pgraph, dglInt32_t nNode, dglInt32_t nEdge)
#define DGL_EDGESET_WSIZE
#define DGL_EDGE_TAILNODE_OFFSET
dglInt32_t * DGL_GET_NODE_FUNC(dglGraph_s *pgraph, dglInt32_t nodeid)
#define DGL_ERR_NotSupported
#define DGL_ERR_MemoryExhausted
#define DGL_T_NODEITEM_OutEdgesetPTR(p)
#define DGL_ERR_BadOnFlatGraph
#define DGL_EDGESET_EDGECOUNT
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_edge_prioritizer_del(dglGraph_s *pG, dglInt32_t nId, dglInt32_t nPriId)
#define DGL_T_NODEITEM_Cancel
#define DGL_T_NODEITEM_Set_NodePTR(p, ptr)
dglInt32_t * DGL_EDGESET_T_NEXT_FUNC(dglEdgesetTraverser_s *pT)
#define DGL_NODE_EDGESET_OFFSET
dglInt32_t * DGL_EDGESET_T_FIRST_FUNC(dglEdgesetTraverser_s *pT)
#define DGL_ERR_NodeNotFound
#define DGL_GO_EdgePrioritize_COST
#define DGL_ERR_UnexpectedNullPointer
#define DGL_ERR_NodeIsAComponent
#define DGL_EDGE_HEADNODE_OFFSET
#define DGL_T_NODEITEM_Set_InEdgesetPTR(p, ptr)
int DGL_ADD_NODE_FUNC(dglGraph_s *pgraph, dglInt32_t nId, void *pvNodeAttr, dglInt32_t nFlags)
void DGL_EDGESET_T_RELEASE_FUNC(dglEdgesetTraverser_s *pT)