49 int i, nNodesBefore, nNodesAfter, nInputs, nMaxNodes;
75 nMaxNodes = nInputs + nLimit * ( nNodesBefore - nInputs );
77 printf (
"Limit = %d, Before = %d\n", nMaxNodes, nNodesBefore );
224 sprintf( Buffer,
"Adding choice %6d...", i - nNodesBefore );
234 printf (
"Nodes before = %6d. Nodes with associative choices = %6d. Increase = %4.2f %%.\n",
235 nNodesBefore, nNodesAfter, ((
float)(nNodesAfter - nNodesBefore)) * 100.0/(nNodesBefore - nInputs) );
236 printf (
"Distributive = %d\n", nDistributive );
typedefABC_NAMESPACE_HEADER_START struct Fraig_ManStruct_t_ Fraig_Man_t
INCLUDES ///.
ABC_NAMESPACE_IMPL_START void Fraig_ManAddChoices(Fraig_Man_t *pMan, int fVerbose, int nLimit)
DECLARATIONS ///.
static abctime Abc_Clock()
Fraig_Node_t * Fraig_ManReadIthNode(Fraig_Man_t *p, int i)
Fraig_Node_t * Fraig_NodeReadTwo(Fraig_Node_t *p)
Fraig_Node_t * Fraig_NodeAnd(Fraig_Man_t *p, Fraig_Node_t *p1, Fraig_Node_t *p2)
#define ABC_NAMESPACE_IMPL_END
int Fraig_NodeIsAnd(Fraig_Node_t *p)
void Fraig_ManSetFuncRed(Fraig_Man_t *p, int fFuncRed)
#define Fraig_IsComplement(p)
GLOBAL VARIABLES ///.
#define ABC_NAMESPACE_IMPL_START
Fraig_Node_t * Fraig_NodeReadOne(Fraig_Node_t *p)
int Fraig_ManCheckConsistency(Fraig_Man_t *p)
int Fraig_ManReadNodeNum(Fraig_Man_t *p)
int Fraig_ManReadInputNum(Fraig_Man_t *p)