2
3
4
5
6
18
19
20
21
22
23 using ClausePointer = std::shared_ptr<
Clause>;
24 using ConstClausePointer = std::shared_ptr<
const Clause>;
28
29
35
36
37
38
39 explicit Solver(
unsigned numVariables);
42
43
47
48
49
52
53
54
55
56
60
61
62
66
67
68
69
73
74
75
76
80
81
82
83
87
88
89
90
94
95
96
Clause class with watch literals.
Definition Clause.hpp:36
Structure representing a literal in a CNF-SAT problem.
Definition basic_structures.hpp:56
Main solver class.
Definition Solver.hpp:30
bool satisfied(Literal l) const
Definition Solver.cpp:77
auto rebase() const -> std::vector< Clause >
Definition Solver.cpp:26
bool assign(Literal l)
Definition Solver.cpp:85
TruthValue val(Variable x) const
Definition Solver.cpp:73
bool unitPropagate()
Definition Solver.cpp:89
Solver(unsigned numVariables)
Definition Solver.cpp:11
bool addClause(Clause clause)
Definition Solver.cpp:15
bool falsified(Literal l) const
Definition Solver.cpp:81
Structure representing a binary variable in a CNF-SAT problem.
Definition basic_structures.hpp:29
#define NOT_IMPLEMENTED
Definition exception.hpp:26
Definition basic_structures.cpp:10
TruthValue
Represents a truth value.
Definition basic_structures.hpp:20