90 static char rcsid[]
DD_UNUSED =
"$Id: cuddAddIte.c,v 1.15 2004/08/13 18:04:45 fabio Exp $";
170 DdNode *Fv,*Fnv,*Gv,*Gnv,*Hv,*Hnv,*r,*t,*e;
171 unsigned int topf,topg,toph,v;
175 if (f == (one =
DD_ONE(dd))) {
178 if (f == (zero =
DD_ZERO(dd))) {
196 v =
ddMin(topg,toph);
266 DdNode *Fv,*Fnv,*Gv,*Gnv,*r,*t,*e;
267 unsigned int topf,topg;
278 if (f == (zero =
DD_ZERO(dd))) {
381 DdNode *tmp, *fv, *fvn, *gv, *gvn;
382 unsigned int topf, topg, res;
385 if (f == g)
return(1);
399 return(tmp ==
DD_ONE(dd));
452 DdNode *r,*Fv,*Fnv,*Gv,*Gnv,*Hv,*Hnv,*t,*e;
453 unsigned int topf,topg,toph,v;
460 if (f == (one =
DD_ONE(dd))) {
463 if (f == (zero =
DD_ZERO(dd))) {
476 if (h == zero)
return(f);
482 v =
ddMin(topg,toph);
485 if (topf < v &&
cuddT(f) == one &&
cuddE(f) == zero) {
489 if (topf < v &&
cuddT(f) == zero &&
cuddE(f) == one) {
523 if (t == NULL)
return(NULL);
587 if (t == NULL)
return(NULL);
DdNode * Cudd_addIteConstant(DdManager *dd, DdNode *f, DdNode *g, DdNode *h)
DdNode * Cudd_addIte(DdManager *dd, DdNode *f, DdNode *g, DdNode *h)
void Cudd_RecursiveDeref(DdManager *table, DdNode *n)
void cuddCacheInsert2(DdManager *table, DD_CTFP op, DdNode *f, DdNode *g, DdNode *data)
static void addVarToConst(DdNode *f, DdNode **gp, DdNode **hp, DdNode *one, DdNode *zero)
#define DD_ADD_ITE_CONSTANT_TAG
DdNode * Cudd_addCmpl(DdManager *dd, DdNode *f)
void cuddCacheInsert(DdManager *table, ptruint op, DdNode *f, DdNode *g, DdNode *h, DdNode *data)
DdNode *(* DD_CTFP)(DdManager *, DdNode *, DdNode *)
DdNode * Cudd_addEvalConst(DdManager *dd, DdNode *f, DdNode *g)
#define DD_MINUS_INFINITY(dd)
DdNode * cuddCacheLookup2(DdManager *table, DD_CTFP op, DdNode *f, DdNode *g)
#define Cudd_IsComplement(node)
DdNode * cuddCacheLookup1(DdManager *table, DD_CTFP1 op, DdNode *f)
int Cudd_addLeq(DdManager *dd, DdNode *f, DdNode *g)
#define ABC_NAMESPACE_IMPL_END
#define cuddIsConstant(node)
#define DD_ADD_EVAL_CONST_TAG
DdNode * cuddConstantLookup(DdManager *table, ptruint op, DdNode *f, DdNode *g, DdNode *h)
static ABC_NAMESPACE_IMPL_START char rcsid[] DD_UNUSED
#define ABC_NAMESPACE_IMPL_START
#define Cudd_NotCond(node, c)
#define DD_PLUS_INFINITY(dd)
DdNode * cuddAddIteRecur(DdManager *dd, DdNode *f, DdNode *g, DdNode *h)
DdNode * cuddUniqueInter(DdManager *unique, int index, DdNode *T, DdNode *E)
DdNode * cuddCacheLookup(DdManager *table, ptruint op, DdNode *f, DdNode *g, DdNode *h)
void cuddCacheInsert1(DdManager *table, DD_CTFP1 op, DdNode *f, DdNode *data)
DdNode * cuddAddCmplRecur(DdManager *dd, DdNode *f)