summaryrefslogtreecommitdiff
path: root/src/prop/cryptominisat/Solver/SolverConf.cpp
diff options
context:
space:
mode:
authorDejan Jovanović <dejan.jovanovic@gmail.com>2012-03-29 03:08:05 +0000
committerDejan Jovanović <dejan.jovanovic@gmail.com>2012-03-29 03:08:05 +0000
commit6ba22cdd0e38f9811daefd2aee8218b8b8cf9e0e (patch)
tree435b1c90d00fd4f6cd05e29ebbdf8e735d8aa68e /src/prop/cryptominisat/Solver/SolverConf.cpp
parent6e5f551507a2a9af33e7b56107471a096a495862 (diff)
bringing cryptominisat into the main branch
Diffstat (limited to 'src/prop/cryptominisat/Solver/SolverConf.cpp')
-rw-r--r--src/prop/cryptominisat/Solver/SolverConf.cpp91
1 files changed, 91 insertions, 0 deletions
diff --git a/src/prop/cryptominisat/Solver/SolverConf.cpp b/src/prop/cryptominisat/Solver/SolverConf.cpp
new file mode 100644
index 000000000..e7a5cfafa
--- /dev/null
+++ b/src/prop/cryptominisat/Solver/SolverConf.cpp
@@ -0,0 +1,91 @@
+/*****************************************************************************
+CryptoMiniSat -- Copyright (c) 2009 Mate Soos
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+******************************************************************************/
+
+#include "SolverConf.h"
+#include <limits>
+
+using namespace CMSat;
+
+SolverConf::SolverConf() :
+ random_var_freq(0.001)
+ , clause_decay (1 / 0.999)
+ , restart_first(100)
+ , restart_inc(1.5)
+ , learntsize_factor((double)1/(double)3)
+
+ , expensive_ccmin (true)
+ , polarity_mode (polarity_auto)
+ , verbosity (0)
+ , restrictPickBranch(0)
+
+ //Simplification
+ , simpBurstSConf(NUM_CONFL_BURST_SEARCH)
+ , simpStartMult(SIMPLIFY_MULTIPLIER)
+ , simpStartMMult(SIMPLIFY_MULTIPLIER_MULTIPLIER)
+
+ , doPerformPreSimp (true)
+ , failedLitMultiplier(2.0)
+
+ //optimisations to do
+ , doFindXors (true)
+ , doFindEqLits (true)
+ , doRegFindEqLits (true)
+ , doReplace (true)
+ , doConglXors (true)
+ , doHeuleProcess (true)
+ , doSchedSimp (true)
+ , doSatELite (true)
+ , doXorSubsumption (true)
+ , doHyperBinRes (true)
+ , doBlockedClause (false)
+ , doVarElim (true)
+ , doSubsume1 (true)
+ , doClausVivif (true)
+ , doSortWatched (true)
+ , doMinimLearntMore(true)
+ , doMinimLMoreRecur(true)
+ , doFailedLit (true)
+ , doRemUselessBins (true)
+ , doSubsWBins (true)
+ , doSubsWNonExistBins(true)
+ , doRemUselessLBins(true)
+ #ifdef ENABLE_UNWIND_GLUE
+ , doMaxGlueDel (false)
+ #endif //ENABLE_UNWIND_GLUE
+ , doPrintAvgBranch (false)
+ , doCacheOTFSSR (true)
+ , doCacheOTFSSRSet (true)
+ , doExtendedSCC (false)
+ , doCalcReach (true)
+ , doBXor (true)
+ , doOTFSubsume (true)
+ , maxConfl (std::numeric_limits<uint64_t>::max())
+ , isPlain (false)
+
+ , maxRestarts (std::numeric_limits<uint32_t>::max())
+ , needToDumpLearnts(false)
+ , needToDumpOrig (false)
+ , maxDumpLearntsSize(std::numeric_limits<uint32_t>::max())
+ , libraryUsage (true)
+ , greedyUnbound (false)
+ #ifdef ENABLE_UNWIND_GLUE
+ , maxGlue (DEFAULT_MAX_GLUE)
+ #endif //ENABLE_UNWIND_GLUE
+ , fixRestartType (auto_restart)
+ , origSeed(0)
+{
+}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback