![]() |
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 | |
| BlockingSample (int64_t seed=-1) | |
| virtual void | AddToReservoir (DataChunk &input)=0 |
| Add a chunk of data to the sample. | |
| virtual unique_ptr< BlockingSample > | Copy () const =0 |
| virtual void | Finalize ()=0 |
| virtual void | Destroy () |
| virtual unique_ptr< DataChunk > | GetChunk ()=0 |
| Fetches a chunk from the sample. destroy = true should only be used when querying from a sample defined in a query and not a duckdb_table_sample. | |
| virtual void | Serialize (Serializer &serializer) const |
| std::pair< double, idx_t > | PopFromWeightQueue () |
| Helper functions needed to merge two reservoirs while respecting weights of sampled rows. | |
| double | GetMinWeightThreshold () |
| idx_t | GetPriorityQueueSize () |
| template<class TARGET> | |
| TARGET & | Cast () |
| template<class TARGET> | |
| const TARGET & | Cast () const |
Static Public Member Functions | |
| static unique_ptr< BlockingSample > | Deserialize (Deserializer &deserializer) |
Public Attributes | |
| unique_ptr< BaseReservoirSampling > | base_reservoir_sample |
| SampleType | type |
| The sample type. | |
| bool | destroyed |
| has the sample been destroyed due to updates to the referenced table | |
Static Public Attributes | |
| static constexpr const SampleType | TYPE = SampleType::BLOCKING_SAMPLE |
|
inlineexplicit |
|
inlinevirtual |
|
pure virtual |
Add a chunk of data to the sample.
Implemented in duckdb::ReservoirSample, and duckdb::ReservoirSamplePercentage.
|
pure virtual |
Implemented in duckdb::ReservoirSample.
|
virtual |
|
pure virtual |
Fetches a chunk from the sample. destroy = true should only be used when querying from a sample defined in a query and not a duckdb_table_sample.
Implemented in duckdb::ReservoirSample, and duckdb::ReservoirSamplePercentage.
|
virtual |
|
static |
| std::pair< double, idx_t > duckdb::BlockingSample::PopFromWeightQueue | ( | ) |
Helper functions needed to merge two reservoirs while respecting weights of sampled rows.

| double duckdb::BlockingSample::GetMinWeightThreshold | ( | ) |
| idx_t duckdb::BlockingSample::GetPriorityQueueSize | ( | ) |
|
inline |
|
inline |