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::alp::AlpRDCompressionData< T, EMPTY > Class Template Reference

Public Types

using EXACT_TYPE = typename FloatingToExact<T>::TYPE

Public Member Functions

void Reset ()
idx_t RequiredSpace () const

Public Attributes

uint8_t right_bit_width
uint8_t left_bit_width
uint16_t exceptions_count
uint8_t right_parts_encoded [AlpRDConstants::ALP_VECTOR_SIZE *8]
uint8_t left_parts_encoded [AlpRDConstants::ALP_VECTOR_SIZE *8]
uint16_t left_parts_dict [AlpRDConstants::MAX_DICTIONARY_SIZE]
uint16_t exceptions [AlpRDConstants::ALP_VECTOR_SIZE]
uint16_t exceptions_positions [AlpRDConstants::ALP_VECTOR_SIZE]
idx_t left_bit_packed_size
idx_t right_bit_packed_size
unordered_map< uint16_t, uint16_t > left_parts_dict_map
uint8_t actual_dictionary_size

Constructor & Destructor Documentation

◆ AlpRDCompressionData()

template<class T, bool EMPTY>
duckdb::alp::AlpRDCompressionData< T, EMPTY >::AlpRDCompressionData ( )
inline
393957 : right_bit_width(0), left_bit_width(0), exceptions_count(0) {
393958 }

Member Function Documentation

◆ Reset()

template<class T, bool EMPTY>
void duckdb::alp::AlpRDCompressionData< T, EMPTY >::Reset ( )
inline
393960 {
393961 left_bit_packed_size = 0;
393962 right_bit_packed_size = 0;
393963 exceptions_count = 0;
393964 }

◆ RequiredSpace()

template<class T, bool EMPTY>
idx_t duckdb::alp::AlpRDCompressionData< T, EMPTY >::RequiredSpace ( ) const
inline
393980 {
393981 const idx_t required_space = left_bit_packed_size + right_bit_packed_size +
393982 static_cast<idx_t>(exceptions_count) *
393985 return required_space;
393986 }
Definition duckdb.cpp:393953

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