summaryrefslogtreecommitdiffstats
path: root/src/sat/glucose2/AbcGlucose2.cpp
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2022-04-24 09:29:52 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2022-04-24 09:29:52 -0700
commit1f56f20e1bcd7528b526cf6d48776a606edf61fd (patch)
tree0e0869a70ea96b90cd52fc59521bf1d82c4e2abc /src/sat/glucose2/AbcGlucose2.cpp
parent8e13245ed06099734d10942715488ff2dc5b3186 (diff)
downloadabc-1f56f20e1bcd7528b526cf6d48776a606edf61fd.tar.gz
abc-1f56f20e1bcd7528b526cf6d48776a606edf61fd.tar.bz2
abc-1f56f20e1bcd7528b526cf6d48776a606edf61fd.zip
Experiments with SAT sweeping.
Diffstat (limited to 'src/sat/glucose2/AbcGlucose2.cpp')
-rw-r--r--src/sat/glucose2/AbcGlucose2.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sat/glucose2/AbcGlucose2.cpp b/src/sat/glucose2/AbcGlucose2.cpp
index 9a8b97eb..c1d77587 100644
--- a/src/sat/glucose2/AbcGlucose2.cpp
+++ b/src/sat/glucose2/AbcGlucose2.cpp
@@ -1536,6 +1536,12 @@ int Glucose2_SolveAig(Gia_Man_t * p, Glucose2_Pars * pPars)
return (ret == l_True ? 10 : ret == l_False ? 20 : 0);
}
+extern "C" {
+ void glucose2_markapprox( void * pSat, int v0, int v1, int nlim ){
+ ((Gluco2::Solver*) pSat)->markApprox(v0, v1, nlim);
+ }
+};
+
////////////////////////////////////////////////////////////////////////
/// END OF FILE ///
////////////////////////////////////////////////////////////////////////