summaryrefslogtreecommitdiffstats
path: root/src/sat/bmc/bmc.h
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2017-12-28 23:04:24 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2017-12-28 23:04:24 -0800
commit7d7ce3ecd03059602f70f26612aabd4a2ec49422 (patch)
treeb811916386ecfb045cc08f9be78a43a2f0307f30 /src/sat/bmc/bmc.h
parentc3dccf3020e467da9fa62c9f609bce86b55ccd0a (diff)
downloadabc-7d7ce3ecd03059602f70f26612aabd4a2ec49422.tar.gz
abc-7d7ce3ecd03059602f70f26612aabd4a2ec49422.tar.bz2
abc-7d7ce3ecd03059602f70f26612aabd4a2ec49422.zip
New exact synthesis command 'allexact'.
Diffstat (limited to 'src/sat/bmc/bmc.h')
-rw-r--r--src/sat/bmc/bmc.h27
1 files changed, 19 insertions, 8 deletions
diff --git a/src/sat/bmc/bmc.h b/src/sat/bmc/bmc.h
index 5b914741..be06c279 100644
--- a/src/sat/bmc/bmc.h
+++ b/src/sat/bmc/bmc.h
@@ -50,8 +50,13 @@ struct Bmc_EsPar_t_
int nVars;
int nNodes;
int nLutSize;
- int fGlucose;
+ int nMajSupp;
+ int fMajority;
+ int fEnumSols;
int fOnlyAnd;
+ int fGlucose;
+ int fOrderNodes;
+ int fGenAll;
int fFewerVars;
int fVerbose;
char * pTtStr;
@@ -59,13 +64,19 @@ struct Bmc_EsPar_t_
static inline void Bmc_EsParSetDefault( Bmc_EsPar_t * pPars )
{
- pPars->nVars = 5; // when first GC happens (4096) (degree of 2)
- pPars->nNodes = 4; // when each next GC happens (5)
- pPars->nLutSize = 3; // log difference compared to unique table
- pPars->fGlucose = 0; // minimum gain when reodering is not performed
- pPars->fOnlyAnd = 0; // minimum gain when reodering is not performed
- pPars->fFewerVars = 0; // minimum gain when reodering is not performed
- pPars->fVerbose = 1; // verbose output
+ memset( pPars, 0, sizeof(Bmc_EsPar_t) );
+ pPars->nVars = 0;
+ pPars->nNodes = 0;
+ pPars->nLutSize = 2;
+ pPars->nMajSupp = 0;
+ pPars->fMajority = 0;
+ pPars->fEnumSols = 0;
+ pPars->fOnlyAnd = 0;
+ pPars->fGlucose = 0;
+ pPars->fOrderNodes = 0;
+ pPars->fGenAll = 0;
+ pPars->fFewerVars = 0;
+ pPars->fVerbose = 1;
}