![]() |
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.
|

Public Member Functions | |
| DistinctAggregateCollectionInfo (const vector< unique_ptr< Expression > > &aggregates, vector< idx_t > indices) | |
| Shared information about a collection of distinct aggregates. | |
| const unsafe_vector< idx_t > & | Indices () const |
| bool | AnyDistinct () const |
Static Public Member Functions | |
| static unique_ptr< DistinctAggregateCollectionInfo > | Create (vector< unique_ptr< Expression > > &aggregates) |
Public Attributes | |
| unsafe_vector< idx_t > | indices |
| idx_t | table_count |
| vector< idx_t > | table_indices |
| Occupied tables, not equal to indices if aggregates share input data. | |
| unordered_map< idx_t, idx_t > | table_map |
| This indirection is used to allow two aggregates to share the same input data. | |
| const vector< unique_ptr< Expression > > & | aggregates |
| idx_t | total_child_count |
Private Member Functions | |
| idx_t | CreateTableIndexMap () |
| Returns the amount of tables that are occupied. | |
| duckdb::DistinctAggregateCollectionInfo::DistinctAggregateCollectionInfo | ( | const vector< unique_ptr< Expression > > & | aggregates, |
| vector< idx_t > | indices ) |
Shared information about a collection of distinct aggregates.

|
static |
| const unsafe_vector< idx_t > & duckdb::DistinctAggregateCollectionInfo::Indices | ( | ) | const |
| bool duckdb::DistinctAggregateCollectionInfo::AnyDistinct | ( | ) | const |
|
private |
Returns the amount of tables that are occupied.
Assign the existing table to the aggregate
Create a new table and assign its index to the aggregate
Every distinct aggregate needs to be assigned an index
There can not be more tables than there are distinct aggregates

