Skip to content

Commit 0c15595

Browse files
authored
Merge pull request #415 from HAHHHD/master
add clause pushing with blocking
2 parents 3bd7bac + e20c484 commit 0c15595

File tree

3 files changed

+378
-1
lines changed

3 files changed

+378
-1
lines changed

src/base/abci/abc.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31765,7 +31765,7 @@ int Abc_CommandPdr( Abc_Frame_t * pAbc, int argc, char ** argv )
3176531765
int c;
3176631766
Pdr_ManSetDefaultParams( pPars );
3176731767
Extra_UtilGetoptReset();
31768-
while ( ( c = Extra_UtilGetopt( argc, argv, "MFCDQTHGSLIaxrmuyfqipdegjonctkvwzh" ) ) != EOF )
31768+
while ( ( c = Extra_UtilGetopt( argc, argv, "MFCDQTHGSLIaxrmuyfqipdegjonctkvwzhb" ) ) != EOF )
3176931769
{
3177031770
switch ( c )
3177131771
{
@@ -31952,6 +31952,9 @@ int Abc_CommandPdr( Abc_Frame_t * pAbc, int argc, char ** argv )
3195231952
case 'z':
3195331953
pPars->fNotVerbose ^= 1;
3195431954
break;
31955+
case 'b':
31956+
pPars->fBlocking ^= 1;
31957+
break;
3195531958
case 'h':
3195631959
default:
3195731960
goto usage;
@@ -32030,6 +32033,7 @@ int Abc_CommandPdr( Abc_Frame_t * pAbc, int argc, char ** argv )
3203032033
Abc_Print( -2, "\t-v : toggle printing optimization summary [default = %s]\n", pPars->fVerbose? "yes": "no" );
3203132034
Abc_Print( -2, "\t-w : toggle printing detailed stats default = %s]\n", pPars->fVeryVerbose? "yes": "no" );
3203232035
Abc_Print( -2, "\t-z : toggle suppressing report about solved outputs [default = %s]\n", pPars->fNotVerbose? "yes": "no" );
32036+
Abc_Print( -2, "\t-b : toggle clause pushing with blocking [default = %s]\n", pPars->fBlocking? "yes": "no" );
3203332037
Abc_Print( -2, "\t-h : print the command usage\n\n");
3203432038
Abc_Print( -2, "\t* Implementation of switches -S, -n, and -c is contributed by Zyad Hassan.\n");
3203532039
Abc_Print( -2, "\t The theory and experiments supporting this work can be found in the following paper:\n");

src/proof/pdr/pdr.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ struct Pdr_Par_t_
8484
abctime timeLastSolved; // the time when the last output was solved
8585
Vec_Int_t * vOutMap; // in the multi-output mode, contains status for each PO (0 = sat; 1 = unsat; negative = undecided)
8686
char * pInvFileName; // invariable file name
87+
int fBlocking; // clause pushing with blocking
8788
};
8889

8990
////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)