|
@ -1003,10 +1003,10 @@ cuddAddMinAbstractRepresentativeRecur( |
|
|
logicalZero = Cudd_Not(one); |
|
|
logicalZero = Cudd_Not(one); |
|
|
|
|
|
|
|
|
/* Cube is guaranteed to be a cube at this point. */ |
|
|
/* Cube is guaranteed to be a cube at this point. */ |
|
|
if (cuddIsConstant(f)) { |
|
|
|
|
|
if (cuddIsConstant(cube)) { |
|
|
if (cuddIsConstant(cube)) { |
|
|
return one; |
|
|
return one; |
|
|
} else { |
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
if (cuddIsConstant(f)) { |
|
|
res = cuddBddExistAbstractRepresentativeRecur(manager, f, cuddT(cube)); |
|
|
res = cuddBddExistAbstractRepresentativeRecur(manager, f, cuddT(cube)); |
|
|
if (res == NULL) { |
|
|
if (res == NULL) { |
|
|
return(NULL); |
|
|
return(NULL); |
|
@ -1022,8 +1022,6 @@ cuddAddMinAbstractRepresentativeRecur( |
|
|
res1 = Cudd_Not(res1); |
|
|
res1 = Cudd_Not(res1); |
|
|
cuddDeref(res); |
|
|
cuddDeref(res); |
|
|
return(res1); |
|
|
return(res1); |
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/* Abstract a variable that does not appear in f. */ |
|
|
/* Abstract a variable that does not appear in f. */ |
|
@ -1191,10 +1189,10 @@ cuddAddMaxAbstractRepresentativeRecur( |
|
|
logicalZero = Cudd_Not(one); |
|
|
logicalZero = Cudd_Not(one); |
|
|
|
|
|
|
|
|
/* Cube is guaranteed to be a cube at this point. */ |
|
|
/* Cube is guaranteed to be a cube at this point. */ |
|
|
if (cuddIsConstant(f)) { |
|
|
|
|
|
if (cuddIsConstant(cube)) { |
|
|
if (cuddIsConstant(cube)) { |
|
|
return one; |
|
|
return one; |
|
|
} else { |
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
if (cuddIsConstant(f)) { |
|
|
res = cuddBddExistAbstractRepresentativeRecur(manager, f, cuddT(cube)); |
|
|
res = cuddBddExistAbstractRepresentativeRecur(manager, f, cuddT(cube)); |
|
|
if (res == NULL) { |
|
|
if (res == NULL) { |
|
|
return(NULL); |
|
|
return(NULL); |
|
@ -1212,7 +1210,6 @@ cuddAddMaxAbstractRepresentativeRecur( |
|
|
return(res1); |
|
|
return(res1); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* Abstract a variable that does not appear in f. */ |
|
|
/* Abstract a variable that does not appear in f. */ |
|
|
if (cuddI(manager,f->index) > cuddI(manager,cube->index)) { |
|
|
if (cuddI(manager,f->index) > cuddI(manager,cube->index)) { |
|
|