cudd
3.0.0
The University of Colorado Decision Diagram Package
|
Apply functions for ADDs and their operators. More...
Functions | |
DdNode * | Cudd_addApply (DdManager *dd, DD_AOP op, DdNode *f, DdNode *g) |
Applies op to the corresponding discriminants of f and g. More... | |
DdNode * | Cudd_addPlus (DdManager *dd, DdNode **f, DdNode **g) |
Integer and floating point addition. More... | |
DdNode * | Cudd_addTimes (DdManager *dd, DdNode **f, DdNode **g) |
Integer and floating point multiplication. More... | |
DdNode * | Cudd_addThreshold (DdManager *dd, DdNode **f, DdNode **g) |
f if f≥g; 0 if f<g. More... | |
DdNode * | Cudd_addSetNZ (DdManager *dd, DdNode **f, DdNode **g) |
This operator sets f to the value of g wherever g != 0. More... | |
DdNode * | Cudd_addDivide (DdManager *dd, DdNode **f, DdNode **g) |
Integer and floating point division. More... | |
DdNode * | Cudd_addMinus (DdManager *dd, DdNode **f, DdNode **g) |
Integer and floating point subtraction. More... | |
DdNode * | Cudd_addMinimum (DdManager *dd, DdNode **f, DdNode **g) |
Integer and floating point min. More... | |
DdNode * | Cudd_addMaximum (DdManager *dd, DdNode **f, DdNode **g) |
Integer and floating point max. More... | |
DdNode * | Cudd_addOneZeroMaximum (DdManager *dd, DdNode **f, DdNode **g) |
Returns 1 if f > g and 0 otherwise. More... | |
DdNode * | Cudd_addDiff (DdManager *dd, DdNode **f, DdNode **g) |
Returns plusinfinity if f=g; returns min(f,g) if f!=g. More... | |
DdNode * | Cudd_addAgreement (DdManager *dd, DdNode **f, DdNode **g) |
f if f==g; background if f!=g. More... | |
DdNode * | Cudd_addOr (DdManager *dd, DdNode **f, DdNode **g) |
Disjunction of two 0-1 ADDs. More... | |
DdNode * | Cudd_addNand (DdManager *dd, DdNode **f, DdNode **g) |
NAND of two 0-1 ADDs. More... | |
DdNode * | Cudd_addNor (DdManager *dd, DdNode **f, DdNode **g) |
NOR of two 0-1 ADDs. More... | |
DdNode * | Cudd_addXor (DdManager *dd, DdNode **f, DdNode **g) |
XOR of two 0-1 ADDs. More... | |
DdNode * | Cudd_addXnor (DdManager *dd, DdNode **f, DdNode **g) |
XNOR of two 0-1 ADDs. More... | |
DdNode * | Cudd_addMonadicApply (DdManager *dd, DD_MAOP op, DdNode *f) |
Applies op to the discriminants of f. More... | |
DdNode * | Cudd_addLog (DdManager *dd, DdNode *f) |
Natural logarithm of an ADD. More... | |
DdNode * | cuddAddApplyRecur (DdManager *dd, DD_AOP op, DdNode *f, DdNode *g) |
Performs the recursive step of Cudd_addApply. More... | |
DdNode * | cuddAddMonadicApplyRecur (DdManager *dd, DD_MAOP op, DdNode *f) |
Performs the recursive step of Cudd_addMonadicApply. More... | |
Apply functions for ADDs and their operators.
Copyright (c) 1995-2015, Regents of the University of Colorado
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
Neither the name of the University of Colorado nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
f if f==g; background if f!=g.
Applies op to the corresponding discriminants of f and g.
dd | manager |
op | operator |
f | first operand |
g | second operand |
Returns plusinfinity if f=g; returns min(f,g) if f!=g.
Integer and floating point division.
Natural logarithm of an ADD.
The discriminants of f must be positive double's.
Integer and floating point max.
Integer and floating point max for Cudd_addApply.
Integer and floating point min.
Integer and floating point min for Cudd_addApply.
Integer and floating point subtraction.
Applies op to the discriminants of f.
NAND of two 0-1 ADDs.
NOR of two 0-1 ADDs.
Returns 1 if f > g and 0 otherwise.
Used in conjunction with Cudd_addApply.
Disjunction of two 0-1 ADDs.
Integer and floating point addition.
This operator sets f to the value of g wherever g != 0.
f if f≥g; 0 if f<g.
Threshold operator for Apply (f if f ≥g; 0 if f<g).
Integer and floating point multiplication.
This function can be used also to take the AND of two 0-1 ADDs.
XNOR of two 0-1 ADDs.
XOR of two 0-1 ADDs.
Performs the recursive step of Cudd_addApply.
Performs the recursive step of Cudd_addMonadicApply.