![]() |
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 Types | |
| using | EXACT_TYPE = typename FloatingToExact<T>::TYPE |
Public Member Functions | |
| AlpCompressionState (ColumnDataCheckpointData &checkpoint_data, AlpAnalyzeState< T > *analyze_state) | |
| idx_t | UsedSpace () const |
| bool | HasEnoughSpace (idx_t vector_size) |
| void | ResetVector () |
| void | CreateEmptySegment () |
| void | CompressVector () |
| void | FlushCompressedVector () |
| void | FlushUncompressedVector () |
| void | FlushSegment () |
| void | Finalize () |
| void | Append (UnifiedVectorFormat &vdata, idx_t count) |
| Public Member Functions inherited from duckdb::CompressionState | |
| CompressionState (const CompressionInfo &info) | |
| template<class TARGET> | |
| TARGET & | Cast () |
| template<class TARGET> | |
| const TARGET & | Cast () const |
Public Attributes | |
| ColumnDataCheckpointData & | checkpoint_data |
| const CompressionFunction & | function |
| unique_ptr< ColumnSegment > | current_segment |
| BufferHandle | handle |
| idx_t | vector_idx = 0 |
| idx_t | nulls_idx = 0 |
| idx_t | vectors_flushed = 0 |
| idx_t | data_bytes_used = 0 |
| data_ptr_t | data_ptr |
| data_ptr_t | metadata_ptr |
| uint32_t | next_vector_byte_index_start = AlpConstants::HEADER_SIZE |
| T | input_vector [AlpConstants::ALP_VECTOR_SIZE] |
| uint16_t | vector_null_positions [AlpConstants::ALP_VECTOR_SIZE] |
| alp::AlpCompressionData< T, false > | compression_data |
| Public Attributes inherited from duckdb::CompressionState | |
| CompressionInfo | info |
|
inline |
Combinations found on the analyze step are needed for compression
|
inline |
|
inline |
If [start of block + used space + required space] is more than whats left (current position of metadata pointer - the size of a new metadata pointer)


|
inline |
|
inline |
|
inline |
Check if the compressed vector fits on current segment
At least there is one valid value in the vector


|
inline |
|
inline |
|
inline |
We compact the block if the space used is less than a threshold


|
inline |
|
inline |
Stages uncompressed input values into fixed-size batches (ALP_VECTOR_SIZE), calling CompressVector() to compress and flush each full batch to the segment. Handles nulls and processes arbitrarily large inputs.
We optimize a loop when there are no null
We resolve null values with a predicated comparison
