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

Function to compute the scalar inverse of an ADD. More...

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

Functions

DdNodeCudd_addScalarInverse (DdManager *dd, DdNode *f, DdNode *epsilon)
 Computes the scalar inverse of an ADD. More...
 
DdNodecuddAddScalarInverseRecur (DdManager *dd, DdNode *f, DdNode *epsilon)
 Performs the recursive step of addScalarInverse. More...
 

Detailed Description

Function to compute the scalar inverse of an ADD.

Author
Fabio Somenzi

Function Documentation

◆ Cudd_addScalarInverse()

DdNode* Cudd_addScalarInverse ( DdManager dd,
DdNode f,
DdNode epsilon 
)

Computes the scalar inverse of an ADD.

Computes an n ADD where the discriminants are the multiplicative inverses of the corresponding discriminants of the argument ADD.

Returns
a pointer to the resulting ADD in case of success. Returns NULL if any discriminants smaller than epsilon is encountered.
Side effects None

◆ cuddAddScalarInverseRecur()

DdNode* cuddAddScalarInverseRecur ( DdManager dd,
DdNode f,
DdNode epsilon 
)

Performs the recursive step of addScalarInverse.

Returns
a pointer to the resulting ADD in case of success. Returns NULL if any discriminants smaller than epsilon is encountered.
Side effects None