34 if (pEP && pEP->
pvAVL) {
54 if (pEP && pEP->
pvAVL) {
254 findItem.nKey = nNodeId;
278 pT->
cEdge = (pnEdgeset) ? *pnEdgeset : 0;
308 EdgeItem.
nKey = *pnOffset;
311 return pEdgeItem->
pv;
337 EdgeItem.
nKey = *pnOffset;
341 return pEdgeItem->
pv;
389 ptreeEdge; ptreeEdge =
avl_t_next(&avlTraverser)
391 pEdge = ptreeEdge->
pv;
420 ptreenode; ptreenode =
avl_t_next(&avlTraverser)
427 cOutEdgeset = (pOutEdgeset) ?
431 #if !defined(_DGL_V1) 432 cInEdgeset = (pInEdgeset) ?
452 (pOutEdgeset) ? pOutEdgeset : &nDummy, cOutEdgeset);
453 #if !defined(_DGL_V1) 455 cOutEdgeset, (pInEdgeset) ? pInEdgeset : &nDummy,
504 for (i = 0; i < pOutEdgeset[0]; i++) {
519 pInEdgeset = pOutEdgeset + pOutEdgeset[0] + 1;
521 for (i = 0; i < pInEdgeset[0]; i++) {
int dglTreeEdgeCompare(const void *pvEdgeA, const void *pvEdgeB, void *pvParam)
#define DGL_NODE_ATTR_PTR
int DGL_EDGESET_T_INITIALIZE_FUNC(dglGraph_s *pGraph, dglEdgesetTraverser_s *pT, dglInt32_t *pnEdgeset)
void DGL_EDGE_T_RELEASE_FUNC(dglEdgeTraverser_s *pT)
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)
dglInt32_t * DGL_NODE_T_NEXT_FUNC(dglNodeTraverser_s *pT)
dglInt32_t * DGL_EDGE_T_NEXT_FUNC(dglEdgeTraverser_s *pT)
void dglTreeNodeCancel(void *pvNode, void *pvParam)
void dglTreeEdgeCancel(void *pvEdge, void *pvParam)
#define DGL_T_NODEITEM_NodePTR(p)
#define DGL_EDGESET_SIZEOF
dglInt32_t * DGL_EDGE_T_FIRST_FUNC(dglEdgeTraverser_s *pT)
#define DGL_EDGEBUFFER_SHIFT
int DGL_UNFLATTEN_FUNC(dglGraph_s *pgraph)
int DGL_EDGE_T_INITIALIZE_FUNC(dglGraph_s *pGraph, dglEdgeTraverser_s *pT, dglEdgePrioritizer_s *pEP)
dglTreeEdgePri32_s * pEdgePri32Item
#define DGL_T_NODEITEM_Compare
#define DGL_T_NODEITEM_InEdgesetPTR(p)
#define DGL_T_NODEITEM_TYPE
#define DGL_ERR_HeadNodeNotFound
#define DGL_EDGEBUFFER_OFFSET
#define DGL_NODEBUFFER_OFFSET
int DGL_FLATTEN_FUNC(dglGraph_s *pgraph)
#define DGL_EDGE_TAILNODE_OFFSET
dglInt32_t * DGL_GET_NODE_FUNC(dglGraph_s *pgraph, dglInt32_t nodeid)
#define DGL_ERR_NotSupported
#define DGL_NODEBUFFER_SHIFT
#define DGL_ERR_MemoryExhausted
dglInt32_t * DGL_NODE_T_FIND_FUNC(dglNodeTraverser_s *pT, dglInt32_t nNodeId)
#define DGL_T_NODEITEM_OutEdgesetPTR(p)
#define DGL_ERR_BadOnFlatGraph
void * dglTreeGetAllocator()
int DGL_NODE_T_INITIALIZE_FUNC(dglGraph_s *pGraph, dglNodeTraverser_s *pT)
#define DGL_ERR_TailNodeNotFound
dglInt32_t * DGL_GET_EDGE_FUNC(dglGraph_s *pgraph, dglInt32_t nEdge)
#define DGL_EDGESET_EDGECOUNT
dglEdgePrioritizer_s * pEdgePrioritizer
#define DGL_ERR_BadOnTreeGraph
#define DGL_EDGE_ATTR_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)
void DGL_NODE_T_RELEASE_FUNC(dglNodeTraverser_s *pT)
#define DGL_EDGESET_EDGE_PTR
#define DGL_ERR_UnexpectedNullPointer
dglInt32_t * DGL_NODE_T_FIRST_FUNC(dglNodeTraverser_s *pT)
#define DGL_EDGE_HEADNODE_OFFSET
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)