99 for ( i = 0; i < (int)pCut1->
nLeaves; i++ )
122 Cut_Cut_t * pHead = NULL, ** ppTail = &pHead;
131 ppTail = &pCopy->
pNext;
187 Cut_Cut_t * pList = NULL, ** ppTail = &pList;
189 while ( pList1 && pList2 )
194 pList1 = pList1->
pNext;
199 pList2 = pList2->
pNext;
202 ppTail = &pCut->
pNext;
204 *ppTail = pList1? pList1: pList2;
258 pTruth[i] = 0xAAAAAAAA;
280 printf(
"%d : {", pCut->
nLeaves );
281 for ( i = 0; i < (int)pCut->
nLeaves; i++ )
287 printf(
"(%d)", pCut->
pLeaves[i] & CUT_MASK );
290 printf(
" %d", pCut->
pLeaves[i] );
311 for ( pCut = pList; pCut; pCut = pCut->
pNext )
329 printf(
"%d : %5d %5d %5d %5d %5d\n",
337 printf(
"%d : %5d %5d %5d %5d %5d\n",
346 printf(
"Cannot merge\n" );
348 printf(
"%d : %5d %5d %5d %5d %5d\n",
void Cut_CutRecycleList(Cut_Man_t *p, Cut_Cut_t *pList)
ABC_NAMESPACE_IMPL_START Cut_Cut_t * Cut_CutAlloc(Cut_Man_t *p)
DECLARATIONS ///.
void Cut_CutPrint(Cut_Cut_t *pCut, int fSeq)
Cut_Cut_t * Cut_CutDupList(Cut_Man_t *p, Cut_Cut_t *pList)
#define Cut_ListForEachCutSafe(pList, pCut, pCut2)
static unsigned * Cut_CutReadTruth(Cut_Cut_t *p)
static unsigned Cut_NodeSign(int Node)
MACRO DEFINITIONS ///.
int Cut_CutCountList(Cut_Cut_t *pList)
int Cut_CutCompare(Cut_Cut_t *pCut1, Cut_Cut_t *pCut2)
Cut_Cut_t * Cut_CutMergeLists(Cut_Cut_t *pList1, Cut_Cut_t *pList2)
Extra_MmFixed_t * pMmCuts
#define ABC_NAMESPACE_IMPL_END
void Cut_CutNumberList(Cut_Cut_t *pList)
Cut_Cut_t * Cut_CutCreateTriv(Cut_Man_t *p, int Node)
void Cut_CutRecycle(Cut_Man_t *p, Cut_Cut_t *pCut)
#define ABC_NAMESPACE_IMPL_START
void Cut_CutPrintList(Cut_Cut_t *pList, int fSeq)
void Cut_CutPrintMerge(Cut_Cut_t *pCut, Cut_Cut_t *pCut0, Cut_Cut_t *pCut1)
#define Cut_ListForEachCut(pList, pCut)