79static inline int BIT_COUNT(
int w) {
return BitCount[(w)&0xffff] +
BitCount[(w)>>16]; }
81static inline int VarWord(
int element) {
return element>>
LOGBPI; }
82static inline int VarBit(
int element) {
return element&
BPIMASK; }
84static inline float TICKS_TO_SECONDS(
abctime time) {
return (
float)time/(float)CLOCKS_PER_SEC; }
153extern int AllocateCover(
int nCubes,
int nWordsIn,
int nWordsOut );
#define ABC_NAMESPACE_HEADER_END
#define ABC_NAMESPACE_HEADER_START
NAMESPACES ///.
typedefABC_NAMESPACE_IMPL_START struct Vec_Int_t_ Vec_Int_t
DECLARATIONS ///.
int FindDiffVars(int *pDiffVars, Cube *pC1, Cube *pC2)
int AllocateCover(int nCubes, int nWordsIn, int nWordsOut)
CUBE COVER MEMORY MANAGEMENT //.
void PrepareBitSetModule()
FUNCTION DEFINITIONS ///.
int CountLiterals()
FUNCTION DECLARATIONS ///.
int IterativelyApplyExorLink4(char fDistEnable)
int AllocateCubeSets(int nVarsIn, int nVarsOut)
CUBE SET MANIPULATION PROCEDURES ///.
int AllocateQueques(int nPlaces)
int ComputeQCostBits(Cube *p)
int ComputeQCost(Vec_Int_t *vCube)
type
CUBE COVER and CUBE typedefs ///.
void InsertVarsWithoutClearing(Cube *pC, int *pVars, int nVarsIn, int *pVarValues, int Output)
int WriteResultIntoFile(char *pFileName)
int IterativelyApplyExorLink3(char fDistEnable)
int IterativelyApplyExorLink2(char fDistEnable)
FUNCTIONS OF THIS MODULE ///.
int CheckForCloseCubes(Cube *p, int fAddCube)
varvalue
VARVALUE and CUBEDIST enum typedefs ///.
void AddToFreeCubes(Cube *pC)
FREE CUBE LIST MANIPULATION FUNCTIONS ///.