CDT++ 1.0.0-rc3
Causal Dynamical Triangulations in C++
Loading...
Searching...
No Matches
cdt::RandomSeed Class Referencefinal

Root entropy value used to reproduce a random run. More...

#include <Random.hpp>

Collaboration diagram for cdt::RandomSeed:

Public Member Functions

constexpr RandomSeed (std::uint64_t const value) noexcept
auto operator== (RandomSeed const &other) const noexcept -> bool=default
constexpr auto value () const noexcept -> std::uint64_t

Detailed Description

Root entropy value used to reproduce a random run.

Definition at line 24 of file Random.hpp.

Constructor & Destructor Documentation

◆ RandomSeed()

cdt::RandomSeed::RandomSeed ( std::uint64_t const value)
inlineexplicitconstexprnoexcept
Parameters
valueRoot entropy value to retain.

Definition at line 31 of file Random.hpp.

References value().

Member Function Documentation

◆ operator==()

auto cdt::RandomSeed::operator== ( RandomSeed const & other) const -> bool=default
nodiscarddefaultnoexcept
Parameters
otherSeed to compare.
Returns
Whether both seeds retain the same value.

◆ value()

auto cdt::RandomSeed::value ( ) const -> std::uint64_t
inlinenodiscardconstexprnoexcept
Returns
The retained root entropy value.

Definition at line 36 of file Random.hpp.

Referenced by RandomSeed(), and cdt::utilities::make_filename().


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