Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::MergeSortTree< E, O, CMP, F, C >::CompareElements Struct Reference

Public Member Functions

 CompareElements (const CMP &cmp)
 
bool operator() (const RunElement &lhs, const RunElement &rhs)
 

Public Attributes

CMP cmp
 

Constructor & Destructor Documentation

◆ CompareElements()

template<typename E = idx_t, typename O = idx_t, typename CMP = std::less<E>, uint64_t F = 32, uint64_t C = 32>
duckdb::MergeSortTree< E, O, CMP, F, C >::CompareElements::CompareElements ( const CMP cmp)
inlineexplicit
59382 : cmp(cmp) {
59383 }

Member Function Documentation

◆ operator()()

template<typename E = idx_t, typename O = idx_t, typename CMP = std::less<E>, uint64_t F = 32, uint64_t C = 32>
bool duckdb::MergeSortTree< E, O, CMP, F, C >::CompareElements::operator() ( const RunElement lhs,
const RunElement rhs 
)
inline
59385 {
59386 if (cmp(lhs.first, rhs.first)) {
59387 return true;
59388 }
59389 if (cmp(rhs.first, lhs.first)) {
59390 return false;
59391 }
59392 return lhs.second < rhs.second;
59393 }

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