146 for ( i = 0; i < 222; i++ )
147 Counter += (p->
nScores[i] > 0);
149 printf(
"Rewriting statistics:\n" );
150 printf(
"Total cuts tries = %8d.\n", p->
nCutsGood );
151 printf(
"Bad cuts found = %8d.\n", p->
nCutsBad );
152 printf(
"Total subgraphs = %8d.\n", p->
nSubgraphs );
153 printf(
"Used NPN classes = %8d.\n", Counter );
193 pTable = fopen(
"stats.txt",
"a+" );
198 fprintf( pTable,
"\n" );
void Rwr_ManAddTimeCuts(Rwr_Man_t *p, abctime Time)
char * Rwr_ManGetPractical(Rwr_Man_t *p)
typedefABC_NAMESPACE_HEADER_START struct Vec_Ptr_t_ Vec_Ptr_t
INCLUDES ///.
Rwr_Node_t * Rwr_ManAddVar(Rwr_Man_t *p, unsigned uTruth, int fPrecompute)
void Rwr_ManPrecompute(Rwr_Man_t *p)
FUNCTION DEFINITIONS ///.
void Rwr_ManWriteToArray(Rwr_Man_t *p)
FUNCTION DEFINITIONS ///.
#define Vec_VecForEachEntry(Type, vGlob, pEntry, i, k)
unsigned short * puCanons
void Rwr_ManPreprocess(Rwr_Man_t *p)
MACRO DEFINITIONS ///.
#define ABC_ALLOC(type, num)
static abctime Abc_Clock()
static void Vec_VecFree(Vec_Vec_t *p)
Extra_MmFixed_t * pMmNode
ABC_DLL void * Abc_FrameReadManDec()
static Vec_Int_t * Vec_IntAlloc(int nCap)
FUNCTION DEFINITIONS ///.
void Rwr_ManAddTimeUpdate(Rwr_Man_t *p, abctime Time)
#define ABC_NAMESPACE_IMPL_END
int Rwr_ManReadCompl(Rwr_Man_t *p)
void Rwr_ManPrintStatsFile(Rwr_Man_t *p)
unsigned short * puCanons
Vec_Ptr_t * Rwr_ManReadLeaves(Rwr_Man_t *p)
#define ABC_NAMESPACE_IMPL_START
static Vec_Ptr_t * Vec_PtrAlloc(int nCap)
FUNCTION DEFINITIONS ///.
void Rwr_ManStop(Rwr_Man_t *p)
ABC_NAMESPACE_IMPL_START Rwr_Man_t * Rwr_ManStart(int fPrecompute)
DECLARATIONS ///.
void Rwr_ManLoadFromArray(Rwr_Man_t *p, int fVerbose)
static void Dec_GraphFree(Dec_Graph_t *pGraph)
void Rwr_ManPrintStats(Rwr_Man_t *p)
static void Vec_IntFree(Vec_Int_t *p)
void * Rwr_ManReadDecs(Rwr_Man_t *p)
static void Vec_PtrFree(Vec_Ptr_t *p)
void Rwr_ManAddTimeTotal(Rwr_Man_t *p, abctime Time)