78 for ( i = 0; i < nNodes; i++ )
130 for ( i = 0; i < nNodes; i++ )
186 for ( i = 0; i < nNodes; i++ )
284 printf(
"Nodes with small support %d (out of %d)\n", Counter,
Gia_ManAndNum(p) );
306 for ( i = 0; i < nNodes; i++ )
357 for ( i = 0; i < nNodes; i++ )
383 int nLevels, Level, i;
389 assert( Level <= nLevels );
473 for ( i = 0; i < nPos; i++ )
493 if ( i % 10000 == 0 )
494 printf(
"%8d finished...\r", i );
typedefABC_NAMESPACE_HEADER_START struct Vec_Ptr_t_ Vec_Ptr_t
INCLUDES ///.
static void Vec_VecPush(Vec_Vec_t *p, int Level, void *Entry)
#define Gia_ManForEachCo(p, pObj, i)
typedefABC_NAMESPACE_HEADER_START struct Vec_Vec_t_ Vec_Vec_t
INCLUDES ///.
static int Gia_ManPoNum(Gia_Man_t *p)
typedefABC_NAMESPACE_IMPL_START struct Vec_Int_t_ Vec_Int_t
DECLARATIONS ///.
int Gia_ManConeSize(Gia_Man_t *p, int *pNodes, int nNodes)
static int Gia_ObjIsTravIdCurrent(Gia_Man_t *p, Gia_Obj_t *pObj)
static Gia_Obj_t * Gia_ManPo(Gia_Man_t *p, int v)
static abctime Abc_Clock()
static void Vec_VecFree(Vec_Vec_t *p)
static Gia_Obj_t * Gia_ManObj(Gia_Man_t *p, int v)
void Gia_ManCollectSeqTest(Gia_Man_t *p)
void Gia_ManCollectAnds_rec(Gia_Man_t *p, Gia_Obj_t *pObj, Vec_Int_t *vNodes)
static void Abc_PrintTime(int level, const char *pStr, abctime time)
static int Gia_ManAndNum(Gia_Man_t *p)
static int Gia_ObjLevel(Gia_Man_t *p, Gia_Obj_t *pObj)
static Gia_Obj_t * Gia_ObjFanin0(Gia_Obj_t *pObj)
static Vec_Int_t * Vec_IntAlloc(int nCap)
FUNCTION DEFINITIONS ///.
void Gia_ManCollectSeq_rec(Gia_Man_t *p, int Id, Vec_Int_t *vRoots, Vec_Int_t *vObjs)
static int Gia_ObjIsRo(Gia_Man_t *p, Gia_Obj_t *pObj)
static Gia_Obj_t * Gia_ObjRoToRi(Gia_Man_t *p, Gia_Obj_t *pObj)
static void Gia_ObjSetTravIdCurrent(Gia_Man_t *p, Gia_Obj_t *pObj)
#define ABC_NAMESPACE_IMPL_END
Vec_Int_t * Gia_ManOrderReverse(Gia_Man_t *p)
#define Gia_ManForEachAnd(p, pObj, i)
static void Vec_IntPush(Vec_Int_t *p, int Entry)
static int Gia_ObjId(Gia_Man_t *p, Gia_Obj_t *pObj)
static Vec_Vec_t * Vec_VecStart(int nSize)
int Gia_ManSuppSize(Gia_Man_t *p, int *pNodes, int nNodes)
void Gia_ManCollectCis(Gia_Man_t *p, int *pNodes, int nNodes, Vec_Int_t *vSupp)
static int Gia_ObjIsTravIdCurrentId(Gia_Man_t *p, int Id)
static int Gia_ObjIsCo(Gia_Obj_t *pObj)
#define Vec_VecForEachLevelReverse(vGlob, vVec, i)
#define ABC_NAMESPACE_IMPL_START
int Gia_ManSuppSizeOne(Gia_Man_t *p, Gia_Obj_t *pObj)
Vec_Vec_t * Gia_ManLevelize(Gia_Man_t *p)
static int Gia_ObjIsAnd(Gia_Obj_t *pObj)
#define Gia_ManForEachObj(p, pObj, i)
MACRO DEFINITIONS ///.
static Gia_Obj_t * Gia_ManConst0(Gia_Man_t *p)
ABC_NAMESPACE_IMPL_START void Gia_ManCollectCis_rec(Gia_Man_t *p, Gia_Obj_t *pObj, Vec_Int_t *vSupp)
DECLARATIONS ///.
int Gia_ManSuppSize_rec(Gia_Man_t *p, Gia_Obj_t *pObj)
static Gia_Obj_t * Gia_ObjFanin1(Gia_Obj_t *pObj)
Vec_Int_t * Gia_ManCollectNodesCis(Gia_Man_t *p, int *pNodes, int nNodes)
int Gia_ManLevelNum(Gia_Man_t *p)
void Gia_ManCollectTest(Gia_Man_t *p)
void Gia_ManIncrementTravId(Gia_Man_t *p)
int Gia_ManConeSize_rec(Gia_Man_t *p, Gia_Obj_t *pObj)
void Gia_ManCollectAnds(Gia_Man_t *p, int *pNodes, int nNodes, Vec_Int_t *vNodes)
static void Vec_IntFree(Vec_Int_t *p)
Vec_Int_t * Gia_ManCollectSeq(Gia_Man_t *p, int *pPos, int nPos)
#define Vec_PtrForEachEntry(Type, vVec, pEntry, i)
MACRO DEFINITIONS ///.
static void Vec_IntClear(Vec_Int_t *p)
static int Gia_ObjIsCi(Gia_Obj_t *pObj)
static void Gia_ObjSetTravIdCurrentId(Gia_Man_t *p, int Id)
#define Vec_IntForEachEntry(vVec, Entry, i)
MACRO DEFINITIONS ///.
static int Gia_ObjFaninId1(Gia_Obj_t *pObj, int ObjId)
void Gia_ManCollectNodesCis_rec(Gia_Man_t *p, Gia_Obj_t *pObj, Vec_Int_t *vNodes)
static int Gia_ManObjNum(Gia_Man_t *p)
int Gia_ManSuppSizeTest(Gia_Man_t *p)
static int Gia_ObjFaninId0(Gia_Obj_t *pObj, int ObjId)