abc-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Minisat::Lit Struct Reference

#include <SolverTypes.h>

Public Member Functions

bool operator== (Lit p) const
 
bool operator!= (Lit p) const
 
bool operator< (Lit p) const
 

Data Fields

int x
 

Friends

Lit mkLit (Var var, bool sign=false)
 

Detailed Description

Definition at line 46 of file SolverTypes.h.

Member Function Documentation

bool Minisat::Lit::operator!= ( Lit  p) const
inline

Definition at line 53 of file SolverTypes.h.

53 { return x != p.x; }
static Llb_Mgr_t * p
Definition: llb3Image.c:950
bool Minisat::Lit::operator< ( Lit  p) const
inline

Definition at line 54 of file SolverTypes.h.

54 { return x < p.x; } // '<' makes p, ~p adjacent in the ordering.
static Llb_Mgr_t * p
Definition: llb3Image.c:950
bool Minisat::Lit::operator== ( Lit  p) const
inline

Definition at line 52 of file SolverTypes.h.

52 { return x == p.x; }
static Llb_Mgr_t * p
Definition: llb3Image.c:950

Friends And Related Function Documentation

Lit mkLit ( Var  var,
bool  sign = false 
)
friend

Definition at line 58 of file SolverTypes.h.

58 { Lit p; p.x = var + var + (int)sign; return p; }
static Llb_Mgr_t * p
Definition: llb3Image.c:950
int var(Lit p)
Definition: SolverTypes.h:62
bool sign(Lit p)
Definition: SolverTypes.h:61

Field Documentation

int Minisat::Lit::x

Definition at line 47 of file SolverTypes.h.


The documentation for this struct was generated from the following file: