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

#include <elim.hpp>

Collaboration diagram for CaDiCaL::elim_more:

Public Member Functions

 elim_more (Internal *i)
 
bool operator() (unsigned a, unsigned b)
 

Public Attributes

Internalinternal
 

Detailed Description

Definition at line 14 of file elim.hpp.

Constructor & Destructor Documentation

◆ elim_more()

CaDiCaL::elim_more::elim_more ( Internal * i)
inline

Definition at line 16 of file elim.hpp.

16: internal (i) {}
Internal * internal
Definition elim.hpp:15

Member Function Documentation

◆ operator()()

bool CaDiCaL::elim_more::operator() ( unsigned a,
unsigned b )

Definition at line 44 of file cadical_elim.cpp.

44 {
45 const auto s = internal->compute_elim_score (a);
46 const auto t = internal->compute_elim_score (b);
47 if (s > t)
48 return true;
49 if (s < t)
50 return false;
51 return a > b;
52}

Member Data Documentation

◆ internal

Internal* CaDiCaL::elim_more::internal

Definition at line 15 of file elim.hpp.


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