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

Public Member Functions

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

Detailed Description

Definition at line 442 of file cadical_vivify.cpp.

Member Function Documentation

◆ operator()()

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

Definition at line 444 of file cadical_vivify.cpp.

444 {
445
446 const auto eoa = a->end (), eob = b->end ();
447 auto i = a->begin (), j = b->begin ();
448 for (; i != eoa && j != eob; i++, j++)
449 if (*i != *j)
450 return *i < *j;
451
452 return j == eob && i != eoa;
453 }
Here is the call graph for this function:

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