CBMC
satcheck_zcore.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module:
4 
5 Author: Daniel Kroening, kroening@kroening.com
6 
7 \*******************************************************************/
8 
9 
10 #ifndef CPROVER_SOLVERS_SAT_SATCHECK_ZCORE_H
11 #define CPROVER_SOLVERS_SAT_SATCHECK_ZCORE_H
12 
13 #include <set>
14 
15 #include "dimacs_cnf.h"
16 
18 {
19 public:
21  virtual ~satcheck_zcoret();
22 
23  const std::string solver_text() override;
24  tvt l_get(literalt a) const override;
25 
26  bool is_in_core(literalt l) const
27  {
28  return in_core.find(l.var_no())!=in_core.end();
29  }
30 
31 protected:
32  resultt do_prop_solve() override;
33 
34  std::set<unsigned> in_core;
35 };
36 
37 #endif // CPROVER_SOLVERS_SAT_SATCHECK_ZCORE_H
satcheck_zcoret::is_in_core
bool is_in_core(literalt l) const
Definition: satcheck_zcore.h:26
resultt
resultt
The result of goto verifying.
Definition: properties.h:44
satcheck_zcoret::do_prop_solve
resultt do_prop_solve() override
Definition: satcheck_zcore.cpp:37
literalt::var_no
var_not var_no() const
Definition: literal.h:83
satcheck_zcoret::solver_text
const std::string solver_text() override
Definition: satcheck_zcore.cpp:32
satcheck_zcoret::in_core
std::set< unsigned > in_core
Definition: satcheck_zcore.h:34
satcheck_zcoret::~satcheck_zcoret
virtual ~satcheck_zcoret()
Definition: satcheck_zcore.cpp:22
satcheck_zcoret::l_get
tvt l_get(literalt a) const override
Definition: satcheck_zcore.cpp:26
tvt
Definition: threeval.h:19
satcheck_zcoret::satcheck_zcoret
satcheck_zcoret()
Definition: satcheck_zcore.cpp:18
dimacs_cnf.h
literalt
Definition: literal.h:25
satcheck_zcoret
Definition: satcheck_zcore.h:17
dimacs_cnft
Definition: dimacs_cnf.h:17