![]()  | 
  
    SMT-RAT
    24.02
    
   Toolbox for Strategic and Parallel Satisfiability-Modulo-Theories Solving 
   | 
 
Contains comparison operators for samples and associated helpers. More...
Typedefs | |
| using | lt = std::less<> | 
| using | gt = std::greater<> | 
Functions | |
| template<typename It > | |
| auto | get (const It &it, level) | 
| template<typename It > | |
| auto | get (const It &it, size) | 
| template<typename It > | |
| auto | get (const It &it, absvalue) | 
| template<typename It > | |
| auto | get (const It &it, type) | 
| template<typename It , typename tag , typename F > | |
| int | compareCriterion (const It &lhs, const It &rhs, tag t, F &&f) | 
Compares the criterion given by t of two samples lhs and rhs using a comparator f.  More... | |
| template<typename It > | |
| bool | compare (const It &lhs, const It &rhs) | 
| template<typename It , typename tag , typename F , typename... Tail> | |
| bool | compare (const It &lhs, const It &rhs) | 
Contains comparison operators for samples and associated helpers.
The comparators implement a less-than operators and large samples are considered first. Hence if lhs has greater priority than rhs, the result should be false. 
| using smtrat::cad::sample_compare::gt = typedef std::greater<> | 
Definition at line 78 of file SampleComparator.h.
| using smtrat::cad::sample_compare::lt = typedef std::less<> | 
Definition at line 77 of file SampleComparator.h.
| bool smtrat::cad::sample_compare::compare | ( | const It & | lhs, | 
| const It & | rhs | ||
| ) | 
| bool smtrat::cad::sample_compare::compare | ( | const It & | lhs, | 
| const It & | rhs | ||
| ) | 
| int smtrat::cad::sample_compare::compareCriterion | ( | const It & | lhs, | 
| const It & | rhs, | ||
| tag | t, | ||
| F && | f | ||
| ) | 
Compares the criterion given by t of two samples lhs and rhs using a comparator f. 
Returns 0 if the values are the same, -1 if lhs should be used first and 1 if rhs should be used first. 
Definition at line 46 of file SampleComparator.h.


| auto smtrat::cad::sample_compare::get | ( | const It & | it, | 
| absvalue | |||
| ) | 
| auto smtrat::cad::sample_compare::get | ( | const It & | it, | 
| level | |||
| ) | 
| auto smtrat::cad::sample_compare::get | ( | const It & | it, | 
| size | |||
| ) | 
Definition at line 27 of file SampleComparator.h.
| auto smtrat::cad::sample_compare::get | ( | const It & | it, | 
| type | |||
| ) | 
Definition at line 35 of file SampleComparator.h.