CBMC
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
prop_conv.h
Go to the documentation of this file.
1/*******************************************************************\
2
3Module:
4
5Author: Daniel Kroening, kroening@kroening.com
6
7\*******************************************************************/
8
9
10#ifndef CPROVER_SOLVERS_PROP_PROP_CONV_H
11#define CPROVER_SOLVERS_PROP_PROP_CONV_H
12
14
15class literalt;
16class tvt;
17
18// API that provides a "handle" in the form of a literalt
19// for expressions.
20
22{
23public:
24 virtual ~prop_convt() { }
25
27 virtual literalt convert(const exprt &expr) = 0;
28
31 virtual tvt l_get(literalt l) const = 0;
32};
33
34#endif // CPROVER_SOLVERS_PROP_PROP_CONV_H
Base class for all expressions.
Definition expr.h:56
virtual tvt l_get(literalt l) const =0
Return value of literal l from satisfying assignment.
virtual ~prop_convt()
Definition prop_conv.h:24
virtual literalt convert(const exprt &expr)=0
Convert a Boolean expression and return the corresponding literal.
Definition threeval.h:20
Decision procedure with incremental solving with contexts and assumptions.