summaryrefslogtreecommitdiff
path: root/src/prop/sat_solver_factory.h
blob: 0b419d545dbc550e0310fa2039f98f1371d2bdce (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
34
35
36
37
38
39
40
41
42
43
44
45
/*********************                                                        */
/*! \file sat_solver_factory.h
 ** \verbatim
 ** Original author: Dejan Jovanovic
 ** Major contributors: none
 ** Minor contributors (to current version): Liana Hadarean, Morgan Deters
 ** 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.
 **
 ** SAT Solver creation facility
 **/

#pragma once

#include "cvc4_public.h"

#include <string>
#include <vector>
#include "prop/sat_solver.h"

namespace CVC4 {
namespace prop {

class SatSolverFactory {
public:

  static BVSatSolverInterface* createMinisat(context::Context* mainSatContext, const std::string& name = "");
  static DPLLSatSolverInterface* createDPLLMinisat();

  static SatSolver* create(const char* id);

  /** Get the solver ids that are available */
  static void getSolverIds(std::vector<std::string>& solvers);

};

}
}



generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback