Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
RandomElementMutation Struct Reference

Mutate a random element at a random index. More...

Static Public Member Functions

template<typename T >
static void mutate (std::mt19937_64 &rng, std::vector< T > &vec, std::function< void(T &, std::mt19937_64 &)> mutate_element_function)
 

Detailed Description

Mutate a random element at a random index.

Definition at line 63 of file vector.cpp.

Member Function Documentation

◆ mutate()

template<typename T >
static void RandomElementMutation::mutate ( std::mt19937_64 rng,
std::vector< T > &  vec,
std::function< void(T &, std::mt19937_64 &)>  mutate_element_function 
)
inlinestatic

Definition at line 65 of file vector.cpp.


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