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
pcg_extras::seed_seq_from< RngType > Class Template Reference

Public Member Functions

template<typename... Args>
 seed_seq_from (Args &&... args)
template<typename Iter>
void generate (Iter start, Iter finish)
constexpr size_t size () const

Private Types

typedef uint_least32_t result_type

Private Attributes

RngType rng_

Constructor & Destructor Documentation

◆ seed_seq_from()

template<typename RngType>
template<typename... Args>
pcg_extras::seed_seq_from< RngType >::seed_seq_from ( Args &&... args)
inline
95427 :
95428 rng_(std::forward<Args>(args)...)
95429 {
95430 // Nothing (else) to do...
95431 }
Definition duckdb.cpp:95419

Member Function Documentation

◆ generate()

template<typename RngType>
template<typename Iter>
void pcg_extras::seed_seq_from< RngType >::generate ( Iter start,
Iter finish )
inline
95435 {
95436 for (auto i = start; i != finish; ++i)
95437 *i = result_type(rng_());
95438 }

◆ size()

template<typename RngType>
size_t pcg_extras::seed_seq_from< RngType >::size ( ) const
inlineconstexpr
95441 {
95442 return (sizeof(typename RngType::result_type) > sizeof(result_type)
95443 && RngType::max() > ~size_t(0UL))
95444 ? ~size_t(0UL)
95445 : size_t(RngType::max());
95446 }

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