Vulcan
Aerospace Engineering Utilities Built on Janus
Loading...
Searching...
No Matches
Seeding.hpp File Reference

Seed utilities for reproducible random number generation. More...

#include <cstdint>
#include <functional>
#include <initializer_list>
#include <random>
#include <string_view>
Include dependency graph for Seeding.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  vulcan
namespace  vulcan::rng

Functions

uint64_t vulcan::rng::hardware_seed ()
 Generate seed from std::random_device.
std::seed_seq vulcan::rng::create_seed_seq (std::initializer_list< uint32_t > values)
 Create seed sequence from multiple values.
uint64_t vulcan::rng::seed_from_string (std::string_view name)
 Hash-based seed from string.
uint64_t vulcan::rng::stream_seed (uint64_t base_seed, uint64_t stream_index)
 Combine base seed with stream index for parallel streams.
uint64_t vulcan::rng::advance_seed (uint64_t seed, uint64_t n)
 Advance seed to skip N sequences.

Detailed Description

Seed utilities for reproducible random number generation.

Provides utilities for seed management, stream splitting for parallel simulations, and deterministic seed generation from strings.