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::ExecutionBudget Class Reference

Public Member Functions

 ExecutionBudget (idx_t maximum)
bool Next ()
bool IsDepleted () const

Private Attributes

idx_t processed
idx_t maximum_to_process

Constructor & Destructor Documentation

◆ ExecutionBudget()

duckdb::ExecutionBudget::ExecutionBudget ( idx_t maximum)
inlineexplicit
328190 : processed(0), maximum_to_process(maximum) {
328191 }

Member Function Documentation

◆ Next()

bool duckdb::ExecutionBudget::Next ( )
inline
328194 {
328195 if (IsDepleted()) {
328196 return false;
328197 }
328198 processed++;
328199 return true;
328200 }

◆ IsDepleted()

bool duckdb::ExecutionBudget::IsDepleted ( ) const
inline
328201 {
328202 return processed >= maximum_to_process;
328203 }

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