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

Public Member Functions

bool operator() (int a, int b) const
 

Detailed Description

Definition at line 262 of file cadical_checker.cpp.

Member Function Documentation

◆ operator()()

bool CaDiCaL::lit_smaller::operator() ( int a,
int b ) const
inline

Definition at line 263 of file cadical_checker.cpp.

263 {
264 int c = abs (a), d = abs (b);
265 if (c < d)
266 return true;
267 if (c > d)
268 return false;
269 return a < b;
270 }

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