cudd
3.0.0
The University of Colorado Decision Diagram Package
|
Translation from BDD to ADD and vice versa and transfer between different managers. More...
Functions | |
DdNode * | Cudd_addBddThreshold (DdManager *dd, DdNode *f, CUDD_VALUE_TYPE value) |
Converts an ADD to a BDD. More... | |
DdNode * | Cudd_addBddStrictThreshold (DdManager *dd, DdNode *f, CUDD_VALUE_TYPE value) |
Converts an ADD to a BDD. More... | |
DdNode * | Cudd_addBddInterval (DdManager *dd, DdNode *f, CUDD_VALUE_TYPE lower, CUDD_VALUE_TYPE upper) |
Converts an ADD to a BDD. More... | |
DdNode * | Cudd_addBddIthBit (DdManager *dd, DdNode *f, int bit) |
Converts an ADD to a BDD by extracting the i-th bit from the leaves. More... | |
DdNode * | Cudd_BddToAdd (DdManager *dd, DdNode *B) |
Converts a BDD to a 0-1 ADD. More... | |
DdNode * | Cudd_addBddPattern (DdManager *dd, DdNode *f) |
Converts an ADD to a BDD. More... | |
DdNode * | Cudd_bddTransfer (DdManager *ddSource, DdManager *ddDestination, DdNode *f) |
Convert a BDD from a manager to another one. More... | |
DdNode * | cuddBddTransfer (DdManager *ddS, DdManager *ddD, DdNode *f) |
Convert a BDD from a manager to another one. More... | |
DdNode * | cuddAddBddDoPattern (DdManager *dd, DdNode *f) |
Performs the recursive step for Cudd_addBddPattern. More... | |
static DdNode * | addBddDoThreshold (DdManager *dd, DdNode *f, DdNode *val) |
Performs the recursive step for Cudd_addBddThreshold. More... | |
static DdNode * | addBddDoStrictThreshold (DdManager *dd, DdNode *f, DdNode *val) |
Performs the recursive step for Cudd_addBddStrictThreshold. More... | |
static DdNode * | addBddDoInterval (DdManager *dd, DdNode *f, DdNode *l, DdNode *u) |
Performs the recursive step for Cudd_addBddInterval. More... | |
static DdNode * | addBddDoIthBit (DdManager *dd, DdNode *f, DdNode *index) |
Performs the recursive step for Cudd_addBddIthBit. More... | |
static DdNode * | ddBddToAddRecur (DdManager *dd, DdNode *B) |
Performs the recursive step for Cudd_BddToAdd. More... | |
static DdNode * | cuddBddTransferRecur (DdManager *ddS, DdManager *ddD, DdNode *f, st_table *table) |
Performs the recursive step of Cudd_bddTransfer. More... | |
Translation from BDD to ADD and vice versa and transfer between different managers.
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.
Performs the recursive step for Cudd_addBddInterval.
Performs the recursive step for Cudd_addBddIthBit.
Performs the recursive step for Cudd_addBddStrictThreshold.
Performs the recursive step for Cudd_addBddThreshold.
DdNode* Cudd_addBddInterval | ( | DdManager * | dd, |
DdNode * | f, | ||
CUDD_VALUE_TYPE | lower, | ||
CUDD_VALUE_TYPE | upper | ||
) |
Converts an ADD to a BDD.
Replaces all discriminants greater than or equal to lower and less than or equal to upper with 1, and all other discriminants with 0.
Converts an ADD to a BDD by extracting the i-th bit from the leaves.
Converts an ADD to a BDD by replacing all discriminants whose i-th bit is equal to 1 with 1, and all other discriminants with 0. The i-th bit refers to the integer representation of the leaf value. If the value has a fractional part, it is ignored. Repeated calls to this procedure allow one to transform an integer-valued ADD into an array of BDDs, one for each bit of the leaf values.
Converts an ADD to a BDD.
Replaces all discriminants different from 0 with 1.
DdNode* Cudd_addBddStrictThreshold | ( | DdManager * | dd, |
DdNode * | f, | ||
CUDD_VALUE_TYPE | value | ||
) |
Converts an ADD to a BDD.
Replaces all discriminants STRICTLY greater than value with 1, and all other discriminants with 0.
DdNode* Cudd_addBddThreshold | ( | DdManager * | dd, |
DdNode * | f, | ||
CUDD_VALUE_TYPE | value | ||
) |
Converts an ADD to a BDD.
Replaces all discriminants greater than or equal to value with 1, and all other discriminants with 0.
Converts a BDD to a 0-1 ADD.
Convert a BDD from a manager to another one.
The orders of the variables in the two managers may be different.
Performs the recursive step for Cudd_addBddPattern.
Convert a BDD from a manager to another one.
|
static |
Performs the recursive step of Cudd_bddTransfer.