|
abc-master
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <assert.h>#include "misc/st/st.h"#include "bdd/cudd/cuddInt.h"Go to the source code of this file.
Data Structures | |
| struct | Vec_Int_t_ |
Macros | |
| #define | TEST_VAR_MAX 10 |
| #define | TEST_SET_MAX 10 |
Typedefs | |
| typedef struct Vec_Int_t_ | Vec_Int_t |
Functions | |
| static Vec_Int_t * | Vec_IntAlloc (int nCap) |
| static void | Vec_IntFree (Vec_Int_t *p) |
| static int * | Vec_IntReleaseArray (Vec_Int_t *p) |
| static int | Vec_IntAddToEntry (Vec_Int_t *p, int i, int Addition) |
| static void | Vec_IntGrow (Vec_Int_t *p, int nCapMin) |
| static int | Vec_IntPop (Vec_Int_t *p) |
| static void | Vec_IntPush (Vec_Int_t *p, int Entry) |
| static void | Vec_IntAppend (Vec_Int_t *vVec1, Vec_Int_t *vVec2) |
| void | Extra_zddTruncate_rec (DdManager *dd, DdNode *zFunc, double *pVarProbs, double ProbLimit, double ProbThis, Vec_Int_t *vSubset, Vec_Int_t *vResult) |
| int * | Extra_zddTruncate (DdManager *dd, DdNode *zFunc, double *pVarProbs, double ProbLimit) |
| DdNode * | Extra_zddVariable (DdManager *dd, int iVar) |
| DdNode * | Extra_zddCreateSubsets (DdManager *dd, int pSubsets[][TEST_VAR_MAX+1], int nSubsets) |
| void | Extra_zddPrintSubsets (int *pSubsets) |
| void | Extra_zddTruncateTest () |
| #define TEST_SET_MAX 10 |
Definition at line 35 of file extraZddTrunc.c.
| #define TEST_VAR_MAX 10 |
CFile****************************************************************
FileName [extraZddTrunc.c]
PackageName [extra]
Synopsis [Procedure to truncate a ZDD using variable probabilities.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 2.0. Started - September 1, 2003.]
Revision [
]
Definition at line 34 of file extraZddTrunc.c.
| typedef struct Vec_Int_t_ Vec_Int_t |
AutomaticStart
Definition at line 66 of file extraZddTrunc.c.
Function********************************************************************
Synopsis [Creates ZDD representing a given set of subsets.]
Description []
SideEffects []
SeeAlso []
Definition at line 241 of file extraZddTrunc.c.
| void Extra_zddPrintSubsets | ( | int * | pSubsets | ) |
Function********************************************************************
Synopsis [Prints a set of subsets represented using as an array.]
Description []
SideEffects []
SeeAlso []
Definition at line 277 of file extraZddTrunc.c.
Definition at line 185 of file extraZddTrunc.c.
| void Extra_zddTruncate_rec | ( | DdManager * | dd, |
| DdNode * | zFunc, | ||
| double * | pVarProbs, | ||
| double | ProbLimit, | ||
| double | ProbThis, | ||
| Vec_Int_t * | vSubset, | ||
| Vec_Int_t * | vResult | ||
| ) |
AutomaticEnd Function********************************************************************
Synopsis [Compute the set of subsets whose probability is more than ProbLimit.]
Description [The resulting array has the following form: The first integer entry is the number of resulting subsets. The following integer entries in the array contain as many subsets. Each subset is an array of integers followed by -1. See how subsets are printed in the included test procedure below.]
SideEffects []
SeeAlso []
Definition at line 155 of file extraZddTrunc.c.
| void Extra_zddTruncateTest | ( | ) |
Function********************************************************************
Synopsis [Testbench for the above truncation procedure.]
Description []
SideEffects []
SeeAlso []
Definition at line 302 of file extraZddTrunc.c.
Function*************************************************************
Synopsis [Creates the combination composed of a single ZDD variable.]
Description []
SideEffects []
SeeAlso []
Definition at line 220 of file extraZddTrunc.c.
|
inlinestatic |
Definition at line 97 of file extraZddTrunc.c.
|
inlinestatic |
Definition at line 73 of file extraZddTrunc.c.
Definition at line 126 of file extraZddTrunc.c.
|
inlinestatic |
Definition at line 84 of file extraZddTrunc.c.
|
inlinestatic |
Definition at line 102 of file extraZddTrunc.c.
|
inlinestatic |
Definition at line 110 of file extraZddTrunc.c.
|
inlinestatic |
Definition at line 115 of file extraZddTrunc.c.
|
inlinestatic |
Definition at line 89 of file extraZddTrunc.c.