45static inline int Abc_MfsComputeRootsCheck(
Abc_Obj_t * pNode,
int nLevelMax,
int nFanoutLimit )
51 if ( Abc_ObjFanoutNum(pNode) > nFanoutLimit )
56 if ( Abc_ObjIsCo(pFanout) || (
int)pFanout->
Level > nLevelMax )
76 assert( Abc_ObjIsNode(pNode) );
77 if ( Abc_NodeIsTravIdCurrent(pNode) )
79 Abc_NodeSetTravIdCurrent( pNode );
81 if ( Abc_MfsComputeRootsCheck( pNode, nLevelMax, nFanoutLimit ) )
82 Vec_PtrPush( vRoots, pNode );
102 vRoots = Vec_PtrAlloc( 10 );
103 Abc_NtkIncrementTravId( pNode->
pNtk );
105 assert( Vec_PtrSize(vRoots) > 0 );
struct Abc_Obj_t_ Abc_Obj_t
#define Abc_ObjForEachFanout(pObj, pFanout, i)
#define ABC_NAMESPACE_IMPL_START
#define ABC_NAMESPACE_IMPL_END
Vec_Ptr_t * Abc_MfsComputeRoots(Abc_Obj_t *pNode, int nWinTfoMax, int nFanoutLimit)
void Abc_MfsComputeRoots_rec(Abc_Obj_t *pNode, int nLevelMax, int nFanoutLimit, Vec_Ptr_t *vRoots)
typedefABC_NAMESPACE_HEADER_START struct Vec_Ptr_t_ Vec_Ptr_t
INCLUDES ///.