95 printf(
"CUT: Delay = (%4.2f, %4.2f). Area = %4.2f. Nodes = %d -> {",
97 for ( i = 0; i < pCut->
nLeaves; i++ )
134 return (( pCut->
M[fPhase].
uPhaseBest & (1<<iLeaf) ) == 0);
169 if ( pSetAll == NULL )
174 for ( pTemp = pSets; pTemp; pTemp = pTemp->
pNext )
178 pPrev->
pNext = pSetAll;
196 for ( pTemp = pSetList, pNext = pTemp? pTemp->
pNext : NULL;
198 pTemp = pNext, pNext = pNext? pNext->
pNext : NULL )
199 if ( pTemp != pSave )
218 for ( i = 0, pTemp = pSets; pTemp; pTemp = pTemp->
pNext, i++ );
239 for ( i = 0; i < pCut->
nLeaves; i++ )
241 vFanouts = pCut->
ppLeaves[i]->vFanouts;
242 for ( k = 0; k < vFanouts->
nSize; k++ )
243 if ( vFanouts->
pArray[k] == pNode )
246 for ( k++; k < vFanouts->
nSize; k++ )
266 for ( i = 0; i < pCut->
nLeaves; i++ )
void Map_CutInsertFanouts(Map_Node_t *pNode, Map_Cut_t *pCut, int fPhase)
ABC_NAMESPACE_IMPL_START Map_Cut_t * Map_CutAlloc(Map_Man_t *p)
DECLARATIONS ///.
void Map_CutRemoveFanouts(Map_Node_t *pNode, Map_Cut_t *pCut, int fPhase)
float Map_CutGetRootArea(Map_Cut_t *pCut, int fPhase)
int Map_NodeGetLeafPhase(Map_Node_t *pNode, int fPhase, int iLeaf)
void Map_CutListRecycle(Map_Man_t *p, Map_Cut_t *pSetList, Map_Cut_t *pSave)
#define ABC_NAMESPACE_IMPL_END
#define ABC_NAMESPACE_IMPL_START
typedefABC_NAMESPACE_HEADER_START struct Map_ManStruct_t_ Map_Man_t
INCLUDES ///.
int Map_CutGetLeafPhase(Map_Cut_t *pCut, int fPhase, int iLeaf)
Map_Cut_t * Map_CutListAppend(Map_Cut_t *pSetAll, Map_Cut_t *pSets)
int Map_CutListCount(Map_Cut_t *pSets)
void Map_CutPrint(Map_Man_t *p, Map_Node_t *pRoot, Map_Cut_t *pCut, int fPhase)
void Map_NodeVecPush(Map_NodeVec_t *p, Map_Node_t *Entry)
void Map_CutFree(Map_Man_t *p, Map_Cut_t *pCut)