32 if ( pEP && pEP->
pvAVL ) {
52 if ( pEP && pEP->
pvAVL ) {
236 findItem.nKey = nNodeId;
260 pT->
cEdge = (pnEdgeset)?*pnEdgeset:0;
289 EdgeItem.
nKey = *pnOffset;
292 return pEdgeItem->
pv;
317 EdgeItem.
nKey = *pnOffset;
320 return pEdgeItem->
pv;
373 pEdge = ptreeEdge->
pv;
412 cOutEdgeset = (pOutEdgeset) ?
416 #if !defined(_DGL_V1)
417 cInEdgeset = (pInEdgeset) ?
437 #if !defined(_DGL_V1)
438 memcpy( pgraph->
pEdgeBuffer + pgraph->
iEdgeBuffer + cOutEdgeset , (pInEdgeset)?pInEdgeset:&nDummy, cInEdgeset );
483 for( i = 0 ; i < pOutEdgeset[0] ; i ++ ) {
498 pInEdgeset = pOutEdgeset + pOutEdgeset[0] + 1;
500 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)