50 for(i=x->
varN;i>1;i--)
59 for(j=x->
varN;j>i;j--)
96 int i, temp=0, grayNumber;
99 grayNumber = i^(i>>1);
108 return (n == 1 || n == 0) ? 1 :
factorial(n - 1) * n;
157 minWord(x, pAux, minimal, nVars);
static void minWord3(word *a, word *b, word *minimal, int nVars)
void Kit_TruthCopy_64bit(word *pOut, word *pIn, int nVars)
static void freeSwapInfoPtr(swapInfo *x)
permInfo * setPermInfoPtr(int var)
void Kit_TruthSwapAdjacentVars_64bit(word *pInOut, int nVars, int iVar)
static void minWord(word *a, word *b, word *minimal, int nVars)
void fillInFlipArray(permInfo *pi)
static int factorial(int n)
void fillInSwapArray(permInfo *pi)
unsigned __int64 word
DECLARATIONS ///.
#define ABC_NAMESPACE_IMPL_END
void Kit_TruthNot_64bit(word *pIn, int nVars)
int oneBitPosition(int x, int size)
#define ABC_NAMESPACE_IMPL_START
static ABC_NAMESPACE_IMPL_START swapInfo * setSwapInfoPtr(int varsN)
void freePermInfoPtr(permInfo *x)
ABC_NAMESPACE_IMPL_START int memCompare(word *x, word *y, int nVars)
void simpleMinimal(word *x, word *pAux, word *minimal, permInfo *pi, int nVars)
void Kit_TruthChangePhase_64bit(word *pInOut, int nVars, int iVar)
int nextSwap(swapInfo *x)