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::AlpRDVectorState< T > Struct Template Reference

Public Types

using EXACT_TYPE = typename FloatingToExact<T>::TYPE

Public Member Functions

void Reset ()
template<bool SKIP = false>
void Scan (uint8_t *dest, idx_t count)
template<bool SKIP>
void LoadValues (EXACT_TYPE *values_buffer, idx_t count)

Public Attributes

idx_t index
uint8_t left_encoded [AlpRDConstants::ALP_VECTOR_SIZE *8]
uint8_t right_encoded [AlpRDConstants::ALP_VECTOR_SIZE *8]
EXACT_TYPE decoded_values [AlpRDConstants::ALP_VECTOR_SIZE]
uint16_t exceptions [AlpRDConstants::ALP_VECTOR_SIZE]
uint16_t exceptions_positions [AlpRDConstants::ALP_VECTOR_SIZE]
uint16_t exceptions_count
uint8_t right_bit_width
uint8_t left_bit_width
uint16_t left_parts_dict [AlpRDConstants::MAX_DICTIONARY_SIZE]

Member Function Documentation

◆ Reset()

template<class T>
void duckdb::AlpRDVectorState< T >::Reset ( )
inline
394666 {
394667 index = 0;
394668 }

◆ Scan()

template<class T>
template<bool SKIP = false>
void duckdb::AlpRDVectorState< T >::Scan ( uint8_t * dest,
idx_t count )
inline
394672 {
394673 if (!SKIP) {
394674 memcpy(dest, (void *)(decoded_values + index), sizeof(T) * count);
394675 }
394676 index += count;
394677 }
Definition duckdb.cpp:394662

◆ LoadValues()

template<class T>
template<bool SKIP>
void duckdb::AlpRDVectorState< T >::LoadValues ( EXACT_TYPE * values_buffer,
idx_t count )
inline
394680 {
394681 if (SKIP) {
394682 return;
394683 }
394684 values_buffer[0] = (EXACT_TYPE)0;
394685 alp::AlpRDDecompression<T>::Decompress(left_encoded, right_encoded, left_parts_dict, values_buffer, count,
394686 exceptions_count, exceptions, exceptions_positions, left_bit_width,
394687 right_bit_width);
394688 }

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