Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
vector.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <functional>
4
#include <random>
5
#include <vector>
6
7
#include "
barretenberg/avm_fuzzer/mutations/configuration.hpp
"
8
9
template
<
typename
T>
10
void
mutate_vec
(
std::vector<T>
& vec,
11
std::mt19937_64
& rng,
12
std::function<
void
(T&,
std::mt19937_64
&)> mutate_element_function,
13
std::function<T(
std::mt19937_64
&)> generate_random_element_function,
14
const
VecMutationConfig
& config);
WeightedSelectionConfig
Definition
weighted_selection.hpp:8
configuration.hpp
std::get
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition
tuple.hpp:13
mutate_vec
void mutate_vec(std::vector< T > &vec, std::mt19937_64 &rng, std::function< void(T &, std::mt19937_64 &)> mutate_element_function, std::function< T(std::mt19937_64 &)> generate_random_element_function, const VecMutationConfig &config)
Definition
vector.cpp:78
src
barretenberg
avm_fuzzer
mutations
basic_types
vector.hpp
Generated by
1.9.8