cudd
3.0.0
The University of Colorado Decision Diagram Package
|
Cofactoring functions. More...
Functions | |
DdNode * | Cudd_Cofactor (DdManager *dd, DdNode *f, DdNode *g) |
Computes the cofactor of f with respect to g. More... | |
int | Cudd_CheckCube (DdManager *dd, DdNode *g) |
Checks whether g is the BDD of a cube. More... | |
int | Cudd_VarsAreSymmetric (DdManager *dd, DdNode *f, int index1, int index2) |
Checks whether two variables are symmetric in a BDD. More... | |
void | cuddGetBranches (DdNode *g, DdNode **g1, DdNode **g0) |
Computes the children of g. More... | |
DdNode * | cuddCofactorRecur (DdManager *dd, DdNode *f, DdNode *g) |
Performs the recursive step of Cudd_Cofactor. More... | |
static int | ddVarsAreSymmetricBefore (DdManager *dd, DdNode *f, DdNode *var1, DdNode *var2) |
Implements the upper recursive step of Cudd_VarsAreSymmetric(). More... | |
static int | ddVarsAreSymmetricBetween (DdManager *dd, DdNode *f1, DdNode *f0, DdNode *var2) |
Implements the lower recursive step of Cudd_VarsAreSymmetric(). More... | |
Cofactoring functions.
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.
Checks whether g is the BDD of a cube.
The constant 1 is a valid cube, but all other constant functions cause cuddCheckCube to return 0.
Computes the cofactor of f with respect to g.
g must be the BDD or the ADD of a cube.
Performs the recursive step of Cudd_Cofactor.
Computes the children of g.
|
static |
Implements the upper recursive step of Cudd_VarsAreSymmetric().
The assumption is made that the level of index1 is less than the level of index2.
|
static |
Implements the lower recursive step of Cudd_VarsAreSymmetric().