cudd/cuddAddAbs.c File Reference

Quantification functions for ADDs. More...

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

Functions

DdNodeCudd_addExistAbstract (DdManager *manager, DdNode *f, DdNode *cube)
 Existentially Abstracts all the variables in cube from f.
DdNodeCudd_addUnivAbstract (DdManager *manager, DdNode *f, DdNode *cube)
 Universally Abstracts all the variables in cube from f.
DdNodeCudd_addOrAbstract (DdManager *manager, DdNode *f, DdNode *cube)
 Disjunctively abstracts all the variables in cube from the 0-1 ADD f.
DdNodecuddAddExistAbstractRecur (DdManager *manager, DdNode *f, DdNode *cube)
 Performs the recursive step of Cudd_addExistAbstract.
DdNodecuddAddUnivAbstractRecur (DdManager *manager, DdNode *f, DdNode *cube)
 Performs the recursive step of Cudd_addUnivAbstract.
DdNodecuddAddOrAbstractRecur (DdManager *manager, DdNode *f, DdNode *cube)
 Performs the recursive step of Cudd_addOrAbstract.
static int addCheckPositiveCube (DdManager *manager, DdNode *cube)
 Checks whether cube is an ADD representing the product of positive literals.

Detailed Description

Quantification functions for ADDs.

Author:
Fabio Somenzi

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.


Function Documentation

static int addCheckPositiveCube ( DdManager manager,
DdNode cube 
) [static]

Checks whether cube is an ADD representing the product of positive literals.

Returns:
1 in case of success; 0 otherwise.
Side effects
None
DdNode* Cudd_addExistAbstract ( DdManager manager,
DdNode f,
DdNode cube 
)

Existentially Abstracts all the variables in cube from f.

Abstracts all the variables in cube from f by summing over all possible values taken by the variables.

Returns:
the abstracted ADD.
Side effects
None
See also:
Cudd_addUnivAbstract Cudd_bddExistAbstract Cudd_addOrAbstract
DdNode* Cudd_addOrAbstract ( DdManager manager,
DdNode f,
DdNode cube 
)

Disjunctively abstracts all the variables in cube from the 0-1 ADD f.

Abstracts all the variables in cube from the 0-1 ADD f by taking the disjunction over all possible values taken by the variables.

Returns:
the abstracted ADD if successful; NULL otherwise.
Side effects
None
See also:
Cudd_addUnivAbstract Cudd_addExistAbstract
DdNode* Cudd_addUnivAbstract ( DdManager manager,
DdNode f,
DdNode cube 
)

Universally Abstracts all the variables in cube from f.

Abstracts all the variables in cube from f by taking the product over all possible values taken by the variable.

Returns:
the abstracted ADD if successful; NULL otherwise.
Side effects
None
See also:
Cudd_addExistAbstract Cudd_bddUnivAbstract Cudd_addOrAbstract
DdNode* cuddAddExistAbstractRecur ( DdManager manager,
DdNode f,
DdNode cube 
)

Performs the recursive step of Cudd_addExistAbstract.

Returns the ADD obtained by abstracting the variables of cube from f, if successful; NULL otherwise.

Side effects
None
DdNode* cuddAddOrAbstractRecur ( DdManager manager,
DdNode f,
DdNode cube 
)

Performs the recursive step of Cudd_addOrAbstract.

Returns:
the ADD obtained by abstracting the variables of cube from f, if successful; NULL otherwise.
Side effects
None
DdNode* cuddAddUnivAbstractRecur ( DdManager manager,
DdNode f,
DdNode cube 
)

Performs the recursive step of Cudd_addUnivAbstract.

Returns:
the ADD obtained by abstracting the variables of cube from f, if successful; NULL otherwise.
Side effects
None
 All Data Structures Files Functions Variables Typedefs Enumerations Defines

Generated on 31 Dec 2015 for cudd by  doxygen 1.6.1