21 #ifndef ABC__opt__cut__cutList_h
22 #define ABC__opt__cut__cutList_h
72 p->ppTail[i] = &p->pHead[i];
90 *p->ppTail[pCut->
nLeaves] = pCut;
110 if ( p->pHead[pCut->
nLeaves] != NULL )
112 ppSpot = &p->pHead[pCut->
nLeaves];
113 for ( pTemp = p->pHead[pCut->
nLeaves]; pTemp; pTemp = pTemp->
pNext )
122 ppSpot = &pTemp->
pNext;
125 *p->ppTail[pCut->
nLeaves] = pCut;
145 while ( pList != NULL )
148 p->pHead[nLeaves] = pList;
149 for ( pPrev = pList, pList = pList->
pNext; pList; pPrev = pList, pList = pList->
pNext )
150 if ( nLeaves < (
int)pList->
nLeaves )
152 p->ppTail[nLeaves] = &pPrev->
pNext;
173 if ( pNew->pHead[i] == NULL )
175 *pOld->ppTail[i] = pNew->pHead[i];
176 pOld->ppTail[i] = pNew->ppTail[i];
193 Cut_Cut_t * pHead = NULL, ** ppTail = &pHead;
197 if ( p->pHead[i] == NULL )
199 *ppTail = p->pHead[i];
200 ppTail = p->ppTail[i];
static Cut_Cut_t * Cut_ListFinish(Cut_List_t *p)
static void Cut_ListAdd(Cut_List_t *p, Cut_Cut_t *pCut)
typedefABC_NAMESPACE_HEADER_START struct Cut_ListStruct_t_ Cut_List_t
INCLUDES ///.
int Cut_CutCompare(Cut_Cut_t *pCut1, Cut_Cut_t *pCut2)
static void Cut_ListAdd2(Cut_List_t *p, Cut_Cut_t *pCut)
static void Cut_ListDerive(Cut_List_t *p, Cut_Cut_t *pList)
#define ABC_NAMESPACE_HEADER_START
NAMESPACES ///.
#define ABC_NAMESPACE_HEADER_END
static void Cut_ListStart(Cut_List_t *p)
MACRO DEFINITIONS ///.
Cut_Cut_t ** ppTail[CUT_SIZE_MAX+1]
static void Cut_ListAddList(Cut_List_t *pOld, Cut_List_t *pNew)
Cut_Cut_t * pHead[CUT_SIZE_MAX+1]