/********************* */
/*! \file sat_solver_factory.h
** \verbatim
- ** Original author: Dejan Jovanovic
- ** Major contributors: none
- ** Minor contributors (to current version): Liana Hadarean, Morgan Deters
+ ** Top contributors (to current version):
+ ** Mathias Preiner, Liana Hadarean, Aina Niemetz
** This file is part of the CVC4 project.
- ** Copyright (c) 2009-2014 New York University and The University of Iowa
- ** See the file COPYING in the top-level source directory for licensing
- ** information.\endverbatim
+ ** Copyright (c) 2009-2021 by the authors listed in the file AUTHORS
+ ** in the top-level source directory and their institutional affiliations.
+ ** All rights reserved. See the file COPYING in the top-level source
+ ** directory for licensing information.\endverbatim
**
** \brief SAT Solver.
**
** SAT Solver creation facility
**/
-#pragma once
+#include "cvc4_private.h"
-#include "cvc4_public.h"
+#ifndef CVC4__PROP__SAT_SOLVER_FACTORY_H
+#define CVC4__PROP__SAT_SOLVER_FACTORY_H
#include <string>
#include <vector>
+
+#include "context/context.h"
+#include "prop/minisat/minisat.h"
#include "prop/sat_solver.h"
+#include "util/statistics_registry.h"
-namespace CVC4 {
+namespace cvc5 {
namespace prop {
-class SatSolverFactory {
-public:
+class SatSolverFactory
+{
+ public:
+ static BVSatSolverInterface* createMinisat(context::Context* mainSatContext,
+ StatisticsRegistry* registry,
+ const std::string& name = "");
+
+ static MinisatSatSolver* createCDCLTMinisat(StatisticsRegistry* registry);
+
+ static SatSolver* createCryptoMinisat(StatisticsRegistry* registry,
+ const std::string& name = "");
+
+ static SatSolver* createCadical(StatisticsRegistry* registry,
+ const std::string& name = "");
- static BVSatSolverInterface* createMinisat(context::Context* mainSatContext, const std::string& name = "");
- static DPLLSatSolverInterface* createDPLLMinisat();
+ static SatSolver* createKissat(StatisticsRegistry* registry,
+ const std::string& name = "");
+}; /* class SatSolverFactory */
-};/* class SatSolverFactory */
+} // namespace prop
+} // namespace cvc5
-}/* CVC4::prop namespace */
-}/* CVC4 namespace */
+#endif // CVC4__PROP__SAT_SOLVER_FACTORY_H