ABC: A System for Sequential Synthesis and Verification
 
Loading...
Searching...
No Matches
Gluco::Lit Struct Reference

#include <SolverTypes.h>

Public Member Functions

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

Public Attributes

int x
 

Friends

Lit mkLit (Var var, bool sign=false)
 

Detailed Description

Definition at line 56 of file SolverTypes.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 62 of file SolverTypes.h.

62{ return x != p.x; }
Cube * p
Definition exorList.c:222

◆ operator<()

bool Gluco::Lit::operator< ( Lit p) const
inline

Definition at line 63 of file SolverTypes.h.

63{ return x < p.x; } // '<' makes p, ~p adjacent in the ordering.

◆ operator==()

bool Gluco::Lit::operator== ( Lit p) const
inline

Definition at line 61 of file SolverTypes.h.

61{ return x == p.x; }

Friends And Related Symbol Documentation

◆ mkLit

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

Definition at line 60 of file SolverTypes.h.

60{ Lit p; p.x = var + var + (int)sign; return p; }
int var(Lit p)
Definition SolverTypes.h:71
bool sign(Lit p)
Definition SolverTypes.h:70

Member Data Documentation

◆ x

int Gluco::Lit::x

Definition at line 57 of file SolverTypes.h.


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