65 if ( p1 == pMan->pConst1 )
71 if ( p2 == pMan->pConst1 )
141 if ( pMan->fFuncRed && pNodeRepr )
149 if ( !pMan->fFuncRed )
153 if ( pNodeNew->
nOnes == 0 || pNodeNew->
nOnes == (
unsigned)pMan->nWordsRand * 32 )
156 if ( !pMan->fDoSparse )
160 if ( pNodeOld == NULL )
167 if ( pNodeOld == NULL )
184 if ( pMan->fChoicing && !
Fraig_CheckTfi( pMan, pNodeOld, pNodeNew ) )
189 pNodeOld->
pNextE = pNodeNew;
192 pNodeNew->
pRepr = pNodeOld;
198 if ( pNodeNew->
nOnes == 0 || pNodeNew->
nOnes == (
unsigned)pMan->nWordsRand * 32 )
201 assert( pMan->fDoSparse );
209 pNodeOld->
pNextD = pNodeNew;
int Fraig_NodeIsEquivalent(Fraig_Man_t *p, Fraig_Node_t *pOld, Fraig_Node_t *pNew, int nBTLimit, int nTimeLimit)
typedefABC_NAMESPACE_HEADER_START struct Fraig_ManStruct_t_ Fraig_Man_t
INCLUDES ///.
int Fraig_NodeComparePhase(Fraig_Node_t *p1, Fraig_Node_t *p2)
int Fraig_CheckTfi(Fraig_Man_t *pMan, Fraig_Node_t *pOld, Fraig_Node_t *pNew)
int Fraig_HashTableLookupS(Fraig_Man_t *pMan, Fraig_Node_t *p1, Fraig_Node_t *p2, Fraig_Node_t **ppNodeRes)
int Fraig_ManReadInspects(Fraig_Man_t *p)
Fraig_Node_t * Fraig_HashTableLookupF0(Fraig_Man_t *pMan, Fraig_Node_t *pNode)
#define ABC_NAMESPACE_IMPL_END
#define Fraig_IsComplement(p)
GLOBAL VARIABLES ///.
#define ABC_NAMESPACE_IMPL_START
int Fraig_NodeIsConst(Fraig_Node_t *p)
Fraig_Node_t * Fraig_HashTableLookupF(Fraig_Man_t *pMan, Fraig_Node_t *pNode)
#define Fraig_NotCond(p, c)
ABC_NAMESPACE_IMPL_START Fraig_Node_t * Fraig_NodeAndCanon(Fraig_Man_t *pMan, Fraig_Node_t *p1, Fraig_Node_t *p2)
DECLARATIONS ///.