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

Public Member Functions

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

Detailed Description

Definition at line 1714 of file cadical_sweep.cpp.

Member Function Documentation

◆ operator()()

bool CaDiCaL::rank_sweep_candidate::operator() ( sweep_candidate a,
sweep_candidate b ) const
inline

Definition at line 1715 of file cadical_sweep.cpp.

1715 {
1716 CADICAL_assert (a.rank && b.rank);
1717 CADICAL_assert (a.idx > 0 && b.idx > 0);
1718 if (a.rank < b.rank)
1719 return true;
1720 if (b.rank < a.rank)
1721 return false;
1722 return a.idx < b.idx;
1723 }
#define CADICAL_assert(ignore)
Definition global.h:14
unsigned rank
Definition sweep.c:1468
unsigned idx
Definition sweep.c:1469

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