38 pNode->
fMarkA = (Value & 1);
39 pNode->
fMarkB = ((Value >> 1) & 1);
109 return ((
int)pNode->
fMarkA == Value);
145 if ( ++Heur % 8 == 0 )
167 for ( i = 0; i < 8; i++ )
258 int Count0 = 0, Count0f = 0, Count1 = 0, Count1f = 0;
296 printf(
"PO =%6d. C0 =%6d. C0f =%6d. C1 =%6d. C1f =%6d. (%6.2f %%) Ave =%4.1f ",
297 Aig_ManCoNum(pAig), Count0, Count0f, Count1, Count1f, 100.0*(Count0+Count1)/
Aig_ManCoNum(pAig), 1.0*nTotalLits/(Count0+Count1) );
static int Aig_ObjSatValue(Aig_Man_t *pAig, Aig_Obj_t *pNode, int fCompl)
FUNCTION DEFINITIONS ///.
#define Aig_ManForEachObjVec(vIds, p, pObj, i)
typedefABC_NAMESPACE_HEADER_START struct Aig_Man_t_ Aig_Man_t
INCLUDES ///.
static int Aig_ObjAndTerValue(int Value0, int Value1)
typedefABC_NAMESPACE_IMPL_START struct Vec_Int_t_ Vec_Int_t
DECLARATIONS ///.
static int Aig_ObjIsTravIdCurrent(Aig_Man_t *p, Aig_Obj_t *pObj)
int Aig_ObjFindSatAssign(Aig_Man_t *pAig, Aig_Obj_t *pNode, int Value, Vec_Int_t *vSuppLits)
static Aig_Obj_t * Aig_ObjFanin0(Aig_Obj_t *pObj)
static int Abc_Var2Lit(int Var, int fCompl)
static int Aig_ObjNotCondTerValue(int Value, int Cond)
int Aig_ObjTerSimulate_rec(Aig_Man_t *pAig, Aig_Obj_t *pNode)
static abctime Abc_Clock()
static Aig_Obj_t * Aig_ObjFanin1(Aig_Obj_t *pObj)
static void Aig_ObjSetTravIdCurrent(Aig_Man_t *p, Aig_Obj_t *pObj)
#define AIG_VAL0
DECLARATIONS ///.
void Aig_ManIncrementTravId(Aig_Man_t *p)
DECLARATIONS ///.
static void Abc_PrintTime(int level, const char *pStr, abctime time)
static int Aig_ObjIsNode(Aig_Obj_t *pObj)
static int Aig_ManCoNum(Aig_Man_t *p)
static int Abc_LitIsCompl(int Lit)
void Aig_ManPackStop(Aig_ManPack_t *p)
static Vec_Int_t * Vec_IntAlloc(int nCap)
FUNCTION DEFINITIONS ///.
static Aig_Obj_t * Aig_ManCi(Aig_Man_t *p, int i)
static int Aig_ObjNotTerValue(int Value)
#define ABC_NAMESPACE_IMPL_END
static int Aig_ObjIsConst1(Aig_Obj_t *pObj)
static void Vec_IntPush(Vec_Int_t *p, int Entry)
static int Aig_ObjFaninC0(Aig_Obj_t *pObj)
void Aig_ManPackAddPattern(Aig_ManPack_t *p, Vec_Int_t *vLits)
#define ABC_NAMESPACE_IMPL_START
Vec_Int_t * Aig_ManPackConstNodes(Aig_ManPack_t *p)
static int Vec_IntSize(Vec_Int_t *p)
void Aig_ManCleanMarkAB(Aig_Man_t *p)
static int Aig_ObjSetTerValue(Aig_Obj_t *pNode, int Value)
static int Abc_Lit2Var(int Lit)
static int Aig_ObjFaninC1(Aig_Obj_t *pObj)
void Aig_ManJustExperiment(Aig_Man_t *pAig)
int Aig_ObjTerSimulate(Aig_Man_t *pAig, Aig_Obj_t *pNode, Vec_Int_t *vSuppLits)
Aig_ManPack_t * Aig_ManPackStart(Aig_Man_t *pAig)
static void Vec_IntFree(Vec_Int_t *p)
static int Aig_ObjIsCi(Aig_Obj_t *pObj)
static void Vec_IntClear(Vec_Int_t *p)
#define Vec_IntForEachEntry(vVec, Entry, i)
MACRO DEFINITIONS ///.
int Aig_NtkFindSatAssign_rec(Aig_Man_t *pAig, Aig_Obj_t *pNode, int Value, Vec_Int_t *vSuppLits, int Heur)
static int Aig_ObjIsCo(Aig_Obj_t *pObj)
static int Aig_ObjGetTerValue(Aig_Obj_t *pNode)
static int Aig_ObjCioId(Aig_Obj_t *pObj)