ABC: A System for Sequential Synthesis and Verification
 
Loading...
Searching...
No Matches
SolverTypes.h File Reference
#include <assert.h>
#include "sat/bsat2/IntTypes.h"
#include "sat/bsat2/Alg.h"
#include "sat/bsat2/Vec.h"
#include "sat/bsat2/Map.h"
#include "sat/bsat2/Alloc.h"
Include dependency graph for SolverTypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Minisat::Lit
 
class  Minisat::lbool
 
class  Minisat::Clause
 
class  Minisat::ClauseAllocator
 
class  Minisat::OccLists< Idx, Vec, Deleted >
 
class  Minisat::CMap< T >
 

Namespaces

namespace  Minisat
 

Macros

#define var_Undef   (-1)
 
#define l_True   (lbool((uint8_t)0))
 
#define l_False   (lbool((uint8_t)1))
 
#define l_Undef   (lbool((uint8_t)2))
 

Typedefs

typedef int Minisat::Var
 
typedef RegionAllocator< uint32_t >::Ref Minisat::CRef
 

Functions

Lit Minisat::mkLit (Var var, bool sign=false)
 
Lit Minisat::operator~ (Lit p)
 
Lit Minisat::operator^ (Lit p, bool b)
 
bool Minisat::sign (Lit p)
 
int Minisat::var (Lit p)
 
int Minisat::toInt (Var v)
 
int Minisat::toInt (Lit p)
 
Lit Minisat::toLit (int i)
 
int Minisat::toInt (lbool l)
 
lbool Minisat::toLbool (int v)
 

Variables

const Lit Minisat::lit_Undef = { -2 }
 
const Lit Minisat::lit_Error = { -1 }
 
const CRef Minisat::CRef_Undef = RegionAllocator<uint32_t>::Ref_Undef
 

Macro Definition Documentation

◆ l_False

#define l_False   (lbool((uint8_t)1))

Definition at line 87 of file SolverTypes.h.

◆ l_True

#define l_True   (lbool((uint8_t)0))

Definition at line 86 of file SolverTypes.h.

◆ l_Undef

#define l_Undef   (lbool((uint8_t)2))

Definition at line 88 of file SolverTypes.h.

◆ var_Undef

#define var_Undef   (-1)

Definition at line 45 of file SolverTypes.h.