abc-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
lucky.h
Go to the documentation of this file.
1 /**CFile****************************************************************
2 
3  FileName [lucky.h]
4 
5  SystemName [ABC: Logic synthesis and verification system.]
6 
7  PackageName [Semi-canonical form computation package.]
8 
9  Synopsis [External declarations.]
10 
11  Author [Jake]
12 
13  Date [Started - August 2012]
14 
15 ***********************************************************************/
16 
17 #ifndef ABC__bool__lucky__LUCKY_H_
18 #define ABC__bool__lucky__LUCKY_H_
19 
20 
22 
23 typedef struct
24 {
25  int varN;
26  int* swapArray;
27  int swapCtr;
29  int* flipArray;
30  int flipCtr;
31  int totalFlips;
32 }permInfo;
33 
34 extern unsigned Kit_TruthSemiCanonicize_new( unsigned * pInOut, unsigned * pAux, int nVars, char * pCanonPerm );
35 extern unsigned luckyCanonicizer_final_fast( word * pInOut, int nVars, char * pCanonPerm );
36 extern unsigned luckyCanonicizer_final_fast1( word * pInOut, int nVars, char * pCanonPerm );
37 extern void resetPCanonPermArray(char* x, int nVars);
38 extern permInfo* setPermInfoPtr(int var);
39 extern void freePermInfoPtr(permInfo* x);
40 extern void simpleMinimal(word* x, word* pAux,word* minimal, permInfo* pi, int nVars);
41 
43 
44 #endif /* LUCKY_H_ */
unsigned Kit_TruthSemiCanonicize_new(unsigned *pInOut, unsigned *pAux, int nVars, char *pCanonPerm)
Definition: lucky.c:611
int totalSwaps
Definition: lucky.h:28
int var(Lit p)
Definition: SolverTypes.h:62
int totalFlips
Definition: lucky.h:31
int flipCtr
Definition: lucky.h:30
int * flipArray
Definition: lucky.h:29
void resetPCanonPermArray(char *x, int nVars)
Definition: luckyFast6.c:30
unsigned __int64 word
DECLARATIONS ///.
Definition: kitPerm.c:36
int swapCtr
Definition: lucky.h:27
#define ABC_NAMESPACE_HEADER_START
NAMESPACES ///.
Definition: abc_global.h:105
permInfo * setPermInfoPtr(int var)
Definition: luckySimple.c:110
int * swapArray
Definition: lucky.h:26
unsigned luckyCanonicizer_final_fast(word *pInOut, int nVars, char *pCanonPerm)
Definition: luckyFast16.c:818
#define ABC_NAMESPACE_HEADER_END
Definition: abc_global.h:106
void freePermInfoPtr(permInfo *x)
Definition: luckySimple.c:126
int varN
Definition: lucky.h:25
void simpleMinimal(word *x, word *pAux, word *minimal, permInfo *pi, int nVars)
Definition: luckySimple.c:151
unsigned luckyCanonicizer_final_fast1(word *pInOut, int nVars, char *pCanonPerm)
Definition: luckyFast16.c:843
Definition: lucky.h:23