summaryrefslogtreecommitdiff
path: root/src/prop/bvminisat/bvminisat.h
diff options
context:
space:
mode:
authorDejan Jovanović <dejan.jovanovic@gmail.com>2012-03-26 19:42:25 +0000
committerDejan Jovanović <dejan.jovanovic@gmail.com>2012-03-26 19:42:25 +0000
commit6fdc62f34bb1d04b84dfd628ec16335b8f02385e (patch)
tree44755057990ad99f6f47904a0201d33c9be18c9c /src/prop/bvminisat/bvminisat.h
parent1ed3b1803bd0a25c56a62d290cd5dcb64c5085ce (diff)
Global registry of SAT solvers, where they are registered at compile time. The available SAT solvers can be seen with the --show-sat-solvers option.
Diffstat (limited to 'src/prop/bvminisat/bvminisat.h')
-rw-r--r--src/prop/bvminisat/bvminisat.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/prop/bvminisat/bvminisat.h b/src/prop/bvminisat/bvminisat.h
index 043aa5d24..86fbe4433 100644
--- a/src/prop/bvminisat/bvminisat.h
+++ b/src/prop/bvminisat/bvminisat.h
@@ -19,6 +19,7 @@
#pragma once
#include "prop/sat_solver.h"
+#include "prop/sat_solver_registry.h"
#include "prop/bvminisat/simp/SimpSolver.h"
namespace CVC4 {
@@ -27,8 +28,8 @@ namespace prop {
class MinisatSatSolver: public BVSatSolverInterface {
BVMinisat::SimpSolver* d_minisat;
- MinisatSatSolver();
public:
+ MinisatSatSolver();
~MinisatSatSolver();
void addClause(SatClause& clause, bool removable);
@@ -76,9 +77,10 @@ public:
};
Statistics d_statistics;
- friend class SatSolverFactory;
};
+template class SatSolverConstructor<MinisatSatSolver>;
+
}
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback