blob: 98b8fce4749c8f21bd8bc0f0b1cc762ba1841eb1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/********************* */
/*! \file sat_solver_factory.cpp
** \verbatim
** Original author: Dejan Jovanovic
** Major contributors: Tim King
** Minor contributors (to current version): Morgan Deters, Liana Hadarean
** 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
**
** \brief SAT Solver creation facility.
**
** SAT Solver.
**/
#include "prop/sat_solver_factory.h"
#include "prop/minisat/minisat.h"
#include "prop/bvminisat/bvminisat.h"
namespace CVC4 {
namespace prop {
BVSatSolverInterface* SatSolverFactory::createMinisat(context::Context* mainSatContext, const std::string& name) {
return new BVMinisatSatSolver(mainSatContext, name);
}
DPLLSatSolverInterface* SatSolverFactory::createDPLLMinisat() {
return new MinisatSatSolver();
}
} /* CVC4::prop namespace */
} /* CVC4 namespace */
|