ABC: A System for Sequential Synthesis and Verification
 
Loading...
Searching...
No Matches
mvcContain.c File Reference
#include "mvc.h"
Include dependency graph for mvcContain.c:

Go to the source code of this file.

Functions

int Mvc_CoverContain (Mvc_Cover_t *pCover)
 FUNCTION DEFINITIONS ///.
 

Function Documentation

◆ Mvc_CoverContain()

int Mvc_CoverContain ( Mvc_Cover_t * pCover)

FUNCTION DEFINITIONS ///.

Function*************************************************************

Synopsis [Removes the contained cubes.]

Description [Returns 1 if the cover has been changed.]

SideEffects []

SeeAlso []

Definition at line 47 of file mvcContain.c.

48{
49 int nCubes;
50 nCubes = Mvc_CoverReadCubeNum( pCover );
51 if ( nCubes < 2 )
52 return 0;
55 Mvc_CoverRemoveDuplicates( pCover );
56 if ( nCubes > 1 )
57 Mvc_CoverRemoveContained( pCover );
58 return (nCubes != Mvc_CoverReadCubeNum(pCover));
59}
void Mvc_CoverSort(Mvc_Cover_t *pCover, Mvc_Cube_t *pMask, int(*pCompareFunc)(Mvc_Cube_t *, Mvc_Cube_t *, Mvc_Cube_t *))
FuNCTION DEFINITIONS ///.
Definition mvcSort.c:47
int Mvc_CubeCompareSizeAndInt(Mvc_Cube_t *pC1, Mvc_Cube_t *pC2, Mvc_Cube_t *pMask)
Definition mvcCompare.c:91
int Mvc_CoverReadCubeNum(Mvc_Cover_t *pCover)
Definition mvcApi.c:45
int Mvc_CoverSetCubeSizes(Mvc_Cover_t *pCover)
Definition mvcUtils.c:272
Here is the call graph for this function:
Here is the caller graph for this function: