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

Public Member Functions

bool operator() (const Clause *a, const Clause *b)
 

Detailed Description

Definition at line 473 of file cadical_cover.cpp.

Member Function Documentation

◆ operator()()

bool CaDiCaL::clause_covered_or_smaller::operator() ( const Clause * a,
const Clause * b )
inline

Definition at line 474 of file cadical_cover.cpp.

474 {
475 if (a->covered && !b->covered)
476 return true;
477 if (!a->covered && b->covered)
478 return false;
479 return a->size < b->size;
480 }

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