cudd  3.0.0
The University of Colorado Decision Diagram Package
Functions
cuddInit.c File Reference

Functions to initialize and shut down the DD manager. More...

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

Functions

DdManagerCudd_Init (unsigned int numVars, unsigned int numVarsZ, unsigned int numSlots, unsigned int cacheSize, size_t maxMemory)
 Creates a new DD manager. More...
 
void Cudd_Quit (DdManager *unique)
 Deletes resources associated with a DD manager. More...
 
int cuddZddInitUniv (DdManager *zdd)
 Initializes the ZDD universe. More...
 
void cuddZddFreeUniv (DdManager *zdd)
 Frees the ZDD universe. More...
 

Detailed Description

Functions to initialize and shut down the DD manager.

Author
Fabio Somenzi

Function Documentation

◆ Cudd_Init()

DdManager* Cudd_Init ( unsigned int  numVars,
unsigned int  numVarsZ,
unsigned int  numSlots,
unsigned int  cacheSize,
size_t  maxMemory 
)

Creates a new DD manager.

Initializes the table, the basic constants and the projection functions. If maxMemory is 0, Cudd_Init decides suitable values for the maximum size of the cache and for the limit for fast unique table growth based on the available memory.

Returns
a pointer to the manager if successful; NULL otherwise.
Side effects None
See also
Cudd_Quit
Parameters
numVarsinitial number of BDD variables (i.e., subtables)
numVarsZinitial number of ZDD variables (i.e., subtables)
numSlotsinitial size of the unique tables
cacheSizeinitial size of the cache
maxMemorytarget maximum memory occupation

◆ Cudd_Quit()

void Cudd_Quit ( DdManager unique)

Deletes resources associated with a DD manager.

Calling Cudd_Quit with a null pointer has no effect.

Side effects None
See also
Cudd_Init
Parameters
uniquepointer to manager

◆ cuddZddFreeUniv()

void cuddZddFreeUniv ( DdManager zdd)

Frees the ZDD universe.

Side effects None
See also
cuddZddInitUniv

◆ cuddZddInitUniv()

int cuddZddInitUniv ( DdManager zdd)

Initializes the ZDD universe.

Returns
1 if successful; 0 otherwise.
Side effects None
See also
cuddZddFreeUniv