CBMC
|
#include <literal.h>
Public Types | |
typedef unsigned | var_not |
Public Member Functions | |
literalt () | |
literalt (var_not v, bool sign) | |
bool | operator== (const literalt other) const |
bool | operator!= (const literalt other) const |
bool | operator< (const literalt other) const |
literalt | operator^ (const bool b) const |
literalt | operator! () const |
literalt | operator^= (const bool a) |
var_not | var_no () const |
bool | sign () const |
void | set (var_not _l) |
void | set (var_not v, bool sign) |
var_not | get () const |
void | invert () |
int | dimacs () const |
void | from_dimacs (int d) |
void | clear () |
void | swap (literalt &x) |
void | make_true () |
void | make_false () |
bool | is_true () const |
bool | is_false () const |
bool | is_constant () const |
Static Public Member Functions | |
static var_not | const_var_no () |
static var_not | unused_var_no () |
Protected Attributes | |
var_not | l |
|
inline |