cudd  3.0.0
The University of Colorado Decision Diagram Package
Functions
cuddAddNeg.c File Reference

Function to compute the negation of an ADD. More...

#include "util.h"
#include "cuddInt.h"
Include dependency graph for cuddAddNeg.c:

Functions

DdNode * Cudd_addNegate (DdManager *dd, DdNode *f)
 Computes the additive inverse of an ADD. More...
 
DdNode * Cudd_addRoundOff (DdManager *dd, DdNode *f, int N)
 Rounds off the discriminants of an ADD. More...
 
DdNode * cuddAddNegateRecur (DdManager *dd, DdNode *f)
 Implements the recursive step of Cudd_addNegate. More...
 
DdNode * cuddAddRoundOffRecur (DdManager *dd, DdNode *f, double trunc)
 Implements the recursive step of Cudd_addRoundOff. More...
 

Detailed Description

Function to compute the negation of an ADD.

Author
Fabio Somenzi, Balakrishna Kumthekar

Function Documentation

DdNode* Cudd_addNegate ( DdManager *  dd,
DdNode *  f 
)

Computes the additive inverse of an ADD.

Returns
a pointer to the result if successful; NULL otherwise.
Side effects
None
See also
Cudd_addCmpl
DdNode* Cudd_addRoundOff ( DdManager *  dd,
DdNode *  f,
int  N 
)

Rounds off the discriminants of an ADD.

The discriminants are rounded off to N digits after the decimal.

Returns
a pointer to the result ADD if successful; NULL otherwise.
Side effects
None
DdNode* cuddAddNegateRecur ( DdManager *  dd,
DdNode *  f 
)

Implements the recursive step of Cudd_addNegate.

Returns
a pointer to the result.
Side effects
None
DdNode* cuddAddRoundOffRecur ( DdManager *  dd,
DdNode *  f,
double  trunc 
)

Implements the recursive step of Cudd_addRoundOff.

Returns
a pointer to the result.
Side effects
None