![]() |
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.
|
#include <duckdb.hpp>
Public Member Functions | |
| void | InsertElement (hash_t h) |
| Algorithm 1. | |
| void | Update (const idx_t &i, const uint8_t &z) |
| uint8_t | GetRegister (const idx_t &i) const |
| idx_t | Count () const |
| void | Merge (const HyperLogLog &other) |
| Algorithm 2. | |
| void | Update (Vector &input, Vector &hashes, idx_t count) |
| Add data to this HLL. | |
| unique_ptr< HyperLogLog > | Copy () const |
| Get copy of the HLL. | |
| void | Serialize (Serializer &serializer) const |
| void | ExtractCounts (uint32_t *c) const |
| Algorithm 4. | |
Static Public Member Functions | |
| static double | GetErrorRate () |
| static unique_ptr< HyperLogLog > | Deserialize (Deserializer &deserializer) |
| static int64_t | EstimateCardinality (uint32_t *c) |
| Algorithm 6. | |
Static Public Attributes | |
| static constexpr idx_t | P = 6 |
| static constexpr idx_t | Q = 64 - P |
| static constexpr idx_t | M = 1 << P |
| static constexpr double | ALPHA = 0.721347520444481703680 |
Private Attributes | |
| uint8_t | k [M] |
Algorithms from "New cardinality estimation algorithms for HyperLogLog sketches" Otmar Ertl, arXiv:1702.01284
|
inline |
Algorithm 1.