![]() |
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 | AtomicCounters = vector<std::atomic<idx_t>> |
Public Member Functions | |
| WindowSegmentTreeGlobalState (ClientContext &context, const WindowSegmentTree &aggregator, idx_t group_count) | |
| Public Member Functions inherited from duckdb::WindowAggregatorGlobalState | |
| WindowAggregatorGlobalState (ClientContext &client, const WindowAggregator &aggregator_p, idx_t group_count) | |
| Public Member Functions inherited from duckdb::GlobalSinkState | |
| template<class TARGET> | |
| TARGET & | Cast () |
| template<class TARGET> | |
| const TARGET & | Cast () const |
| virtual idx_t | MaxThreads (idx_t source_max_threads) |
| Public Member Functions inherited from duckdb::StateWithBlockableTasks | |
| unique_lock< mutex > | Lock () |
| void | PreventBlocking (const unique_lock< mutex > &guard) |
| bool | BlockTask (const unique_lock< mutex > &guard, const InterruptState &interrupt_state) |
| Add a task to 'blocked_tasks' before returning SourceResultType::BLOCKED (must hold the lock). | |
| bool | CanBlock (const unique_lock< mutex > &guard) const |
| bool | UnblockTasks (const unique_lock< mutex > &guard) |
| Unblock all tasks (must hold the lock). | |
| SinkResultType | BlockSink (const unique_lock< mutex > &guard, const InterruptState &interrupt_state) |
| SourceResultType | BlockSource (const unique_lock< mutex > &guard, const InterruptState &interrupt_state) |
| void | VerifyLock (const unique_lock< mutex > &guard) const |
Public Attributes | |
| const WindowSegmentTree & | tree |
| The owning aggregator. | |
| WindowAggregateStates | levels_flat_native |
| The actual window segment tree: an array of aggregate states that represent all the intermediate nodes. | |
| vector< idx_t > | levels_flat_start |
| For each level, the starting location in the levels_flat_native array. | |
| std::atomic< idx_t > | build_level |
| The level being built (read). | |
| unique_ptr< AtomicCounters > | build_started |
| The number of entries started so far at each level. | |
| unique_ptr< AtomicCounters > | build_completed |
| The number of entries completed so far at each level. | |
| vector< unique_ptr< ArenaAllocator > > | tree_allocators |
| Public Attributes inherited from duckdb::WindowAggregatorGlobalState | |
| ClientContext & | client |
| The client we are in. | |
| ArenaAllocator | allocator |
| Global allocator. | |
| const WindowAggregator & | aggregator |
| The aggregator data. | |
| const AggregateObject | aggr |
| The aggregate function. | |
| ValidityArray | filter_mask |
| The filtered rows in inputs. | |
| mutex | lock |
| Lock for single threading. | |
| std::atomic< idx_t > | locals |
| Count of local tasks. | |
| std::atomic< idx_t > | finalized |
| Number of finalised states. | |
| Public Attributes inherited from duckdb::GlobalSinkState | |
| SinkFinalizeType | state |
Static Public Attributes | |
| static constexpr idx_t | TREE_FANOUT = 16 |
| duckdb::WindowSegmentTreeGlobalState::WindowSegmentTreeGlobalState | ( | ClientContext & | context, |
| const WindowSegmentTree & | aggregator, | ||
| idx_t | group_count ) |
| vector<unique_ptr<ArenaAllocator> > duckdb::WindowSegmentTreeGlobalState::tree_allocators |
The tree allocators. We need to hold onto them for the tree lifetime, not the lifetime of the local state that constructed part of the tree